You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by li...@zeta.net on 2005/06/24 00:44:07 UTC

rewrite_header Subject

Hello,

a while back, someone mentioned that they had configured SA to modify
the subject to include the SA score like:

*****SPAM(10.2)*****

Is this easy to do?  What is the syntax to acheive this in my local.cf file?

Regards,
Devin

Re: rewrite_header Subject

Posted by jdow <jd...@earthlink.net>.
From: "Matt Kettler" <mk...@evi-inc.com>

> Rick Macdougall wrote:
>
> > rewrite_header subject *****SPAM(_SCORE_)*****
> >
> > man Mail::SpamAssassin::Conf is your friend
>
> For completeness, two caveats apply to this.
>
> 1) the above syntax is for SA 3.0.0 or higher. 2.xx won't make sense of
it.
>
> 2) If you are using a MTA integration tool that does it's own markups
> (MailScanner, possibly qmail-scanner and mimedefang), then this setting
won't do
> anything.

And if it will work this one will work better:
*****SPAM***** _SCORE(00)_ **

That will clearly mark spam and give a nice three digit score that can
be alpha sorted in your spam directory. That makes going through spam
a breeze. I effectively never see the higher score spam subjects. I just
look at the low scores, cull a few for Bayes training and false markups.
Then I delete the lot. (Sometimes I setup awkward test rules with really
high scores. That means I take a look at the high end of the list to see
if they hit the way I want. These are for things I consider "sure spam",
most of the time. Then I adjust the scores to something sane.)

{^_-}



Re: rewrite_header Subject

Posted by Matt Kettler <mk...@evi-inc.com>.
Rick Macdougall wrote:

> rewrite_header subject *****SPAM(_SCORE_)*****
> 
> man Mail::SpamAssassin::Conf is your friend

For completeness, two caveats apply to this.

1) the above syntax is for SA 3.0.0 or higher. 2.xx won't make sense of it.

2) If you are using a MTA integration tool that does it's own markups
(MailScanner, possibly qmail-scanner and mimedefang), then this setting won't do
anything.

Re: rewrite_header Subject

Posted by Rick Macdougall <ri...@nougen.com>.
lists@zeta.net wrote:

> Hello,
>
> a while back, someone mentioned that they had configured SA to modify
> the subject to include the SA score like:
>
> *****SPAM(10.2)*****
>
> Is this easy to do?  What is the syntax to acheive this in my local.cf 
> file?
>
> Regards,
> Devin

Hi,

rewrite_header subject *****SPAM(_SCORE_)*****

man Mail::SpamAssassin::Conf is your friend


Rick