i'm using a mailserver setup with postfix, amavis and spamassassin.
Some parts of my current configuration (Ubuntu 12.04.2):
/etc/amavis/conf.d/20-debian_defaults
$sa_spam_subject_tag = '***SPAM*** ';
$sa_tag_level_deflt = 2.0;
$sa_tag2_level_deflt = 6.31;
$sa_kill_level_deflt = 6.31;
$sa_dsn_cutoff_level = 10;
$final_spam_destiny = D_PASS;
/etc/amavis/conf.d/15-content_filter_mode
use strict;
@bypass_virus_checks_maps = (
\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);
@bypass_spam_checks_maps = (
\%bypass_spam_checks, \$bypass_spam_checks_re);
1;
All incoming spam is dropped by postfix and isn't delivered with the "***SPAM***" subject tag:
/var/log/mail.log
Jun 19 07:20:07 host amavis[27625]: (27625-04) Blocked SPAM, [209.85.214.175] [209.85.214.175] <source@sourcedomain.com> -> <target@targetdomain.com>, quarantine: l/spam-l+tLTgmVhQi7.gz, Message-ID: <CAPQPMVfXTAWzdV8mpSSfxBnZTRgL5TjEZZnRTz_h1Y65nuzWzQ@mail.sourcedomain.com>, mail_id: l+tLTgmVhQi7, Hits: 999.902, size: 2226, dkim_id=@sourcedomain.com, 1406 ms
Jun 19 07:20:07 host postfix/smtp[28237]: E650348C126B: to=<target@targetdomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.9, delays=0.46/0/0/1.4, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=27625-04 - SPAM)
Jun 19 07:20:07 host postfix/qmgr[28163]: E650348C126B: removed
This behavior should be not the case (spam should be delivered with the spam tag). I dont know whats wrong here…
Any help would be very appreciated!
Best Answer
The OP indicated this solved the issue: