Page 1 of 1

plugin: eval failed: bayes.mutex: Permission denied

Posted: 21 Oct 2014, 21:12
by renatoandrade
Hello guys, I have a problem that has generated an error message in the log /var/log/maillog

plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create lockfile /var/spool/mqueue/.spamassassin/bayes.mutex: Permission denied

anyone out there know how to fix this? I've tried permissions 0777 but did not work.

Re: plugin: eval failed: bayes.mutex: Permission denied

Posted: 21 Oct 2014, 22:08
by Sarah
Make sure the ownership of /var/spool/mqueue/.spamassassin/ and its contents are all mailnull:mail. The permissions of the directory should be 0700 and the files within it should be 0600.

Regards,
Sarah

Re: plugin: eval failed: bayes.mutex: Permission denied

Posted: 18 Jun 2015, 23:35
by gschaefer
Sarah I have the same problem and mine are set correctly. Can you suggest anything else?

root@server2 [~]# ls -la /var/spool/mqueue/.spamassassin/
total 32
drwx------ 2 mailnull mail 4096 Jun 7 04:02 ./
drwxr-x--- 4 mailnull mail 4096 Jun 6 15:59 ../
-rw------- 1 mailnull mail 14 Jun 19 04:02 bayes.mutex
-rw------- 1 mailnull mail 12288 Jun 7 04:02 bayes_seen
-rw------- 1 mailnull mail 12288 Jun 19 04:02 bayes_toks
root@server2 [~]#