On 05/01/2013 08:01 PM, Andrew Talbot wrote:
Any suggestions any of you have for a Bayes newbie - about what I just asked
or otherwise - would be very much appreciated.
I advocate autolearning as it has always worked fine for me.
Can take a bit longer to see good results but with some tuning I can
sit back and hear it purr and not worry about collecting ham and spam
and training, which under certain circumstances may even be impossible.
Before moving on to Redis, these were my bayes settings
# bayes.cf
use_bayes 1
bayes_auto_learn 1
bayes_auto_expire 0
bayes_learn_to_journal 0
# Dont' want to wait for the deault 200 hams/spams
bayes_min_ham_num 20
bayes_min_spam_num 20
bayes_auto_learn_threshold_nonspam -1.0
bayes_auto_learn_threshold_spam 15.0
# FILE BASED
# mkdir /etc/bayes
bayes_path /etc/mail/spamassassin/bayes/bayes
# Check permsisions/modify if needed
#bayes_file_mode 0666
bayes_expiry_max_db_size 350000
# SDBM is faster than other r/w DBs
bayes_store_module Mail::SpamAssassin::BayesStore::SDBM
# cron weekly
# sa-learn --force-expire