Thanks Theo for these usefull answers.

As we're using auto_learn and never use sa-learn by hand, is there a more
particular risk if we simply delete the file ?

Here's the configuration we use about Bayes :

use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1

-----Message d'origine-----
De : Theo Van Dinter [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 12 juin 2007 17:06
À : users@spamassassin.apache.org
Objet : Re: How to decrease the bayes database size

On Tue, Jun 12, 2007 at 10:07:15AM +0200, Stéphane LEPREVOST wrote:
> Thanks for this tip but what about the efficiency of the Bayes 
> Database after this operation ?

The _seen database just tracks which mails have been learned from, and has
no effect on the ratings coming out of the Bayes system.

> Is ther a way to export the real records of the file before deleting 
> it and then re-import them back to it ? Shall we use something similar 
> to check_whitelist and trim_whitelist tools ?

There'd be no point to that, entries are only deleted rarely (whenever you
do a "sa-learn --forget"), otherwise they're just added.

If you're not worried about relearning the same mail, then just delete the
seen DB file.

--
Randomly Selected Tagline:
Last year we drove across the country...  We switched on the driving...
 every half mile.  We had one cassette tape to listen to on the entire trip.
 I don't remember what it was.
                -- Steven Wright


Reply via email to