退信訊息內容格式:
From: Mail Deliver System [mailto:MAILER-DAEMON]
Sent: 無
To: Ruby.Yang@openfind.com.tw <-----該封信件原寄件者!!
Subject: Returned Mail: 退信訊息
The original message was received at Wed, 18 Oct 2017 11:25:23 +0800 (CST) from Ruby.Yang@openfind.com.tw <-----退信時間!!
---The following addresses had delivery errors---
test@OOO.com [退信訊息] <-----該封信件收件者,無法寄達退信原因!!
常見退信訊息:
一、550 Sender verify failed
本身網域DNS反解析異常。
或是DNS解析之後,對方主機會去smtp rcpt to寄件人email,確認是否存在 (OK),
如果您有設定ONLYAUTH=1,就會造成驗證不到而拒收。
二、Connection reset by peer
不明原因連線中斷,可能原因是對方,或網路因素造成。
三、Invalid Email Address
無效的收件者Email,請確認是否填寫正確。
四、550 no mailbox by that name is currently available
無效的收件者信箱,請確認收件者信件是否填寫正確。
五、550-5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient's email address....
無效的收件者Email,請確認是否填寫正確。
六、Hostname cannot be resolved
收件者網域暫時無法解析
可能原因:
1.對方DNS主機"當時"異常,無法正常解析到對方網域MX紀錄,請稍後再重寄。
2.MG/Mail2000 所設定的DNS Server異常,若是設定公司內部DNS主機,請確認貴公司DNS是否可正常解析。
查找主機設定 DNS 參數檔:
[webmail@mgtrial log]$ cat /etc/resolv.conf nameserver 8.8.8.8 nameserver 168.95.1.1
指定DNS主機查找收件者網域MX紀錄:
[webmail@mgtrial log]$ dig @8.8.8.8 ooo.com mx ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.3 <<>> @8.8.8.8 ooo.com mx ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18588 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;ooo.com. IN MX ;; AUTHORITY SECTION: ooo.com. 1799 IN SOA dns1.name-services.com. info.name-services.com. 1446773670 172800 900 1814400 3600 ;; Query time: 22 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Tue Oct 24 14:44:33 2017 ;; MSG SIZE rcvd: 85
結果:ooo.com 並未設定網域MX紀錄。
[webmail@mgtrial log]$ telnet ooo.com 25 Trying 183.86.207.85...
直接對該主機telnet 25 port,也未有回應。
七、552 size limit exceeded
信件大小超過上限,拒絕接收。
八、4.7.1 Service temporarily unavailable; code #GR01. Please contact your admin for technical assistance with info about time (Oct 24 05:37:29)
對方主機回應服務暫時無法提供,請聯絡您的管理者尋求協助。
因對方DSN是4.x.x,MG/Mail2000會持續retry寄送。
九、554 5.7.1 This messge has been blocked because the HELO/EHLO domain is invalid.
貴公司MG主機連至對方主機所帶的HELO hostname or Daemon 名稱 DNS 無法查到正反解記錄,導致被拒。
請重新檢視MG HELO hostname 是否正確,或者將該hostname註冊回DNS 主機上。
十、4..x.x Temporary failure of hostname lookup
對方網域或主機名稱暫時無法解析,請稍後再重寄。
十一、450 Client host rejected: cannot find your hostname,[203.70.177.63]
一般常見於寄信給國內PCHOME 信箱,對方會針對您的來源IP(203.70.177.63)解析有無設定反解,若無設定就會暫時阻擋。
因此有此問題時,建議請與ISP業者設定反解。
十二、4.1.1 452 4.5.3 Too many recipients (AS780090) [(various subdomains).prod.protection.outlook.com
收件者郵件主機為Outlook代管,超過對方Anti-spam主機預設一天能接收貴公司網域的數量上限(收件人數或email上限),導致不允許一個連線中有多筆收件人。
建議與對方郵件主機管理者反應此問題。
十三、FAIL 554 IP name lookup failed. No PTR record found
對方Anti-SPAM主機會反查您的來源IP是否有設定反解(PTR),若無則拒絕接收信件。
建議作法:請向您的ISP業者設定來源IP反解。
可參考:(https://hidomain.hinet.net/dns_reverse_s/faq-hinet.html)
十四、421 4.7.0 [167.89.55.59 15] Our system has detected that this message is suspicious due to the nature of the content and/or the links within. To best protect our users from spam,
the message has been blocked. Please visit https://support.google.com/mail/answer/188131 for more information. u22si16671234pfl.244 - gsmtp
Gmail 專屬,表示該信件內文有異常內容或連結是Gmail所不允許,建議修改內文,如有附件,請加密壓縮後寄出試試。
技術小學堂:
如何查看目前HELO主機名稱:
$ cat /mailgates/mg/etc/mg.conf |grep -i host
mg_hostname mgtrial.openfind.com.tw
若需調整,請修改此conf檔,修改完畢重啟相關服務:
# su webmail $ cp -p /mailgates/mg/etc/mg.conf /mailgates/mg/etc/mg.conf.YYMMDD $ vim /mailgates/mg/etc/mg.conf $ /mailgates/tools/restartshm $ /mailgates/mg/bin/mg_ctl.pl restart mgmailerd
陸續增加中!