Noel Rivera (Border Less) wrote:
Hello list I check my current log in /var/log/qmail/spam and I have this warning

@400000004ae86dd92209fb4c [19398] warn: bayes: cannot open bayes databases /home/vpopmail/.spamassassin/bayes_* R/W: lock failed: File exists

@400000004ae86dd9220a12bc [19398] info: spamd: processing message <20091028161939.13cca1dec...@mail.fxe.net> for clamav:89

@400000004ae86ddb32d3b60c [19397] info: spamd: connection from mailserver.mxbyrail.com [127.0.0.1] at port 37783

@400000004ae86de234b6a2f4 [19398] warn: bayes: cannot open bayes databases /home/vpopmail/.spamassassin/bayes_* R/W: lock failed: File exists

@400000004ae86de41bf6032c [19397] warn: bayes: cannot open bayes databases /home/vpopmail/.spamassassin/bayes_* R/W: lock failed: File exists

@400000004ae86de428cbd324 [19397] info: spamd: processing message <20091028161907.3d1f11dec...@mail.fxe.net> for clamav:89

@400000004ae86dec0ddd379c [19397] warn: bayes: cannot open bayes databases /home/vpopmail/.spamassassin/bayes_* R/W: lock failed: File exists

Anybody help me?


Stop qmail
Remove lock file(s) /home/vpopmail/.spamassassin/bayes_lock*
Start qmail

If you have auto_expire turned on (bayes_auto_expire 1) in /etc/mail/spamassassin/local.cf turn it off (bayes_auto_expire 0), and set up a cron job to expire bayes:
#!/bin/sh
sa-learn -u vpopmail --force-expire
chown vpopmail:vchkpw /home/vpopmail/.spamassassin/bayes_toks

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to