Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm using a mailserver setup with postfix, amavis and spamassassin.

Some parts of my current configuration (Ubuntu 12.04.2):


$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;


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);

All incoming spam is dropped by postfix and isn't delivered with the "***SPAM***" subject tag:


Jun 19 07:20:07 host amavis[27625]: (27625-04) Blocked SPAM, [] [] <> -> <>, quarantine: l/spam-l+tLTgmVhQi7.gz, Message-ID: <>, mail_id: l+tLTgmVhQi7, Hits: 999.902, size: 2226,, 1406 ms
Jun 19 07:20:07 host postfix/smtp[28237]: E650348C126B: to=<>, relay=[]: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!

share|improve this question

The OP indicated this solved the issue:

Because I'm using a Ubuntu system, the D_PASS settings must be configured in /etc/amavis/conf.d/21-ubuntu_defaults instead of the Debian file. Also the "@local_domains_maps" setting was not set in the /etc/amavis/conf.d/05-domain_id file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.