Justice London wrote:
I might be missing something, but I have searched around the web and
several mailing-lists and haven’t found anything definitive on this.
I run a fairly high traffic mail-server. The bayes_toks database fills
up fairly quickly to 80megs (usually it’s starting to do it about once a
day).
From what I can see the database might be trying to auto-expire but
somehow dies while doing so. There are a large number of stalled
lock-files generated and expiry files as well. I’m assuming I could
setup a cron-job to force a (nightly?) expiry via sa-learn, but I would
think spamassassin should be able to handle the auto-expires. Should I
look to decrease the size of the bayes_toks file at which it
auto-expires… anything to modify in the local.cf?
Any suggestions would be helpful.
Justice London
I'm running into this problem too. Mine doesn't fill up very fast, but the
problem appears to be with auto-expire. I don't know if reducing the file
size will help or not, but I doubt it. It appears to me (at this point) to
be happening whenever expiration kicks in. It just started happening again
for me today. The spamd log shows "cannot cannot open bayes databases
/home/vpopmail/.spamassassin/bayes_* R/W: lock failed: File exists", as does
spamassassin -D --lint. I haven't found a way to remove the lock and clean
the database. Don't know if it's possible or not. Might be one reason why
some folks move the bayes database into mysql.
My temporary work-around is:
# qmailctl stop
# mv /home/vpopmail/.spamassassin /home/vpopmail/dot.spamassin.old
# qmailctl start
SA recreates the .spamassassin directory and files automatically.
It'd sure be nice to find a permanent fix to this.
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]