iT邦幫忙

0

請教一下大家:

最近發現有部分發出的mail都會被退信,訊息如下:

第一種: lost connection with xxx.com[IP] while performing the HELO handshake

第二種: lost connection with xxx.com[IP] while receiving the initial server greeting

大部份的mail都還是可以發出去,對方也收得到,只是有部分的會被退信,請教一下這是甚麼原因?

謝謝

第一種 請參考 https://serverfault.com/questions/575122/lost-connection-with-mx-servername-while-performing-the-helo-handshake
原則上就是 DNS MX 還有郵件主機設定有問題,例如 DNS最常見的就是 MX 是 mail.AAA.CC 但是卻沒有 MAIL 的 A紀錄,你是要觀落陰來找郵件主機在哪
接著就是 郵件主機的 HELO HOSTNAME 沒設定或是有設定但是跟 MX 紀錄有出入,這是打算宋七力上身嘛
第二種 請參考 https://www.howtoforge.com/community/threads/postfix-timed-out-while-receiving-the-initial-server-greeting.48972/
這個是郵件主機設定問題,一樣問題可能跟第一個原因相同,但有可能是對方的DNS MX 設定有問題造成的
但是參考連結裡面,你要去檢查你的主機參數,調整一下,也許不需要通知對方就能解決問題
keven1516 iT邦新手 5 級 ‧ 2018-05-25 08:34:19 檢舉
@X.it>, relay=mail.X.it[217.221.X.X]:25, delay=145511, delays=145507/0.01/3.4/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:38 mail postfix/smtp[9069]: 7A944183C002: to=<X@X.it>, relay=mail.X.it[217.221.X.X]:25, delay=239620, delays=239616/0/3.4/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:38 mail postfix/smtp[9073]: C7D8F183C001: to=<X@X.it>, relay=mail.X.it[217.221.X.X]:25, delay=59510, delays=59507/0.01/3.3/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:37 mail postfix/smtp[9074]: 41501183C007: to=<X@X.it>, relay=mail.X.it[217.221.X.X]:25, delay=77265, delays=77262/0.01/3/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:37 mail postfix/smtp[9071]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom
May 25 08:23:37 mail postfix/smtp[9069]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom
May 25 08:23:37 mail postfix/smtp[9073]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom
keven1516 iT邦新手 5 級 ‧ 2018-05-25 08:35:14 檢舉
附上SMTP紀錄 麻煩大家了

字串太長所以排版很亂 不好意思
0
黃彥儒
iT邦研究生 2 級 ‧ 2018-05-11 16:52:10

你的Server在向對方Say Hellow的時候所使用的自稱不對,要去設定Mail Server的名稱

0
門神JanusLin
iT邦超人 1 級 ‧ 2018-05-11 16:52:39

lost connection
網路問題大
不過還是要有完整的交談 log 可以直接看出原因

看更多先前的回應...收起先前的回應...
keven1516 iT邦新手 5 級 ‧ 2018-05-25 08:35:27 檢舉

@X.it>, relay=mail.X.it[217.221.X.X]:25, delay=145511, delays=145507/0.01/3.4/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:38 mail postfix/smtp[9069]: 7A944183C002: to=X@X.it, relay=mail.X.it[217.221.X.X]:25, delay=239620, delays=239616/0/3.4/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:38 mail postfix/smtp[9073]: C7D8F183C001: to=X@X.it, relay=mail.X.it[217.221.X.X]:25, delay=59510, delays=59507/0.01/3.3/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:37 mail postfix/smtp[9074]: 41501183C007: to=X@X.it, relay=mail.X.it[217.221.X.X]:25, delay=77265, delays=77262/0.01/3/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:37 mail postfix/smtp[9071]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom
May 25 08:23:37 mail postfix/smtp[9069]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom
May 25 08:23:37 mail postfix/smtp[9073]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom

keven1516 iT邦新手 5 級 ‧ 2018-05-25 08:35:52 檢舉

附上SMTP紀錄 麻煩大家了

字串太長所以排版很亂 不好意思

helo就沒有接收了應該是time out 了

keven1516 iT邦新手 5 級 ‧ 2018-05-28 08:34:29 檢舉

請問一下這樣是我們的mail server有問題 還是客戶的有問題?

其他發出去的mail是沒有遇到這樣的情況

感謝!

0
bidonsu
iT邦新手 4 級 ‧ 2018-05-14 12:19:44

建議先情查退信歷史紀錄,如果是在固定某些時間點發生的退信情況,斷線原因可以朝MAIL SERVER中的ANTIVIRUS或是其他應用軟體執行某些排程工作的運行紀錄進行分析,查驗是否有發生網路通信上的影響?如果無法從記錄檔內容判斷,建議您嘗試發送幾封測試郵件到GMAIL等類似規模的公眾郵箱與發生退信的郵箱進行線上即時觀察HANKSHAKE情況再比對兩者相異之處,確定在哪個步驟產生HANKSHAKE FAIL,再來進行處理,如果無法自行判斷處理,也可以挑選幾組近期不同退信情況的完整HANDSHAKE紀錄貼上來請求協助。

keven1516 iT邦新手 5 級 ‧ 2018-05-25 08:35:42 檢舉

@X.it>, relay=mail.X.it[217.221.X.X]:25, delay=145511, delays=145507/0.01/3.4/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:38 mail postfix/smtp[9069]: 7A944183C002: to=X@X.it, relay=mail.X.it[217.221.X.X]:25, delay=239620, delays=239616/0/3.4/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:38 mail postfix/smtp[9073]: C7D8F183C001: to=X@X.it, relay=mail.X.it[217.221.X.X]:25, delay=59510, delays=59507/0.01/3.3/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:37 mail postfix/smtp[9074]: 41501183C007: to=X@X.it, relay=mail.X.it[217.221.X.X]:25, delay=77265, delays=77262/0.01/3/0, dsn=4.4.2, status=deferred (lost connection with mail.X.it[217.221.X.X] while performing the HELO handshake)
May 25 08:23:37 mail postfix/smtp[9071]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom
May 25 08:23:37 mail postfix/smtp[9069]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom
May 25 08:23:37 mail postfix/smtp[9073]: certificate verification failed for mail.X.it[217.221.X.X]:25: untrusted issuer /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=ca@snakeoil.dom

keven1516 iT邦新手 5 級 ‧ 2018-05-25 08:36:00 檢舉

附上SMTP紀錄 麻煩大家了

字串太長所以排版很亂 不好意思

bidonsu iT邦新手 4 級 ‧ 2018-06-27 15:54:15 檢舉

我要發表回答

立即登入回答