Massimiliano Marini wrote:
Debian - SA 3.2.4

In my log I'found a lot message like this:

Feb 28 05:42:32 server spamd[9351]: bayes: cannot open bayes
databases /home/spamassassin/.spamassassin/bayes_* R/W: lock failed:
File exists

How can I solve this problem?
If it's sporadic, that's not a problem. SA tried to get a read-write lock on the bayes DB, presumably for autolearning or autoexpiry, but some other SA instance may have had it.

Rather than block your mail queue, SA gave up.

This is only a problem if it happens *every* time SA tries to autolearn, in which case your rights aren't set up to allow writing of the files, only reading.

local.cf
rewrite_header Subject *****SPAM*****
report_safe 0
required_score 4

use_bayes 1
bayes_auto_learn 1
bayes_auto_expire 0
bayes_learn_to_journal 1
bayes_journal_max_size 0

Could (lock failed) be the cause of: X-Spam-Status: No, hits=? required=?
no. That would be caused by a timeout or over-sized message that didn't get scanned.

Reply via email to