Trouble with Bayes

Glenn Steen glenn.steen at gmail.com
Wed Aug 30 12:40:38 IST 2006


On 30/08/06, Martin <martin.lyberg at gmail.com> wrote:
> 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
>
Hi Martin,

Might be that you have some further issue "above" what can be seen in
that listing (postfix lacking read privs on a dir further up). Do
su - postfix -s /bin/sh
cd /var/spool/MailScanner/spamassassin
... does that work?

-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list