February 17, 2006

Ditching SpamAssassin, using GMail as a Spam Filter

So I run my own mailserver that serves http://FuguTabetai.com/, http://MangaTranslation.com/, http://SMUGeeks.com/, and http://JevansCeramics.com/. The problem is, even after adding some extra rules to SpamAssassin, it really hasn't done a great job catching the spam, and worse it takes up a lot of RAM and CPU time on my virtual private server. The VPS is from http://RimuHosting.com/, and is really great. Look them up if you are in the market.

Anyway, each email would take about 600 seconds to process. That is a long time, and worse it was really bogging down the other apps on the system, such as this blog, or the forum for MangaTranslation.com.

So what I've done is turn off SpamAssassin, and forwarded the email catch-all for each domain to my GMail account. That has been working very well. Since most of my spam goes to untargetted email addressess, or aliases that I send to the catch-all, GMail catches the spam, and I just have to check my GMail account once in a while to find stuff that got through. Also, I set up some filters on GMail to mark which domain the email came from.

I could take this a step farther, and have GMail forward email that makes it into the in-box back to one of my accounts here. If I did that though, I would need to add a rule to postfix to have it check the header, and deliver any GMail-forwarded mail locally. Right now that doesn't seem like much of a problem, so I'll skip that step.


Provide your email address when commenting and Gravatar will provide general portable avatars, and if you haven't signed up with them, a cute procedural avatar with their implementation of Shamus Young's Wavatars.

Comments have now been turned off for this post