我收到通知说有些客户没有收到电子邮件,所有客户都使用 hotmail 帐户,当我查看日志时,我得到了这部分
Sep 25 07:52:51 s22090 named[25045]: client 127.0.0.1#44056: query (cache) 'hotmail.com/MX/IN' denied
Sep 25 07:52:51 ...#56174: query (cache) 'mx2.hotmail.com/A/IN' denied
Sep 25 07:52:51 ...#59417: query (cache) 'mx2.hotmail.com/AAAA/IN' denied
Sep 25 07:52:51 ...#54682: query (cache) 'mx1.hotmail.com/A/IN' denied
Sep 25 07:52:51 ...#60299: query (cache) 'mx1.hotmail.com/AAAA/IN' denied
Sep 25 07:52:51 ...#54353: query (cache) 'mx4.hotmail.com/A/IN' denied
Sep 25 07:52:51 ...#55171: query (cache) 'mx4.hotmail.com/AAAA/IN' denied
Sep 25 07:52:51 ...#55501: query (cache) 'mx3.hotmail.com/A/IN' denied
Sep 25 07:52:51 ...#33547: query (cache) 'mx3.hotmail.com/AAAA/IN' denied
Sep 28 06:39:52 ...#52626: query (cache) 'd7ddfeb7120a9845bbb8f56e789c4f.pamx1.hotmail.com/A/IN' denied
Sep 28 06:39:52 ...#44450: query (cache) 'd7ddfeb7120a9845bbb8f56e789c4f.pamx1.hotmail.com/AAAA/IN' denied
我真的不明白为什么它会阻止/拒绝,有人可以帮忙吗?
编辑
Return-Path: <[email protected]>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on s22090.vps.name-servers.gr
X-Spam-Level: **
X-Spam-Status: No, score=2.4 required=5.0 tests=HTML_IMAGE_ONLY_20, HTML_MESSAGE,HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,NO_RELAYS autolearn=no version=3.3.1
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: by s22090.vps.name-servers.gr (Postfix, from userid 507) id 3BDC9192511F; Wed, 7 Oct 2015 14:35:57 -0400 (EDT)
To: [email protected]
Subject: xxxxx
X-PHP-Originating-Script: 507:class.phpmailer.php
Date: Wed, 7 Oct 2015 14:35:57 -0400
From: "Spedeus.com" <[email protected]>
Message-ID: <[email protected]>
X-Priority: 3
X-Mailer: PHPMailer 5.2.1 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="UTF-8"
DNS 记录
mail A - IPv4 Address 185.25.22.90
spedeus.com MX - Mail Server 5 mail.spedeus.com.
spedeus.com SPF - Sender Permitted From v=spf1 a mx a:spedeus.com ip4:185.25.22.90 ?all
编辑2
Oct 8 05:33:24 s22090 postfix/pickup[13686]: 9AD7619265B0: uid=0 from=<[email protected]>
Oct 8 05:33:24 s22090 postfix/cleanup[15659]: 9AD7619265B0: message-id=<[email protected]>
Oct 8 05:33:24 s22090 postfix/qmgr[13687]: 9AD7619265B0: from=<[email protected]>, size=602, nrcpt=1 (queue active)
Oct 8 05:33:26 s22090 postfix/smtp[15661]: 9AD7619265B0: to=<[email protected]>, relay=mx4.hotmail.com[65.55.37.104]:25, delay=2.1, delays=0.12/0.01/0.64/1.3, dsn=2.0.0, status=sent (250 <[email protected]> Queued mail for delivery)
Oct 8 05:33:26 s22090 postfix/qmgr[13687]: 9AD7619265B0: removed
正如我所看到的,它在排队等待交付后就从队列中删除了。
答案1
也许您需要在电子邮件离开网络的域上拥有/检查反向 DNS 条目。标题是什么样的?发送到 Gmail 有效吗?
有人建议设立密钥管理信息系统。如果可用,我建议(而不是试图破解您的配置来欺骗标题)看看您是否可以使用relay
从该服务器发送电子邮件,而不是使用网络上某个指定的邮件服务器(例如 Exchange)。在这种情况下(看起来您正在使用 postfix)在IP中/etc/postfix/main.cf
添加一行,即中继服务器 IPrelayhost = 10.x.x.x