我正在使用 CPanel 设置运行 exim。但是,我检查了 var/log/exim_rejectlog,没有看到任何与此 hotmail 帐户相关的问题。它只是没有列出。但电子邮件没有进入。
我尝试过这个:
exim -bt [email protected]
[email protected]
router = lookuphost, transport = remote_smtp
host mx4.hotmail.com [65.54.188.72] MX=5
host mx4.hotmail.com [65.54.188.94] MX=5
host mx4.hotmail.com [65.55.37.88] MX=5
host mx4.hotmail.com [65.55.37.104] MX=5
host mx4.hotmail.com [65.55.92.136] MX=5
host mx4.hotmail.com [65.55.92.152] MX=5
host mx4.hotmail.com [65.55.92.184] MX=5
host mx4.hotmail.com [65.54.188.110] MX=5
host mx4.hotmail.com [65.55.37.120] MX=5
host mx4.hotmail.com [65.54.188.126] MX=5
host mx4.hotmail.com [65.55.92.168] MX=5
host mx4.hotmail.com [65.55.37.72] MX=5
root@ns1 [~]# exim -bh 65.54.188.72
**** SMTP testing session as if from host 65.54.188.72
**** but without any ident (RFC 1413) callback.
**** This is not for real!
>>> host in hosts_connection_nolog? no (option unset)
LOG: SMTP connection from [65.54.188.72]
>>> host in host_lookup? no (option unset)
>>> host in host_reject_connection? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in recipient_unqualified_hosts? no (option unset)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? yes (matched "*")
>>> using ACL "acl_smtp_connect"
>>> processing "accept"
>>> check hosts = +trustedmailhosts
>>> sender host name required, to match against lsearch;/etc/trustedmailhosts
>>> looking up host name for 65.54.188.72
>>> IP address lookup yielded bay0-mc1-f.bay0.hotmail.com
>>> gethostbyname2 looked up these IP addresses:
>>> name=bay0-mc1-f.bay0.hotmail.com address=65.54.188.72
>>> checking addresses for bay0-mc1-f.bay0.hotmail.com
>>> 65.54.188.72 OK
>>> host in "lsearch;/etc/trustedmailhosts"? no (end of list)
>>> host in "+trustedmailhosts"? no (end of list)
>>> accept: condition test failed in ACL "acl_smtp_connect"
>>> processing "accept"
>>> 65.54.188.72 in "iplsearch;/etc/trustedmailhosts"? no (end of list)
>>> check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
>>> = 0
>>> accept: condition test failed in ACL "acl_smtp_connect"
>>> processing "accept"
>>> check hosts = +relay_hosts : +loopback
>>> host in "net-iplsearch;/etc/relayhosts"? no (end of list)
>>> host in "<; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff:7f00:0000/8"? no (end of list)
>>> host in "+relay_hosts : +loopback"? no (end of list)
>>> accept: condition test failed in ACL "acl_smtp_connect"
>>> processing "accept"
>>> check hosts = +relay_hosts : +backupmx_hosts
>>> host in "lsearch;/etc/backupmxhosts"? no (end of list)
>>> host in "+relay_hosts : +backupmx_hosts"? no (end of list)
>>> accept: condition test failed in ACL "acl_smtp_connect"
>>> processing "accept"
>>> check condition = ${if eq {$interface_port}{25}{no}{yes}}
>>> = yes
>>> accept: condition test succeeded in ACL "acl_smtp_connect"
220-ns1.MYDOMAINNAME.COM ESMTP Exim 4.80 #2 Thu, 17 Jan 2013 15:14:46 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
/var/log/maillog 不包含或显示有关电子邮件的任何信息。
答案1
您需要查看邮件日志以了解发生了什么。它通常位于 /var/log/ 中,称为 maillog 或 mail.log。
只需在日志文件中搜索电子邮件地址即可。它将告诉您每次投递尝试的信息以及成功或失败的原因。
如果您通过其他提供商智能托管所有电子邮件,则需要要求他们进行调查,因为最终交付的日志将在他们那边。
在一段时间内成功地将电子邮件持续递送到 hotmail 并非易事(尽管我已经有一段时间没有尝试这样做了)。