You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jim Coulter <jc...@carolinatrust.org> on 2004/08/18 17:18:54 UTC

sa-learn working

If I run a message through sa-learn and then run spamassassin -t on the same
message, shouldn't it be recognized as SPAM ?

I ran sa-learn --spam mymessage.imap and then ran spamassassin -t <
mymessage.imap but the filter did not reject the message ?

I am using SA 2.63 with Perl 5.80 on a Red Hat Linux box.  Running spamd.
Using Spamcop URI as well.  All seems to be working well.  Many messages are
correctly identified.  I just can't seem to get sa-learn to work.

Do I have to kill and re-start spamd ?



Thank you,

Jim Coulter
Vice President, Information Technology
Carolina Trust Federal Credit Union
jcoulter@carolinatrust.org
1 888 448 2133 x476


CTFCU Disclaimer: The information contained in this message may be privileged 
and confidential and protected from disclosure. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer. 

Thank you.

Re: sa-learn working

Posted by Matt Kettler <mk...@evi-inc.com>.
At 11:18 AM 8/18/2004, Jim Coulter wrote:
>If I run a message through sa-learn and then run spamassassin -t on the same
>message, shouldn't it be recognized as SPAM ?

If I add a teaspoon of red wine to a 50 gallon barrel of clear water, 
should the resulting liquid be red?

Depends on the contents of your bayes DB.. if that particular spam mail had 
mostly well-recognized HAM tokens with very strong ham scores, a single 
message isn't going to change much.

However, if the spam has mostly unrecognized tokens that didn't exist 
before, a single message training is going to make a dramatic difference.

Remember, bayes is all about statistics and spam probabilities of the words 
and headers that make up a message, it's not about message itself.

You can run the message through spamassassin -tD and see what the bayes 
tokens in it are, and what their probabilities are.