On Wed, Sep 19, 2007 at 02:11:19PM -0700, mfahey wrote:
> 
> SpamAssassin-3.2.0
> Freebsd6.2
> 
> The file bayes_seen has grown in size to 256GB!  (274992939008)
> How do I cap the size limit of this file? I want to have it not grow larger
> then say 800mb at the most!

You need to expire old bayes tokens. The limit is set not as a size, but as
a count of tokens. The default is 150,000 tokens iirc, but you can set it
yourself by setting the bayes_expiry_max_db_size to whatever value you
want. Pretty much any number you'd reasonably choose will put you less than
800mb. :)

To make it expire, either set bayes_auto_expire to 1 and let it expire
tokens automatically, or run sa-learn --force-expire and sa-learn --sync.

-- 
Gus

Reply via email to