Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 currently setting up amavis and spamassassin with postfix. So far SpamAssassin blocks and bounces Spam. If I set $final_spam_destiny to D_PASS the mail gets through, but the $sa_spam_subject_tag does not get attached and the X-Spam value does not exist either.

The log clearly states, that it passes Spam:

amavis[28391]: (28391-01) Passed SPAM, [209.***] [93.1***] <s**g@*.com> -> <*@s*.de>, quarantine: C/spam-CJpo9ylrA1wv.gz, Message-ID: <5006FC18.5090100@*.com>, mail_id: CJpo9ylrA1wv, Hits: 999.201, size: 2125, queued_as: 37D3C3148077, 4803 ms

Message header contains:

Return-Path: <*@*.com>
X-Original-To: *@*.de
Delivered-To: *@*.de
Received: from localhost (localhost.localdomain [])
    by *.de (Postfix) with ESMTP id 37D3C3148077
    for <*@*.de>; Wed, 18 Jul 2012 20:10:43 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at *.de
Received: from *.de ([])
    by localhost (*.de []) (amavisd-new, port 10024)
    with ESMTP id CJpo9ylrA1wv for <*@*.de>;
    Wed, 18 Jul 2012 20:10:38 +0200 (CEST)
Received-SPF: pass ...
Received: from ( [])...
Received: by bkwj4 with SMTP id j4so1701207bkw.40...
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113;
Received: by with SMTP id gi9mr2278388bkc.50.1342635037852;
    Wed, 18 Jul 2012 11:10:37 -0700 (PDT)
Received: from [] ( [])
    by with ESMTPS id t23sm12424175bks.4.2012.
    (version=SSLv3 cipher=OTHER);
    Wed, 18 Jul 2012 11:10:37 -0700 (PDT)
Message-ID: <*.*>

This happens only on my second domain. On the first domain Spamassassin works as expected.

Any help?

share|improve this question

I got it:

i added my second domain in the amavis/conf.d/05-domain-id file:

@local_domains_acl = ( ".$mydomain","" );

now it works.

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.