Kārlis Repsons wrote:
Hello spam assassins,
The question, which bothers me is about Bayes data size. How much is a typical
size of those data and what mechanisms are there to limit growing of it? Can
mysql be used for storage and would you recommend it (well, maybe it can then
be easier to share Spamassassin knowledge with dspam?)? Thanks...
See the "bayes_expiry_max_db_size" setting:
http://spamassassin.apache.org/full/3.2.x/doc/sa-learn.html#expiration
The default value of 150000 equates to a db size of ~6MB. I've increased
mine to 500000 in local.cf like so:
# default bayes_expiry_max_db_size 150000 (~6MB db size)
bayes_expiry_max_db_size 500000
I have around 460,000 tokens in my db atm, and it's using ~15MB so it's
not huge :)
I'm not using SQL so can't comment on it's usage.