O'Reilly logo

SpamAssassin by Alistair McDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Training

When using the standard disk-based Bayesian database, SpamAssassin keeps a Bayesian database for each user account it is run under, not for each user it processes email for. The alternative is to use SQL; this is covered in Chapter 14.

Although Bayesian filtering is enabled by default, SpamAssassin will not use the filter until it has learned enough spam and ham emails to be able to make a decision when processing an email. SpamAssassin has an auto-learn facility, which allows emails to be used to train the Bayesian filter automatically. It also has command-line tools to allow a user or system administrator to train the Bayesian filter manually.

To use automatic learning, set the bayes_auto_learn flag to 1. This can be configured site-wide ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required