Problem with Bayes DB lock files

Matt Kettler mkettler at EVI-INC.COM
Tue Jan 18 16:28:48 GMT 2005


At 08:30 PM 1/17/2005, Chris Lyon wrote:
>Here is an error that I found and it is also below:  bayes: no dbs present,
>
>Here is the dump=magic:
>
>sa-learn --dump=magic -D


If you are using the default mailscanner behavior of forcing the bayes db
to a non-standard location you'll also need to pass sa-learn the --dbpath
option.

Otherwise it's going to look in the current user's (root) home directory
for your bayes db.

Depending on how your bayes_path is set you'll want something like this:

sa-learn --dump magic -D --dbpath /var/spool/spamassassin/

However, from your previous posts it sounds like your bayes_path is
/etc/MailScanner/bayes/bayes so you'd want:

sa-learn --dump magic -D --dbpath /etc/MailScanner/bayes/

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list