问题现象:
发往国外的邮件全部发送失败,经测试发现,邮件大小超过1k的就发送失败报错“timed out while sending end of data”,国内的邮件大部分没有问题。
日志信息:
Jun 5 08:43:08 SMS-2 postfix/smtpd[4724]: C3C0E916498: client=unknown[172.17.34.18], sasl_method=LOGIN, sasl_username=123@123.com
Jun 5 08:43:08 SMS-2 postfix/cleanup[916]: C3C0E916498: message-id=<51ae8a1096167@123.com>
Jun 5 08:43:08 SMS-2 postfix/qmgr[15892]: C3C0E916498: from=<123@123.com>, size=12983, nrcpt=1 (queue active)
Jun 5 08:53:11 SMS-2 postfix/smtp[946]: C3C0E916498: conversation with cluster8.eu.messagelabs.com[85.158.140.195] timed out while sending end of data -- message may be sent more than once
Jun 5 09:03:14 SMS-2 postfix/smtp[946]: C3C0E916498: conversation with cluster8.eu.messagelabs.com[85.158.137.19] timed out while sending end of data -- message may be sent more than once
Jun 5 09:03:15 SMS-2 postfix/smtp[946]: C3C0E916498: to=<dillon.wang@akzonobel.com>, relay=203.174.96.66[203.174.96.66]:25, delay=1206, delays=0.04/0/1206/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 582E01F4075)
Jun 5 09:03:15 SMS-2 postfix/qmgr[15892]: C3C0E916498: removed
root@SMS-2:/var/log# telnet 85.158.140.195 25
Trying 85.158.140.195...
Connected to 85.158.140.195.
Escape character is '^]'.
220 server-5.tower-193.messagelabs.com ESMTP
^]
telnet> quti
互联网上的解释:
大体分为两种可能 1)网络策略限制 和 rbl反垃圾黑名单。2)ASA防火墙限制。
ps:
“
If the mail log contains this message, the following issues occur:
You might receive emails from a specific domain.
You will receive many repeat emails.
Solution
These are compatibility issues with postfix caused by the smtp fixup or CISCO SMTP / ESMTP inspection of old CISCO ASA version. CISCO SMTP / ESMTP inspection is very strict with RFC compliance, and can cause issues when you use Exchange 2007 servers, which may not be very strict with RFC compliance.
To resolve the issue, please do the following:
1.
Download Cisco ASA 5500 Series Release Notes Version 8.0(4).
2.
Disable the SMTP and ESMTP inspection in ASA by running the following commands:
policy-map global_policy
class INSPECTION_DEFAULT
no inspect esmtp
no inspect smtp
Note: All ASA firewall administrators just disable SMTP/ESMTP inspection in CISCO ASA because it is very stable and works well.
”
后面我们在网络上面做了调整,ASA策略全部放开没有任何限制,问题依然存在。
目前的解决的方案:
当发送失败后,自动转给另一台邮件服务器去发送。(smtp_fallback_relay)
在线求帮助!!!
gh131461 于 2013-12-21 20:41:06发表:
.
消失的光年 于 2013-07-05 21:35:40发表:
后面将关于邮件服务器的策略全开,没有任何限制,邮件发送成功,真的很费解。。。
但是这样做网络那边的工程师说这样太危险,不允许将主机完全暴露到互联网上,所以现在仍然没有解决,依旧使用转发的方式。
birdcool 于 2013-06-08 10:31:47发表:
非常有用的资料。
消失的光年 于 2013-06-06 17:50:16发表:
o(???)o 唉。。头疼的很呢。。。
catchingfish 于 2013-06-06 08:48:01发表:
我方技术查询发现是由于发件方的本地网络问题导致。
消失的光年 于 2013-06-05 18:13:13发表:
ps:
“
以下反馈来自网易企业服务客服028,很高兴为您服务!
------------------------------------------------------------------
尊敬的客户,您好!
我方技术查询发现是由于发件方的本地网络问题导致。
建议:
请发件方服务器提供网络测试报告。
感谢您对网易企业服务的支持!
网易企业服务客户服务部 服务热线:400-6281-163
------------------------------------------------------------------
网易企业邮
欢迎关注网易企业邮 官方微博,了解最新动态。
“
上面是网易客服的回复无语啊 !!!