Bracing against the wind  
www.documentroot.com  

Thursday, August 07, 2008

Integrating SpamAssassin and BestPractical's RT

The filter "Filters::SpamAssassin.pm" that is included with RT doesn't function for a number of reasons, not the least of which is that SpamAssassin doesn't know what a Mime::Entity is (it uses it's own mail format).

At first I wrote 2 versions of the plugin, but then i combined them, seeing as the included one doesn't work at all.

http://www.documentroot.com/SpamAssassin.pm

It uses the "spamd" daemon ... to speed things up which is faster, unless you have Mail::Spamassassin preloaded under mod_perl (assuming you do things that way). If you do have it running that way, you can forget spamd (but isn't it nice you can run your spam checker on another box if you load gets high...).

Of course many people seem to just use fetchmail on some box somewhere, and then rely on that box's builtin mail filtering (can anyone say gmail) for spam. Which works well, but I like the idea of "owning" my mail filter.

Nor all I have to do is add a "spam" status, and some scrips to auto-train spamassasin's bayesian filter on them ... fun.

[View/Post Comments] [Digg] [Del.icio.us] [Stumble]

Home | Email me when this weblog updates: | View Archive

(C) 2002 Erik Aronesty/DocumentRoot.Com. Right to copy, without attribution, is given freely to anyone for any reason.


Listed on BlogShares | Bloghop: the best pretty good | Blogarama | Technorati | Blogwise