You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Pablo Allietti <pa...@lacnic.net> on 2006/11/01 13:29:41 UTC

rewrite subject?

hi all. i have a problem with rewrite subject. many meesages in the
server detected has spam and rewrite subject with ***SPAM*** but others
NOT. and in the headers have this. what is the problem why spamassassin
dont rewrite this messages? what is tagged_above=-999 ?


X-Spam-Status: Yes, hits=6.86 tagged_above=-999 required=4 tests=AWL,                     
 BAYES_00, NA_DOLLARS, NIGERIAN_BODY1, RCVD_IN_BL_SPAMCOP_NET,                            
 RCVD_IN_SORBS_WEB, RISK_FREE, TO_EMPTY, URG_BIZ, US_DOLLARS_3                            
X-Spam-Level: ******                                                                      
X-Spam-Flag: YES     
-- 


.-
Pablo Allietti
E-mail: pablo@lacnic.net | LACNIC                                                                                                                                    
Phone : +598 2 6042222   | http://LACNIC.NET

Re: rewrite subject?

Posted by Magnus Holmgren <ho...@lysator.liu.se>.
On Wednesday 01 November 2006 13:29, Pablo Allietti took the opportunity to 
say:
> hi all. i have a problem with rewrite subject. many meesages in the
> server detected has spam and rewrite subject with ***SPAM*** but others
> NOT. and in the headers have this. what is the problem why spamassassin
> dont rewrite this messages? what is tagged_above=-999 ?

tagged_above indicates that you're using Amavisd-new, and it is adding the 
headers and (not) rewriting the subject, not SpamAssassin.

> X-Spam-Status: Yes, hits=6.86 tagged_above=-999 required=4 tests=AWL,
>  BAYES_00, NA_DOLLARS, NIGERIAN_BODY1, RCVD_IN_BL_SPAMCOP_NET,
>  RCVD_IN_SORBS_WEB, RISK_FREE, TO_EMPTY, URG_BIZ, US_DOLLARS_3
> X-Spam-Level: ******
> X-Spam-Flag: YES

-- 
Magnus Holmgren        holmgren@lysator.liu.se
                       (No Cc of list mail needed, thanks)

Re: rewrite subject?

Posted by Matt Kettler <mk...@verizon.net>.
Pablo Allietti wrote:
> hi all. i have a problem with rewrite subject. many meesages in the
> server detected has spam and rewrite subject with ***SPAM*** but others
> NOT. and in the headers have this. what is the problem why spamassassin
> dont rewrite this messages? 
Because you're not using spamassassin for message-rewriting. You appear
to be using amavis, which does its own rewriting. It calls SA, but then
generates its own headers based on what SA returns.
> what is tagged_above=-999 ?
>   
That's an amavis thing. Amavis's idea of  "tagged" means "has an
X-Spam-Status header".  So this means that anything with a score greater
than -999, ie: all messages, will get an X-Spam-Status header added.

This setting is controlled by  sa_tag_level_deflt in amavisd.conf.

The subject rewriting should occur at sa_tag2Llevel_deflt, which you
appear to have set to 4. That message *should* have had its subject
rewritten, as long as sa_spam_modifies_subj is set to 1.

But in general, you're using amavis to do this work, not SA, so check
your amavisd.conf file.
>
> X-Spam-Status: Yes, hits=6.86 tagged_above=-999 required=4 tests=AWL,                     
>  BAYES_00, NA_DOLLARS, NIGERIAN_BODY1, RCVD_IN_BL_SPAMCOP_NET,                            
>  RCVD_IN_SORBS_WEB, RISK_FREE, TO_EMPTY, URG_BIZ, US_DOLLARS_3                            
> X-Spam-Level: ******                                                                      
> X-Spam-Flag: YES     
>