I have the following entries in /etc/mail/spamassassin/local.cf:
use_bayes 1
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam -5.5
bayes_auto_learn_threshold_spam 12.0
bayes_path /var/amavis/.spamassassin/bayes
Since I am only using this as a mail gateway, I have no individual user_prefs files, this file controls all. I know bayes is used when scanning emails since it shows up in the headers, and I can manually feed the bayes db with no problem, but auto-learn is not working anymore. When I run spamassassin -D --lint as root, I get the normal stuff except for this:
debug: cannot use bayes on this message; db not initialised yet
debug: bayes: not scoring message, returning 0.5
debug: bayes: 10024 untie-ing
debug: bayes: 10024 untie-ing db_toks
debug: bayes: 10024 untie-ing db_seen
and it does not use bayes. What might be causing this?