Trouble with Bayes
Daniel Maher
daniel.maher at ubisoft.com
Wed Aug 30 14:36:02 IST 2006
Hello,
I had a similar problem quite recently, actually. The issue was that the file permissions didn't match up with "bayes_file_mode" in spamassassin.prefs.conf .
For example, if you have:
bayes_file_mode 0600
Then your "bayes_toks" needs to be "-rw-------" as well. If you don't have "bayes_file_mode" specified, I would suggest specifying it. :)
--
_
°v° Daniel Maher
/(_)\ Administrateur Système Unix
^ ^ Unix System Administrator
Sentio aliquos togatos contra me conspirare.
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Martin
> Sent: August 30, 2006 7:12 AM
> To: mailscanner at lists.mailscanner.info
> Subject: Trouble with Bayes
>
> Hi,
>
> I'm running Mailscanner + spamassassin on Debian. I've noticed the
> following error when running lint:
>
> 20549] dbg: bayes: no dbs present, cannot tie DB R/O:
> /var/spool/MailScanner/spamassassin/bayes_toks
>
> The bayes_toks IS there:
>
> :/var/spool/MailScanner/spamassassin# ls -al
> total 776456
> drwxrwx--- 2 postfix postfix 12288 2006-08-30 13:03 .
> drwxr-xr-x 6 postfix postfix 4096 2006-04-24 17:07 ..
> -rwxrwx--- 1 postfix postfix 671744 2006-08-30 13:03 auto-whitelist
> -rwxrwx--- 1 postfix postfix 303104 2006-08-30 13:03 bayes_seen
> -rwxrwxr-x 1 postfix postfix 2609152 2006-08-30 13:03 bayes_toks
> -rwxrwx--- 1 postfix postfix 2514944 2006-07-21 13:56
> bayes_toks.expire10000
> -rwxrwx--- 1 postfix postfix 2658304 2006-07-25 18:17
> bayes_toks.expire1004
> * snip *
>
> And the following setting in /etc/MailScanner/spam.assassin.prefs.conf:
>
> bayes_path /var/spool/MailScanner/spamassassin/bayes
>
> Any clue what's wrong here?
>
> Thank you.
>
> / Martin
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list