Using Bogofilter with Spam Assassin
Posted by Eric Mon, 23 Sep 2002 00:00:00 GMT
For deadly-accurate spam filtering, combine a well-trained bogofilter with SpamAssassin. Here's how.
Add the following lines to your procmailrc file, before you run SpamAssassin:
:0HB
* ? bogofilter
{
:0fw
| formail -I "X-Spam-Bogofilter: yes"
} Add the following lines to your /etc/spamassassin/local.cf
file:
header BOGOFILTER X-Spam-Bogofilter =~ /yes/
describe BOGOFILTER Message has too many bogons.
score BOGOFILTER 5.0 Presto! This plugs almost all the holes in SpamAssassin's defense, and uses SpamAssassin's auto-whitelist (you've got it turned on, right?) to protect against false positives.
