Bayes Rebuild

Matthew Baker m at WHERES.CO.UK
Fri Apr 2 15:11:02 IST 2004


Hi all,

Just noticed something weird.

Apr  2 13:44:22 mail-gw MailScanner[30199]: Skipping SpamAssassin while
waiting for Bayes database to rebuild

for the last 10 mins in the mail log.

But I have:

Rebuild Bayes Every = 86400
     Wait During Bayes Rebuild = no

and

bayes_auto_expire 0

in spam.assassin.prefs.conf.

My bayes store is not big either (406m total) so god knows why it halted.

Simple reload fixed it.

I'm thinking that taking the "Rebuild Bayes Every" out and replacing
with a cronjob like

0 1 * * * root sa-learn --dbpath=/var/spool/MailScanner/spamassassin/
--force-expire

would prevent it, but I'd like MailScanner to keep doing it.

Cheers,

Matt



More information about the MailScanner mailing list