Amavis + Postfix 配置问题

Amavis + Postfix 配置问题

您好,我们继承了一台基于 Gentoo + Postfix + Amavis-new + Maildrop 的服务器

$ cat /etc/gentoo-release 
Gentoo Base System release 1.12.9
$ equery list
mail-mta/postfix-2.5.5
mail-filter/maildrop-2.0.4
mail-filter/amavisd-new-2.5.2

postfix+amavis 的一些配置文件:http://dl.dropbox.com/u/9430338/config.tar.gz

日志片段:

/var/log/mail.log:

Oct 15 13:36:29 myhost postgrey: action=pass, reason=triplet found, client_name=mail-yw0-f48.google.com, client_address=209.85.213.48, [email protected], [email protected]
Oct 15 13:36:33 myhost postfix/smtp[3535]: 9D576478A5B: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]: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)

/var/log/amavis.log:

Oct 15 13:44:47 myhost.it /usr/sbin/amavisd[4288]: (04288-05) ESMTP::10024 /var/amavis/tmp/amavis-20101015T133629-04288: <[email protected]> -> <[email protected]> SIZE=2595 Received: from myhost.it ([127.0.0.1]) by localhost (myhost.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <[email protected]>; Fri, 15 Oct 2010 13:44:47 +0200 (CEST)
Oct 15 13:44:47 myhost.it /usr/sbin/amavisd[4288]: (04288-05) Checking: I9aGeuG0kC1N [209.85.213.176] <[email protected]> -> <[email protected]>
Oct 15 13:44:49 myhost.it /usr/sbin/amavisd[4288]: (04288-05) SPAM, <[email protected]> -> <[email protected]>, 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 myhost.it /usr/sbin/amavisd[4288]: (04288-05) Blocked SPAM, [209.85.213.176] [209.85.213.176] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: I9aGeuG0kC1N, Hits: 1006.929, size: 2595, 2006 ms

问题。

问题在于,在当前配置下,邮件系统会删除所有垃圾邮件。

期望的行为。

我们希望接收 IMAP 文件夹 .Junk 中的所有邮件,并且在主题前附加 ***SPAM*** 消息。

感谢您的时间!

答案1

您为“$final_spam_destiny”(amavisd-new) 设置了什么值?应该是 D_PASS;

抱歉,如果它在您的配置文件中,我还没有看过它。

相关内容