Oct 5

SpamAssassin for Exchange

I was looking for a spam filter for my Exchange server. I had great luck with SpamAssassin on another box (just regular SMTP), and luckily I found two great resources today:

  1. How To Use SpamAssassin on Win32: This is a fantastic example of someone documenting something they know how to do, and documenting it well.

    It’s a fantastic body of information, written by someone who has been doing it for a long time. Everything is covered, including odd permutations, bugs, warnings, dependencies, etc.

  2. Exchange SpamAssassin Sink: This event sink fires on every inbound message, writes it to a file, sics SpamAssassin on it, and parses the result. It can just add headers to the message (allowing client filtering), or it can toss it altogether.

I installed this whole solution in about two hours this afternoon, including tuning and fiddling. It’s currently filtering away like crazy — 50% of inbound email is spam right now, and I know I can turn down the threshold quite a bit yet.

On a well-powered Windows Server 2003 machine, it’s taking one second to filter each email. (It’s probably less, but the logs don’t list micro-seconds. Suffice it to say that no email has taken more than one second to process.) Remember, however, that none of the network tests (Razor, Pyzor, etc.) work on Windows, and they’re what tended to add all the processing time.

What’s nice about this setup is that it saves all email in “Ham” and “Spam” folders. While this is a bit of a privacy risk, obviously, it also allows you to save up thousands of good and bad emails then train SpamAsassin’s Bayesian filter on them (it even inclues a BAT file to do that in one click). My understanding is that SpamAssassin gets scary-good when you have a well-trained Bayesian database behind it.


Comments

by Matt Smith,   October 5, 2005 7:50 PM  

I'm going to throw a vote in for spam filtering services. I signed up for SpamStopsHere two years ago and it has been awesome. Sure, it sucks having to pay to deal with junk mail but on the flip side though, I haven't thought about spam in two years. And, I do it for my whole family and now all of them are happy too. I don't have to train anything as their customer base reports spam, it is added to their filters and everyone benefits.

I could go on and on about their product but you should do some research of your own. Or even try their 30 trial.


by Deane,   October 5, 2005 8:10 PM  

I'm sure there are some great services, but how well do they scale, financially speaking? One user is probably cheap, but how about 20? 50? I'm curious.


by Matt Smith,   October 5, 2005 10:40 PM  

Since you asked, here is the SpamStopsHere pricing page.


by Deane,   October 6, 2005 8:02 AM  

I'm trying this out, based on your recommendation. It seems impressive at first glance. The proof, I guess, is in how much spam I get.


by Chris,   October 20, 2005 6:45 AM  

I am very intrested in finding out how your spam looks now that you are testing the spamstopshere recommendation. Please keep us up to date!

-Thanks, Chris


by Deane,   October 20, 2005 8:51 AM  

Read this post about how SpamStopsHere is going:

http://www.gadgetopia.com/post/4465



Add Comment


Want to advertise on this site? Contact FM.
Web Hosting Web hosting, dedicated servers and Web design services
Laser Toner Cartridges UK laser toner, toner cartridges, hp toner, lexmark toner, samsung toner, canon, toner, epson toner, oki toner, kyocera toner, xerox toner, remanufactured toner, compatible toner
Direct TV Deals Free 4 room direct tv deals. no equipment to buy. free fast professional direct tv installation. this is the best direct tv deal available anywhere.
SEO Article Learn from the experts with our SEO article.
rope light Shopping with birddog distributing, inc., gives you access to the lowest prices, the best customer service and the quickest delivery times possible.
Laptop AC Adapter We offer genuine factory direct replacement AC adapters.
Direct TV Best satellite TV deals.
Direct TV Deals Direct TV programming deals are varied and include packages containing from 50 channels up to over 250 channels.
8mm film to DVD Retain family memories with the only frame by frame digital restoration service in the United States for your 8mm film to DVD today
Rubber Stamp Shop for custom self-inking stamps, hand stamps, address stamps, label stamps, check endorsement stamps, check deposit stamps, date stamps, pre inks, pocket stamps, ink and much more!