Jake Vickers wrote:
Eric "Shubes" wrote:
I think my problem is spamassassin. I turned it off for a while, and didn't see any problem.

With SA on, I occasionally get

@4000000044d149cb150d9854 [23954] warn: bayes: cannot open bayes databases /home/vpopmail/.spamassassin/bayes_* R/W: lock failed: File exists

and

@4000000044d14d2136c4a334 [23954] warn: bayes: expire_old_tokens: child processing timeout at /usr/bin/spamd line 1086, <GEN12> line 175.

messages in the spam log.

I'm guessing that there might be a problem with the bayes database, so I'd like to clear it out. I ran
# sa-learn --clear
but that didn't seem to help. There are still a bunch of bayes_* files there, and I'm still getting the errors and delays.

What's the best way to wipe out the SA bayes database and start from scratch?
What are the permissions? I've seen these get messed up sometimes; they should be owned by vpopmail:vchkpw The best way to clear them would (at least this worked for me), delete them (or move them), touch the files to recreate, change permissions, then run spamassassin -D --lint.
Hope that helps some.

Just a follow-up for posterity. Everything's working well now.
Removing the bayes database did the trick. SA simply recreated a new (good) one.

This is soooo much nicer. Scans now take <3 sec for the most part, on a puny PII-266! (I'm guessing they'll take slightly longer once the database reestablishes itself)

Thanks again, Jake.

--
-Eric 'shubes'

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to