On 12 Jul 2015, at 11:28, James wrote:

The problem is finding out which directory the running spamassassin uses, I can't seen to train the one it expects.

I put this in my /etc/spamassassin/local.cf:
bayes_path /var/spamassassin/bayes_db/bayes
bayes_file_mode 0777

It's heartwarming (in a sense) to see that there are people so confident in the absolute security of their systems that they are happy to let any process on a server write to files that other processes are supposed to trust.

For folks who don't actually have that sort of confidence, it is generally a better approach to figure out the set of users who actually require read and/or write access to the Bayes DB and use ownership, groups, ACLs, su, sudo or whatever you might need to get rid of that third 7.

Reply via email to