Payal Rathod wrote:
> #bayes_path /root/.spamassassin/bayes
> use_bayes  1

The path seems wrong to me.
Are you running spamd as it's own user?  If so, that user needs access to the 
bayes files.
The bayes_path setting is somewhat misnamed - /root/.spamassassin/bayes means 
that the path is /root/.spamassassin, and the files in the path begin with 
bayes (/root/.spamassassin/bayes_toks, for example)
The user that spamd runs as needs access to the files marked by bayes_path

Try something like this

mkdir /var/bayes
chmod 777 /var/bayes

in local.cf:
bayes_path /var/bayes/bayes

then restart spamd

This should allow any user to modify the bayes tokens.  If you want to restrict 
it to just spamd, change the permissions accordingly.

I ran into this issue using MIMEDefang (which runs as a "defang" user) not 
being able to read files in root's home directory.

[EMAIL PROTECTED]                      805.964.4554 x902
Hispanic Business Inc./HireDiversity.com         Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"

Reply via email to