[WBEL-users] Spamassassin Bayes prob.

Conor Wynne weeboy@conorwynne.com
Tue, 05 Oct 2004 09:37:32 +0100


Yesterday, spamassasin was upgraded via yum (WBEL3), and last night the
cron jobs failed :-(

9 4 * * * /usr/bin/sa-learn --ham --mbox  $HOME/mail/HAM; cat /dev/null
> $HOME/mail/HAM
0 4 * * * /usr/bin/sa-learn --spam --mbox $HOME/mail/SPAM; cat /dev/null
> $HOME/mail/INBOX/SPAM

ERROR: the Bayes learn function returned an error, please re-run with -D
for more information
Learned from 0 message(s) (1 message(s) examined).

debug: bayes: DB_File module not installed, cannot use Bayes
debug: Score set 0 chosen.
debug: Initialising learner
debug: Initialising learner
debug: Syncing Bayes journal and expiring old tokens...
debug: bayes: DB_File module not installed, cannot use Bayes
debug: Syncing complete.
debug: Removing Markup
debug: Learning Ham
debug: uri tests: Done uriRE
debug: bayes: DB_File module not installed, cannot use Bayes
Learned from 0 message(s) (1 message(s) examined).
debug: bayes: 18012 untie-ing
ERROR: the Bayes learn function returned an error, please re-run with -D
for more information

So the bayes DB module is now missing? It worked grand up till last
night!

[root@p3000 motocross]# rpm -qa |grep spam
spamass-milter-0.2.0-1.1.el3.dag
spamassassin-2.64-2.1.el3.dag

Anyone else having trouble?

-- 
Conor Wynne
Dublin
Irlande