Jonathan Nie wrote: > Greetings! > > I got a problem when I try to feed Bayes with large number of emails > (over 1500). It just hang there and I got the the following error > messages from maillog file: > > .....bayes: cannot open bayes databases /spamassassin/bayes_* R/W: lock > failed: File exists > > Does anyone know how to fix it?
SA believes another process is currently writing to the bayes database. This would be quite normal if a bayes expiry run was going on at the time. Wait a while and see if it still happens. If it still fails, shutdown ALL spamassassin operations, and try again. If it *still* fails, manually delete the bayes lock file. (it will be in your bayes directory. I think it's called bayes.mutex)