SpamAssassin - bayes: bayes db version 0 is not able to be used, aborting!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I am currently having a problem where my bayes DB appears to be version 0
over and over again.

spamassassin --lint -D 2>&1 | grep bayes

bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line
160.


I have SpamAssassin 3.0.3 installed:

/etc/mail/spamassassin/local.cf contains:
use_bayes 1
bayes_auto_learn 1
bayes_path /etc/mail/spamassassin/bayes

Once an hour I run a shell script against one of my mailboxes (in mdir
format):

for * in file;
do
   sa-learn -C /etc/mail/spamassassin --spam "$file"
done

However this seems to result in a version 0 database.

Running sa-learn --sync will make --lint report a version 3 database is
found (with 0 tokens), but the next time the sa-learn runs it reverts back
to a version 0 database.

Any ideas?

-Mike

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux