Bayes not being used

Matt Kettler mkettler at EVI-INC.COM
Fri Jan 23 17:49:09 GMT 2004


At 12:22 PM 1/23/2004, Steve Thomas wrote:
>I created two shared folders for the users to put their spam/ham into and
>every hour, a cron job trains bayes with them and then deletes them. I
>make sure to use the prefs-file= option with sa-learn, pointing it to
>spam.assassin.prefs.conf. If I do a sa-learn --dump magic, I can see that
>over 2700 spams have been learned from and over 500 hams - more than
>enough for SA to start using bayes during processing.
>
>If I run a message through spamassassin from the command line (in debug
>mode, again using the prefs-file option), I can see that it's using bayes,
>so SA is doing what it should be.
>
>MS doesn't seem to use it, however. No BAYES_* tests are showing up in the
>headers of any messages. I've linted the SA config and it's fine, and I've
>restarted MS manually a couple of times.
>
>Any ideas?

What's your bayes_path set to?

It sounds like you're using different bayes DB files.



More information about the MailScanner mailing list