On 2011-07-29 11:14, monolit939 wrote:
Hello, I have found test which says the change of type of Spamassassin database can increase performance almost three times (from Berkeley DB format to SDBM format). I want to ask you if somebody has some experience with conversion of standard Spamassassin bayes database. I have found just this http://wiki.mailscanner.info/doku.php?id=documentation:anti_spam:spamassassin:bayes:sdbm&rev=1269508492 guide , but it describes solution for mailscanner...
stop spamd sa-learn --backup > /tmp/bayes_export add to local.cf bayes_store_module Mail::SpamAssassin::BayesStore::SDBM sa-learn --restore /tmp/bayes_export test change: spamassassin -D --lint 2>&1 | grep -i bayes if you see no errors restart spamd ls /path/to/bayes shows bayes.mutex bayes_seen.dir bayes_seen.pag bayes_toks.dir bayes_toks.pag h2h