On 07/12/15 17:15, Reindl Harald wrote:

Am 12.07.2015 um 21:40 schrieb Bill Cole:
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

well, when someone switches from start "sa-learn" as root to "suodo sa-learn" after multiple "don't do that as root" it makes no difference...
Actually I never noticed the wide open permissions.
I saw the instructions on http://wiki.apache.org/spamassassin/SiteWideBayesSetup

Reply via email to