At 11:45 AM 6/26/2005, Matt Wills wrote:
# Enable Bayes auto-learning
bayes_auto_learn      1
bayes_path            /home/spamd/

That bayes_path is probably NOT what you want. Read the docs carefully. Despite being named "bayes_path" it's really a path AND a partial filename.

try adding "bayes" to the end, that way you'll get /home/spamd/bayes_toks as your bayes db. Currently you'll get /home/spamd/_toks.

bayes_file_mode       0666

Change that to 777. The file_mode is actually a mask, and is used in the creation of temp directories.

Since it's a limiting mask, and is also limited by SA's request of 666 for the files, the end result will be 666 and files and won't get the X bit.

However, directories SA will ask for 777 and will get 777.

using sa-learn --spam etc., Bayes analyzed 270 messages.

I restarted spamd.

Am I mistaken that testing on some of the analyzed messages should result in a Bayes score?

No. You need 200 spam AND 200 ham messages learned before bayes will become active.

Learning 270 spams puts you over the spam minimum, but you need to learn 200 hams as well (or wait for autolearning, and with ham, that's slow)

Be sure to check sa-learn --dump magic to see what your nspam and nham training counts are.





Reply via email to