主题: 某个域名发给我邮件系统的邮件都被过滤为垃圾邮件了,要怎么配置白名单呢?
有几个客户端邮件发来的邮件都被过滤为垃圾邮件了,而且是放入垃圾箱的。
邮件服务器启用了WHITELISTDNSNAME=1,在数据库的whitelist_dnsname中添加了这几个域名,如【coship.com】,但从这几个域名来的邮件还是被放入垃圾箱了。
请问这种情况下,我要怎么配置才能把这几个域名来到邮件不做过滤呢?
下面是其中一封被过滤为垃圾邮件的服务器日志:
Nov 10 14:52:22 rojao postfix/smtpd[32464]: connect from unknown[210.75.11.146]
Nov 10 14:52:22 rojao postfix/smtpd[32464]: SSL_accept error from unknown[210.75.11.146]: 0
Nov 10 14:52:22 rojao postfix/smtpd[32464]: warning: TLS library problem: 32464:error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown:s3_pkt.c:1053:SSL alert number 46:
Nov 10 14:52:22 rojao postfix/smtpd[32464]: lost connection after STARTTLS from unknown[210.75.11.146]
Nov 10 14:52:22 rojao postfix/smtpd[32464]: disconnect from unknown[210.75.11.146]
Nov 10 14:52:22 rojao postfix/smtpd[32464]: connect from unknown[210.75.11.146]
Nov 10 14:52:22 rojao postfix/trivial-rewrite[32461]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 10 06:52:22 rojao policyd: connection from: 127.0.0.1 port: 41079 slots: 0 of 2044 used
Nov 10 06:52:22 rojao policyd: rcpt=400, whitelist=update, host=210.75.11.146 (unknown), from=AA@coship.com, to=BB@rojao.cn, size=0
Nov 10 14:52:22 rojao postfix/smtpd[32464]: 4C2B69A59E7: client=unknown[210.75.11.146]
Nov 10 14:52:22 rojao postfix/trivial-rewrite[32461]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 10 06:52:22 rojao policyd: rcpt=401, whitelist=update, host=210.75.11.146 (unknown), from=AA@coship.com, to=CC@rojao.cn, size=0
Nov 10 14:52:22 rojao postfix/cleanup[32467]: 4C2B69A59E7: message-id=<747385B835A34AB8B2A90D3C8FC7B87A@rd.coship.pri>
Nov 10 14:52:22 rojao postfix/qmgr[2891]: 4C2B69A59E7: from=<AA@coship.com>, size=51024, nrcpt=2 (queue active)
Nov 10 14:52:22 rojao postfix/smtpd[32464]: disconnect from unknown[210.75.11.146]
Nov 10 14:52:27 rojao postfix/smtpd[32473]: connect from rojao.cn[127.0.0.1]
Nov 10 14:52:27 rojao postfix/trivial-rewrite[32461]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 10 14:52:27 rojao postfix/smtpd[32473]: 704589A59EA: client=rojao.cn[127.0.0.1]
Nov 10 14:52:27 rojao postfix/trivial-rewrite[32461]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 10 14:52:27 rojao postfix/cleanup[32467]: 704589A59EA: message-id=<747385B835A34AB8B2A90D3C8FC7B87A@rd.coship.pri>
Nov 10 14:52:27 rojao postfix/qmgr[2891]: 704589A59EA: from=<AA@coship.com>, size=51697, nrcpt=2 (queue active)
Nov 10 14:52:27 rojao postfix/smtpd[32473]: disconnect from rojao.cn[127.0.0.1]
Nov 10 14:52:27 rojao postfix/trivial-rewrite[32461]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 10 14:52:27 rojao postfix/trivial-rewrite[32461]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 10 14:52:27 rojao amavis[30492]: (30492-17) Passed SPAMMY, LOCAL [210.75.11.146] [210.75.11.146] <AA@coship.com> -> <CC@rojao.cn>,<BB@rojao.cn>, Message-ID: <747385B835A34AB8B2A90D3C8FC7B87A@rd.coship.pri>, mail_id: GOMrh6xrUySr, Hits: 6.52, size: 51023, queued_as: 704589A59EA, 5005 ms
Nov 10 14:52:27 rojao postfix/smtp[32468]: 4C2B69A59E7: to=<CC@rojao.cn>, relay=localhost[127.0.0.1]:10024, delay=5.2, delays=0.18/0.01/0/5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=30492-17, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 704589A59EA)
Nov 10 14:52:27 rojao postfix/smtp[32468]: 4C2B69A59E7: to=<BB@rojao.cn>, relay=localhost[127.0.0.1]:10024, delay=5.2, delays=0.18/0.01/0/5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=30492-17, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 704589A59EA)
Nov 10 14:52:27 rojao postfix/qmgr[2891]: 4C2B69A59E7: removed
Nov 10 14:52:27 rojao postfix/pipe[32475]: 704589A59EA: to=<BB@rojao.cn>, relay=dovecot, delay=0.04, delays=0.01/0.02/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 10 14:52:27 rojao postfix/pipe[32474]: 704589A59EA: to=<CC@rojao.cn>, relay=dovecot, delay=0.04, delays=0.01/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 10 14:52:27 rojao postfix/qmgr[2891]: 704589A59EA: removed
下面是在邮件客户端看到的邮件原始信息:
X-Uidl: 000003e74c3f1a7a&&mail.rojao.cn
Return-Path: <AA@coship.com>
Delivered-To: BB@rojao.cn
Received: from localhost (rojao.cn [127.0.0.1])
by rojao.cn (iRedMail) with ESMTP id 704589A59EA;
Wed, 10 Nov 2010 14:52:27 +0800 (CST)
X-Virus-Scanned: amavisd-new at rojao.cn
X-Spam-Flag: YES
X-Spam-Score: 6.52
X-Spam-Level: ******
X-Spam-Status: Yes, score=6.52 tagged_above=2 required=6.2 tests=[AM:BOOST=-3,
AWL=0.202, DNS_FROM_OPENWHOIS=2.431, FH_DATE_PAST_20XX=3.384,
HTML_FONT_FACE_BAD=0.606, HTML_MESSAGE=0.001, MIME_BASE64_TEXT=2.796,
RDNS_NONE=0.1] autolearn=no
Received: from rojao.cn ([127.0.0.1])
by localhost (rojao.cn [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id GOMrh6xrUySr; Wed, 10 Nov 2010 14:52:22 +0800 (CST)
X-Original-Helo: omail.coship.com (iRedMail: http://www.iredmail.org/)
X-Original-Helo: omail.coship.com (iRedMail: http://www.iredmail.org/)
Received: from omail.coship.com (unknown [210.75.11.146])
by rojao.cn (iRedMail) with ESMTP id 4C2B69A59E7;
Wed, 10 Nov 2010 14:52:22 +0800 (CST)
Received: from [192.168.99.233] by omail.coship.com with surfront esmtp id 430712132957970;
Wed, 10 Nov 2010 14:56:27 +0800 (CST)
Received: from C901235A ([10.10.100.16])
by omail.coship.com (Lotus Domino Release 7.0.2)
with ESMTP id 2010111014531204-415780 ;
Wed, 10 Nov 2010 14:53:12 +0800
Message-ID: <747385B835A34AB8B2A90D3C8FC7B87A@rd.coship.pri>
From: