Postfix + Amavis detection works but header and subject don't get changed

Catscrash catscrash at
Sat Feb 13 10:42:36 CET 2016


one of my servers is giving me some trouble.

I want spammy mails to go through, but get tagged with ***SPAM*** and
that all mails get a spam-header.

amavis properly detects, that my testmail (gtube) is spam:

Feb 13 10:28:55 root amavis[30921]: (30921-01) Passed SPAM
{RelayedOpenRelay,Quarantined}, [SENDINGIP]:38794 []
7/spam-7UdGMUhFp00u.gz, Queue-ID: 11C78420705, Message-ID:
<56BEF6FC.1000402 at SENDINGDOMAIN>, mail_id: 7UdGMUhFp00u, Hits: 1001.273,
size: 1230, queued_as: BE4754210B8, 717 ms

and it lets it pass, just like I configured, but it won't add the
header, nor the tag in the subjectline.

my 50-user file says:

@local_domains_acl = qw( ".$mydomain", "localhost", "DOMAIN1.TLD",
#@local_domains_acl = qw( "." ); #(I tried this too, no change)
@inet_acl = qw( [::1] ww.xx.yy.zz.);

$log_level = 2;
$sa_spam_subject_tag = '***SPAM*** ';
$sa_tag_level_deflt = -9999;
$sa_tag2_level_deflt = 6.31;
$final_spam_destiny       = D_PASS;

The complete log with log level 2, for the mail in question is here:

thanks for any help

More information about the amavis-users mailing list