Mailscanner SA Bayes Permissions
Hello everybody !!!
After a complete installation of Postfix + Mailscanner + SA + Mailwatch according to some Howtoforge Tutorials I run into this error:
A Learn: error code 13 returned from sa-learn: bayes: cannot open bayes databases /var/spool/MailScanner/spamassassin/bayes_* R/O: tie failed: Permission denied bayes: cannot open bayes databases /var/spool/MailScanner/spamassassin/bayes_* R/W: tie failed: Permission denied bayes: cannot open bayes databases /var/spool/MailScanner/spamassassin/bayes_* R/W: tie failed: Permission denied bayes: cannot open bayes databases /var/spool/MailScanner/spamassassin/bayes_* R/W: tie failed: Permission denied ERROR: the Bayes learn function returned an error, please re-run with -D for more information Learned tokens from 0 message(s) (1 message(s) examined)
Delete: deleted file /var/spool/MailScanner/quarantine/20090319/spam/9C5428630220.2DC3A
My filesystem permissions regarding this problem are:
[root@prometeu spamassassin]# pwd
/var/spool/MailScanner/spamassassin
[root@prometeu spamassassin]# ls -lah
total 10M
drwxrwsr-x 2 postfix apache 4.0K Mar 19 16:25 .
drwxr-xr-x 5 postfix postfix 4.0K Dec 1 16:11 ..
-rw------- 1 postfix postfix 2.5M Mar 19 16:25 auto-whitelist
-rw------- 1 postfix apache 29K Mar 19 16:25 bayes_journal
-rw-rw---- 1 apache apache 30 Mar 19 16:23 bayes.mutex
-rw-rw---- 1 postfix apache 5.0M Mar 19 16:25 bayes_seen
-rw------- 1 postfix apache 5.0M Mar 19 16:25 bayes_toks
[root@prometeu spamassassin]#
The worst thing is that if I change the permissions according to what it is recommended here (g+rw) after some the permissions change again.
I also tried to edit /etc/MailScanner/spam.assassin.prefs.conf without success.
Anyone knows how to solve this issue ?
I like to train my SA using Bayes.
Thanks,
Klaus
|
Recent comments
4 hours 39 min ago
14 hours 7 min ago
14 hours 57 min ago
18 hours 30 min ago
22 hours 54 min ago
23 hours 16 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 16 hours ago
1 day 17 hours ago