Bayesian horrors

Matt Kettler mkettler at EVI-INC.COM
Wed Dec 10 19:09:23 GMT 2003


At 08:23 AM 12/10/2003, Peter Bates wrote:
>Firstly, is it possible my Bayes DB is corrupt, and if so, what do I
>do?

It's possible.. you can check it by doing a sa-learn -D --rebuild.

If that can't successfully do a rebuild, delete the bayes_* files and start
over.

>Does SA use this 'User State Dir' to look for the Bayes DBs, or is that
>tied to the 'bayes_path' setting in spam.assassin.prefs.conf?

It's tied to bayes_path.

By default, bayes_path is ~/.spamassasssin/bayes.

Thus, on most MailScanner setups, the bayes DB winds up in root's home dir.

You can force it someplace else, just be sure to RTFM about bayes_path..
it's important to know the last part isn't a directory, it's part of a
filename. Thus ~/.spamassassin/bayes causes it to create
~/.spamasassin/bayes_toks, not ~/.spamassassin/bayes/bayes_toks.


>And finally, should I upgrade to SA 2.61 anyway?

If you're using bayes, yes.. the reduced memory footprint during expiry is
VERY helpful at preventing SA from killing a server.



More information about the MailScanner mailing list