You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Andreas Schulze <sc...@andreasschulze.de> on 2011/04/04 09:54:40 UTC

"autolearn=ham" was wrong, howto retrain ?

Hello

Im using spamassassin inside amavisd-new to filter mails.

Today I noticed a mail with these headers:
X-Spam-Flag: NO
X-Spam-Score: -0.007
X-Spam-Level:
X-Spam-Status: No, score=-0.007 tagged_above=-999 required=5
        tests=[HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, MTX_NONE=0.001,
        T_RP_MATCHES_RCVD=-0.01] autolearn=ham
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on andreasschulze.de

How can I tell SA this was spam ?
I would try "sa-learn -spam <messagefile>

But does this let SA really forget the "previous state ham" ?


Thanks,
Andreas


Re: "autolearn=ham" was wrong, howto retrain ?

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 04.04.11 10:34, Andreas Schulze wrote:
> > -forget              Forget a message
> 
> I do
>  sa-learn --forget <message>; sa-learn --spam <message>
> right ?

you don't need to forget the message. Learning it again will do change
values properly.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...

Re: "autolearn=ham" was wrong, howto retrain ?

Posted by Andreas Schulze <sc...@andreasschulze.de>.
Hi,


> -forget              Forget a message

I do
 sa-learn --forget <message>; sa-learn --spam <message>
right ?


-- 
Viele Grüße

Andreas Schulze


Re: "autolearn=ham" was wrong, howto retrain ?

Posted by Yet Another Ninja <ax...@gmail.com>.
On 2011-04-04 9:54, Andreas Schulze wrote:
> Hello
>
> Im using spamassassin inside amavisd-new to filter mails.
>
> Today I noticed a mail with these headers:
> X-Spam-Flag: NO
> X-Spam-Score: -0.007
> X-Spam-Level:
> X-Spam-Status: No, score=-0.007 tagged_above=-999 required=5
>          tests=[HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, MTX_NONE=0.001,
>          T_RP_MATCHES_RCVD=-0.01] autolearn=ham
> X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on andreasschulze.de
>
> How can I tell SA this was spam ?
> I would try "sa-learn -spam<messagefile>
>
> But does this let SA really forget the "previous state ham" ?
>


http://spamassassin.apache.org/full/3.3.x/doc/sa-learn.txt

-forget              Forget a message