On Tue, 23 Oct 2018, RW wrote:

On Tue, 23 Oct 2018 18:16:51 +0000
Emanuel Gonzalez wrote:

Hello,

I have a problem with the /.spamassassin/bayes.lock

I see this error:

Oct 23 15:12:14 server spamd[18073]: bayes: cannot open bayes
databases /.spamassassin/bayes_* R/W: lock failed: File exists Oct 23
15:12:14 server spamd[18157]: bayes: cannot open bayes
databases /.spamassassin/bayes_* R/W: lock failed: File exists Oct 23
15:12:14 server spamd[18107]: bayes: cannot open bayes
databases /.spamassassin/bayes_* R/W: lock failed: File exists

bayes_expiry_max_db_size 150000
bayes_learn_to_journal 1
bayes_auto_learn 0

you may need to set

bayes_auto_expire 0

and do your expiry from cron using sa-learn

This is best practice, yes.


What are the permissions on the files themselves?

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  No representation without taxation!
-----------------------------------------------------------------------
 572 days since the first commercial re-flight of an orbital booster (SpaceX)

Reply via email to