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

Hello we're inherited one server based on Gentoo + Postfix + Amavis-new + Maildrop

$ cat /etc/gentoo-release 
Gentoo Base System release 1.12.9
$ equery list

Some config files for postfix+amavis:

Log snipets:


Oct 15 13:36:29 myhost postgrey: action=pass, reason=triplet found,, client_address=,,
Oct 15 13:36:33 myhost postfix/smtp[3535]: 9D576478A5B: to=<>, relay=[]:10024, delay=3.8, delays=0.68/0/0.01/3.1, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=04288-01 - SPAM)


Oct 15 13:44:47 /usr/sbin/amavisd[4288]: (04288-05) ESMTP::10024 /var/amavis/tmp/amavis-20101015T133629-04288: <> -> <> SIZE=2595 Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP for <>; Fri, 15 Oct 2010 13:44:47 +0200 (CEST)
Oct 15 13:44:47 /usr/sbin/amavisd[4288]: (04288-05) Checking: I9aGeuG0kC1N [] <> -> <>
Oct 15 13:44:49 /usr/sbin/amavisd[4288]: (04288-05) SPAM, <> -> <>, Yes, score=1006.929 tag=x tag2=5 kill=10 tests=[AWL=0.390, BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13, FH_DATE_PAST_20XX=3.188, GTUBE=1000, HTML_MESSAGE=0.001, TVD_SPACE_RATIO=2.219], autolearn=no
Oct 15 13:44:49 /usr/sbin/amavisd[4288]: (04288-05) Blocked SPAM, [] [] <> -> <>, Message-ID: <>, mail_id: I9aGeuG0kC1N, Hits: 1006.929, size: 2595, 2006 ms


The problem is that in current configuration the mail system drop all spam message.

Desired behaviour.

We would like to receive all messages in the IMAP folder .Junk with ***SPAM*** message prepended to the subject.

Thank for your time!

share|improve this question

What value do you have set for "$final_spam_destiny" (amavisd-new)? It should be D_PASS;

Sorry if it's in your config file, I didn't look at it yet.

share|improve this answer
YES you may check in amavisd.conf: $final_spam_destiny = D_PASS;, but still no result. It seems that amavis actually passes the message back to postfix and postfix drops it. – Igor Oct 15 '10 at 14:16

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.