On 11/23/2013 11:29 AM, Гуляев Гоша wrote:
Many thanks Benny and AxB ! I change SA to file store
bayes_path = /var/sb/bayes
bayes_file_mode = 0666

and now it works. After checking message from spam it has BAYES_99 header
Thank you a lot!

Good to hear it works.

Note:

Watch for locks if you're using  bayes_auto_expire = 1
(which id default)
If you do see orphan files in /var/sb/bayes, you may need to switch bayes_auto_expire = 0

and run a cron job to tell sa-learn to expire.

also:

bayes_store_module           Mail::SpamAssassin::BayesStore::SDBM

is much faster than standard BDB.

to convert
 dump what you have now with sa-learn
add
bayes_store_module           Mail::SpamAssassin::BayesStore::SDBM
to local.cf
restore bayes with sa-learn.

h2h

Axb


Reply via email to