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

Catscrash catscrash at catscrash.de
Sat Feb 13 11:23:13 CET 2016


Now I got it, I had to add

@local_domains_maps = qw( ".$mydomain", "localhost", "domain1.tld", ...);

to the 50-user file

best regards


Am 13.02.2016 um 10:42 schrieb Catscrash:
> Hi,
>
> 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 [xxx.xxx.xxx.xxx]
> <SENDINGADRESS> -> <RECIPIENTADRESS>, quarantine:
> 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",
> "DOMAIN2.TLD", "DOMAIN3.TLD","DOMAIN4.TLD","DOMAIN5.TLD" );
> #@local_domains_acl = qw( "." ); #(I tried this too, no change)
> @inet_acl = qw(127.0.0.1 [::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:
> http://pastebin.com/t0sqAsKj
>
> thanks for any help
>



More information about the amavis-users mailing list