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

Disabling Bayesian Filtering

To disable Bayesian filtering, set use_bayes to 0 globally in /etc/mail/spamassassin/local.cf or for each user in ~/.spamassassin/user_prefs:

use bayes 0

In addition to turning off the BAYES_* rules, turn off SpamAssassin's auto-learn feature. This is located in the /usr/share/spamassassin/10_misc.cf file, and can be overridden at the user level in the user_prefs file too:

bayes_auto_learn 0

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