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 ...