Hello Blake,

Tuesday, October 28, 2003, 7:27:20 PM, you wrote:

BTG> I have two imap folders HAM and SPAM.  SA 2.6 moves incoming spam as it
BTG> finds it into SPAM.  I have a cron job that runs sa-learn ham/spam
BTG> nightly on these two folders.

 
BTG> 2 - I have a ton of emails in SPAM.  Is it safe to delete an email from
BTG> SPAM once sa-learn has been run on it.  Or do I have to keep all of my
BTG> spam email hanging around.

Once sa-learn is run you don't need to keep the file.

I have a "spam" file that I also use for a sa-learn job each
night, and I use a cron job to rotate only one backup copy.
So basically in 2 days the original copy is gone.

The only reason to keep old spam on hand is (a) if you might
need to retrieve it because of false positives, and (b) if
your Bayes database gets corrupted and you want to refeed
the spam. But once Spamassassin has "learned" it, it has
converted the email into tokens for the Bayes database and
the original email is no longer needed.

You DON'T want to refeed sa-learn the same email and you
don't want a file that is being used for sa-learn to grow
too large, for the following reason: If there is a timeout
error, lock file error, or interruption during the sa-learn
process, it can cause the entire Bayes database to become
corrupted. This is unlikely to happen while sa-learn is
working on a small file of fresh spam, as sa-learn will
complete its run in a few seconds. But if the file grows
very large, then the likelihood of something going wrong
while the job is running increases. It is also a waste of
resources to feed sa-learn email it has already seen,
because it can't learn anything more than once anyway.

-Abigail



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to