You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Sizar <si...@poczta.wp.pl> on 2005/01/25 11:34:33 UTC

how to pernamently delete spam messages with spam level over 12?

Hi,
I have two questions, that I couldn't find answer in spamassassin
documentation, FAQ and this group. 

First one:
How to configure spamassassin to pernamently delete all spam messages
that has spam level over for example 12? 

Second one:
The message was marked as a spam by spamassassin and quarantined i
quarantined folder (/var/virusmails). Then manually I have find out,
that it was "false positive". How can I simply deliver this mail to
it's receipent? Do I need to create a new message and send a "false
postive" mail as a attachement? Is there any way to automate this
process?

Ps. Sorry for my english :)
Sizar


Re: autolearning (was: Re: how to pernamently delete spam messages with spam level over 12?)

Posted by jdow <jd...@earthlink.net>.
From: "Rainer Sokoll" <R....@intershop.de>

> On Tue, Jan 25, 2005 at 03:03:16AM -0800, jdow wrote:
> 
> >    to train its Bayes database on spam and ham messages. You can either
> >    tell SpamAssassin to autolearn (which I do not use or recommend) or
> 
> Why can't you recommend sa-autolearn? From my experience (sa with
> autolearning enabled, sitewide installation), autolearning is a very
> good option.

I've watched too many people report messed up Bayes databases with it
try to get help on this list. (If really messed up delete Bayes* and
retrain from cold.) Certainly for a brand new install you do not want
to turn autolearning on until you have a rather good spam detection
capability from manual training and SARE rule sets. Once you see errors
very seldomly autolearn might be handy.

Lore says you must have autoexpire and autolearn turned on to get the
best results. I found that is not true. Much of my Bayes training is
a year old or more at this point. (I've saved all the training messages
so I can retrain if I mess things up somehow. But that's another
recommendation entirely.) I do not expire it. The ham training is close
to immortal anyway. The ham does not change flavors here very much.
The spam changes. For the rare times SpamAssassin Bayes badly misfires
I feed that to an autolearn script along with a ham or two for some
balance. I get a misfire about once or twice a week that is not a
ham from the Linux Kernel Mailing List that triggered so many strange
three letter groups or chickenpox rules that it got tagged spam. They
all come in under 10 so I make sure the score is added to the header,
sort headers by score, and spend a few seconds (rather literally at
that) catching the one or two LKML false alarms. I have enough mail
sorting here for all the mailing lists I am on that it's REALLY easy
to see spams that leak in as hams and use them for training. Although,
I must admit to getting out of practice lately. In the last two weeks
of 700 to 1400 emails a day I've seen two messages I had to do
something about. Neither was a Bayes problem. Both required some
tricky massaging of custom rules. (Hey, I'm fussy. And I found that
some spammer somewhere has a trick for getting around whitelist_from_rcvd
that annoyed me heavily. So I developed a perishable test for this
ebay.com based trick. (It'll work for any well known ISP that always
issues mail from specific addresses. And once someone figures out I
have the rule in there it'll lead to utter failure of the rule so I
am not sharing it until I can make it spoof proof.) But that's a
spam failure rate of maybe 2 in 10,000. I think I can survive that.
(It took a LONG time to get it all tuned to this degree of perfection;
and, it's all tuned for my particular mail load. Loren's tuning is
different.)

{^_^}


autolearning (was: Re: how to pernamently delete spam messages with spam level over 12?)

Posted by Rainer Sokoll <R....@intershop.de>.
On Tue, Jan 25, 2005 at 03:03:16AM -0800, jdow wrote:

>    to train its Bayes database on spam and ham messages. You can either
>    tell SpamAssassin to autolearn (which I do not use or recommend) or

Why can't you recommend sa-autolearn? From my experience (sa with
autolearning enabled, sitewide installation), autolearning is a very
good option.

Rainer

Re: how to pernamently delete spam messages with spam level over 12?

Posted by jdow <jd...@earthlink.net>.
1) Can't be done. SpamAssassin is a ranking tool. It does not delete or
   even reroute messages.
2) Mooted by the fact that SpamAssassin does not do any quarantine. It
   simply and only marks mail with a spam likelihood rating. Now, what
   you seem to be speaking of involves training. SpamAssassin is built
   to train its Bayes database on spam and ham messages. You can either
   tell SpamAssassin to autolearn (which I do not use or recommend) or
   you can tuck mismarked ham and spam into mail folders used for
   training via salearn.

You CAN filter the mail into alternate folders within other tools like
milters, AmaVis, Procmail, and others.

{^_^}
----- Original Message ----- 
From: "Sizar" <si...@poczta.wp.pl>
To: <us...@spamassassin.apache.org>
Sent: 2005 January, 25, Tuesday 02:34
Subject: how to pernamently delete spam messages with spam level over 12?


Hi,
I have two questions, that I couldn't find answer in spamassassin
documentation, FAQ and this group. 

First one:
How to configure spamassassin to pernamently delete all spam messages
that has spam level over for example 12? 

Second one:
The message was marked as a spam by spamassassin and quarantined i
quarantined folder (/var/virusmails). Then manually I have find out,
that it was "false positive". How can I simply deliver this mail to
it's receipent? Do I need to create a new message and send a "false
postive" mail as a attachement? Is there any way to automate this
process?

Ps. Sorry for my english :)
Sizar