Bayes Rebuild

Pete pete at eatathome.com.au
Fri Apr 2 14:22:05 IST 2004


Matthew Baker wrote:

> 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
>
>
>
But if you do it your way, you can still get timeouts if spamassassin is
called and tries to use bayes?, unless you shut down mailscanner, but
leave the MTA running?

What version of mailscanner you running?



More information about the MailScanner mailing list