mbest at pendragon.org
2005-May-16 15:29 UTC
[CentOS] SpamAssassin - bayes: bayes db version 0 is not able to be used, aborting!
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