WordPress SpamAssassin Plugin

Notice: The plugin has been updated since this posting.

I hate spam. I really hate spam. And I hate comment spam on my site. A few of you noticed about 764 of them yesterday morning when you visited here. I thought I was fairly well protected against comment spam, but the spammers are getting smarter. So I decided to raise the stakes a bit. Introducing the WordPress SpamAssassin plugin.

But wait, why bother with yet another anti-spam plugin when there are so many wonderful ones to choose from? And what’s SpamAssassin anyway?

SpamAssassin is a nice program designed for ISP mail servers that immediately rejects incoming spam before it ever gets anywhere near your inbox. However, it also has its own wire protocol, so you can write custom programs to speak to it. And that’s exactly what I did. It’s far from perfect, I’m sure, but I’m also sure it’ll improve given time and feedback.

Your web hosting provider may already be running SpamAssassin for their mail; contact them to find out the hostname for the SpamAssassin server and fill this in to the plugin. It’ll probably be the same as your SMTP server. If you’re self-hosted, you know where your SpamAssassin server is already.

Update 8 Jan 2005: Please download the latest version here.

Update 2 Jan 2005: Fixed issues with PHP on Windows. Also, the plugin now feeds full headers to SpamAssassin.

Known issues (Updated 2 Jan 2005): None at this time.

One thought on “WordPress SpamAssassin Plugin

  • January 9, 2010 at 6:59 pm
    Permalink

    Setting your spam level to 0 with the default rules is insanely aggressive, 3 or 4 is very aggressive.

    Set to 0 you’ll get a lot of false positives in your moderation queue.

Comments are closed.