Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 19th March 2009, 21:29
klausengelmann klausengelmann is offline
Junior Member
Join Date: Mar 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to klausengelmann Send a message via Skype™ to klausengelmann
Default 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
[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.


Reply With Quote
Sponsored Links


bayes, mailscanner, spamassassin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Verify proper permissions filch General 6 7th February 2009 16:05
suPHP, Joomla! 1.5, file & diretory permissions pjdevries Installation/Configuration 17 19th June 2008 03:58
domain keys with postfix and mailscanner serge005 HOWTO-Related Questions 0 20th April 2008 23:15
Logcheck Permissions Problems Drek Server Operation 1 7th September 2007 16:43
Samba and filesystem permissions Anteaus Server Operation 0 17th July 2007 10:19

All times are GMT +2. The time now is 05:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.