bayes expiry

Desai, Jason jase at SENSIS.COM
Mon Mar 29 17:01:36 IST 2004


Doesn't sa-learn lock the bayes database before using it?  I thought that
spamassassin, even when used via it's API like with MailScanner, would try
to lock the bayes database before using it.  Otherwise, should we also pause
MailScanner when training the bayes database?  Or is this something specific
with the force-expire option?

Jason

-----Original Message-----
From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
Sent: Monday, March 29, 2004 9:55 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: [MAILSCANNER] bayes expiry


Due to your nightly expiry not pausing MailScanner while it does it, your
Bayes files got corrupted.

At 15:43 29/03/2004, you wrote:
>Hi.
>
>Any guesses as to why I would all of a sudden be getting the following
>message when doing nightly expiry after this had been working for weeks?
>
>[root at thumper]# sa-learn -C
>/usr/local/etc/MailScanner/spam.assassin.prefs.conf --force-expire
>Cannot open bayes_path /var/spool/spamassassin/bayes R/O: Inappropriate
>file type or format
>Cannot open bayes_path /var/spool/spamassassin/bayes R/W: Inappropriate
>file type or format
>
>The path is correct, and the files were there. I ended up having to delete
>all the bayes files, and when the command was re-ran it created new files.
>
>Thanks
>
>gib
>
>
>      Gib Gilbertson Jr.
>     Tierramiga Info Systems
>      619-287-8647 Support
>      http://www.tmisnet.com
>      San Diego's "Friendly ISP"

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list