It's always good to train it with something.  It will learn on it's own as 
well.  We do both.
 
BTW, you should turn debugging on for a while to make sure that bayes is 
working correctly.  It was a month before we found out that bayes was trying to 
write to a non-existant folder.
 
We use it site wide and dump it in bayes_path 
/etc/mail/spamassassin/bayes/bayes.  Just make sure you have the correct 
permissions there as well.
 
In our case the script runs as the user filter so the permissions are 
drwx------ on the bayes directory (owner by filter).
 
I know that's more than what you were looking for in this answer but it was 
something that hit us after the fact...
 
BTW, We do a high volume of email and if you leave debugging on make sure you 
have lots of disk space... i.e. turn it off when done. Experience is a Mo Fro :)
 
Gary
 

________________________________

From: Tech [mailto:[EMAIL PROTECTED]
Sent: Thu 6/3/2004 10:45 AM
To: [EMAIL PROTECTED]
Subject: bayes auto_learn 1 in local.cf - still need to run sa-learn --spam?



Hi

If I've specified "auto_learn 1" in my system wide
local.cf file, do I still need run:

sa-learn --spam /path/to/spam/folder
sa-learn --ham /path/to/ham/folder

to train SpamAssassin about spam?

thanks


       
               
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/


Reply via email to