Bayes Rebuild not happening

Eric Dantan Rzewnicki rzewnickie at RFA.ORG
Wed Mar 24 17:01:28 GMT 2004


On Wed, Mar 24, 2004 at 09:02:01AM +0100, John Wilcock wrote:
> On Tue, 23 Mar 2004 15:37:38 -0500, Eric Dantan Rzewnicki wrote:
> > expiry doesn't appear to be happening
> I reported this a little while back - Julian said it was an obscure file
> locking problem but that he had too much on his plate to deal with it
> immediately.
> Have things calmed down at all, Julian?
> [If they have, I'd also be interested in your thoughts on my message
> "Messages with no MailScanner headers at all?" sent to the list on
> 17?March.]

Ok. Thanks. I've gone back to running sa-learn --force-expire from
crontab.

Note for anyone who hasn't been bitten by this yet:
the force-expire rewrites your bayes_toks file with the permissions of
the user it runs as, so I've placed it in /etc/crontab so I can specify
postfix as the user like this:

[when stuff] postfix  sa-learn --force-expire -p /opt/MailScanner/etc/spam.assassin.prefs.conf

At one point I had tried it in root's crontab (i.e. crontab -e) and
found the next morning that MS/SA weren't using bayes because MS runs as
the postfix user here and the bayes_toks file had been rewritten with
root.root as owner.group.

-Eric Rz.



More information about the MailScanner mailing list