cannot scan: /var/lib/MailScanner/bayes_toks

Stephen Swaney steve.swaney at FSL.COM
Sat Jan 10 19:04:30 GMT 2004

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Alex Theodore
> Sent: Saturday, January 10, 2004 12:54 PM
> Subject: cannot scan: /var/lib/MailScanner/bayes_toks
> I'm trying to verify that the bayes filter is working with my MailScanner
> installation.. It seems that it cannot open the database.. is there anyway
> that I can pre-populate this db?
> postfix at queenie:~$ spamassassin -D --lint -C
> /etc/MailScanner/spam.assassin.prefs.conf
> debug: Score set 0 chosen.
> debug: running in taint mode? no
> debug: ignore: using a test message to lint rules
> debug: using "/etc/MailScanner/spam.assassin.prefs.conf" for site rules
> dir
> debug: using "/var/spool/postfix/.spamassassin" for user state dir
> debug: using "/var/spool/postfix/.spamassassin/user_prefs" for user prefs
> file
> debug: bayes: no dbs present, cannot scan: /var/lib/MailScanner/bayes_toks
> debug: Score set 1 chosen.
> debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200
> debug: bayes: 25137 untie-ing
> debug: bayes: 25137 untie-ing db_toks
> [snip...]

You can specify the location of your bayes files in the

        bayes_path /etc/MailScanner/bayes/bayes

Where /etc/MailScanner/bayes is the directory where the files:



Hint: Check the SpamAssassin configuration documentation at:

A lot of very useful information can be found there.

Stephen Swaney
Fortress Systems Ltd.
Steve.Swaney at

More information about the MailScanner mailing list