cannot write to /root/.spamassassin/bayes_journal, Bayes db update ignored: Permission denied
This is right after all the bayes token statements. It suggests it's a problem, but I don't seem to be able to fix it.
My default bayes location is /root/.spamassassin and I've tried making permissions on it wide open (777). The files in it are:
First, I assume you're using a bayes_path statement to force the bayes DB for all users to be in roots homedir.
If so, DO NOT proceed..
In order for your bayes DB to be wide open, ALL users must have r_x access to /root... that's a bad thing that you don't want to give them.
move it to someplace in /var, /etc, /usr/share, or some other directory normal users can safely have read access to the directory.
Also, be sure to set SA's bayes_file_mode to 777 in your local.cf, otherwise SA will just change the permisisons every time it updates the file.