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.
plugin: eval failed: bayes.mutex: Permission denied
-
- Junior Member
- Posts: 8
- Joined: 18 Oct 2014, 15:21
Re: plugin: eval failed: bayes.mutex: Permission denied
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
Regards,
Sarah
Re: plugin: eval failed: bayes.mutex: Permission denied
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 [~]#
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 [~]#