Geoff Varney wrote:
> I start spamd with a -u spamd user.
...
> bayes_path /root/.spamassassin

The short answer is, you can tell if bayes is being used because (almost) every 
message will hit a BAYES_XX rule for some value of XX.  The exceptions will be 
messages with blank bodies, or which are unsuitable for bayes-checking for some 
other reason.  But even a Bayes-neutral text should fire BAYES_50.

That said, there are at least two problems with your bayes_path.

First, it ends in a directory name.  Read the documentation for bayes_path to 
understand why this is wrong... it's not really a "path", despite the name.  
It's a path and a filename prefix.  So /root/.spamassassin/bayes is more likely 
to be what you want.

Second, the spamd user likely doesn't have write access to /root/.spamassassin/ 
-- if it does, that's a problem.  Make a directory like 
/etc/mail/spamassassin/bayes/, chown it to the spamd user, and set bayes_path 
to /etc/mail/spamassassin/bayes/bayes (note the double "bayes" there)

-- 
Matthew.van.Eerde (at) hbinc.com               805.964.4554 x902        
Hispanic Business Inc./HireDiversity.com       Software Engineer

Reply via email to