forcing spamassassin to update headers

Mark Martinec Mark.Martinec+amavis at ijs.si
Wed Jun 1 02:09:27 CEST 2011


Lucio,

> [...]
> $sa_tag_level_deflt  = 2.0;
> $sa_tag2_level_deflt = 6.2;
> $sa_kill_level_deflt = 6.9;
> 
> As a result we occasionally see in the mail syslog a message flagged 
> "Passed SPAMMY" (before it was either Passed CLEAN or Blocked SPAM)
> 
> He struggled to find a way so that the "passed" messages are tagged IN THE 
> HEADER with their spamassassin score, at least in the "spammy" category 
> (the quarantined messages have always had all info in the header).
> 
> He tought that the following configuration would have done, but the header 
> is unchanged. Is there any mistake ? or anything else is required to 
> activate header editing ?

The following is supposed to work even in a milter setup:

  @spam_subject_tag2_maps = ( '***SPAM*** _SCORE_ ' );

for recipients matching @local_domains_maps .


  Mark


More information about the amavis-users mailing list