You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Nigel Wilkinson <ni...@waspz.co.uk> on 2005/03/19 00:57:43 UTC

Can I delete spam messages after they have been learned

Hi folks

my spam directory used for bayes learning now holds over 3000 emails. If I 
delete them then next time I run sa-learn will I loose everything 
spamassassin has learnt. Also, same question for ham.

Cheers
Nigel

Re: Can I delete spam messages after they have been learned

Posted by Matt Kettler <mk...@evi-inc.com>.
Nigel Wilkinson wrote:

> Hi folks
>
> my spam directory used for bayes learning now holds over 3000 emails.
> If I delete them then next time I run sa-learn will I loose everything
> spamassassin has learnt. Also, same question for ham. 


You can delete them. Sa-learn stores everything it needs to know about
the message in your bayes_seen and bayes_toks files.

 The only situation where you'd need the files again is if you wanted to
wipe out your bayes database and rebuild it from scratch.


Re: Can I delete spam messages after they have been learned

Posted by Theo Van Dinter <fe...@kluge.net>.
On Fri, Mar 18, 2005 at 11:57:43PM +0000, Nigel Wilkinson wrote:
> my spam directory used for bayes learning now holds over 3000 emails. If I 
> delete them then next time I run sa-learn will I loose everything 
> spamassassin has learnt. Also, same question for ham.

When you sa-learn a message, the appropriate tokens are stored in the
bayes_toks database.  The original message is unnecessary after that
point, unless you wanted to keep spam/ham around in case you wanted to
start over with your database.

-- 
Randomly Generated Tagline:
A person's language is an index of his mind.