最近測試mail遇到一個問題,想問問其他人是否有遇過
我測試直接ssh登入主機使用指令寄信,以及登入該主機openwebmail
分別對 gmail 以及yahoo寄信
結果ssh登入下 mail指令 寄出的信件 只有 yahoo會收到
但是如果使用該主機的openwebmail 則gmail 以及yahoo都收的到信
查看maillog 信件皆有成功寄出
沒收到信的,也沒收到對方主機退信,有人有遇過這種問題嗎?
補充 OS為 free BSD 6.0-RELEASE,postfix 2.3.8
再補上log
第一種方式
使用openwebmail
May 17 15:07:16 www postfix/qmgr[85818]: 4F3EF125454: from=<joexx@A>, size=485
, nrcpt=1 (queue active)
May 17 15:07:16 www postfix/smtpd[95863]: disconnect from localhost.A[127.0.0.1]
May 17 15:07:19 www postfix/smtp[96588]: 4F3EF125454: to=<joexx@B>,
relay=ASPMX.L.GOOGLE.COM[74.125.155.27]:25, delay=2.8, delays=0.11/0/0.57/2.1,
dsn=2.0.0, status=sent (250 2.0.0 OK 1305615947 m1si751661pbd.70)
May 17 15:07:19 www postfix/qmgr[85818]: 4F3EF125454: removed
=============================================================================
第二種方式
ssh登入主機直接下mail指令
May 17 15:08:35 www postfix/smtp[96588]: 714EE12549B: to=<joexx@B>,
relay=ASPMX.L.GOOGLE.COM[74.125.95.27]:25, delay=2.7, delays=0.03/0/0.66/2,
dsn=2.0.0, status=sent (250 2.0.0 OK 1305616023 s17si460716ibe.37)
May 17 15:08:35 www postfix/qmgr[85818]: 714EE12549B: removed
===
A為發信主機,B為gmail
使用第二種方式 gmail都沒有收到信
突然想到之前有遇過一個情況,網頁的留言板使用php 寫成
當user送出留言後 程式會寄到gmail
這也發生沒有收到信的狀況,但是將程式改成yahoo hotmail等等其他收信位址
卻都正常有收到
似乎是gmail有做什麼判斷?導致mail直接就drop掉?
--
我測試直接ssh登入主機使用指令寄信,以及登入該主機openwebmail
分別對 gmail 以及yahoo寄信
結果ssh登入下 mail指令 寄出的信件 只有 yahoo會收到
但是如果使用該主機的openwebmail 則gmail 以及yahoo都收的到信
查看maillog 信件皆有成功寄出
沒收到信的,也沒收到對方主機退信,有人有遇過這種問題嗎?
補充 OS為 free BSD 6.0-RELEASE,postfix 2.3.8
再補上log
第一種方式
使用openwebmail
May 17 15:07:16 www postfix/qmgr[85818]: 4F3EF125454: from=<joexx@A>, size=485
, nrcpt=1 (queue active)
May 17 15:07:16 www postfix/smtpd[95863]: disconnect from localhost.A[127.0.0.1]
May 17 15:07:19 www postfix/smtp[96588]: 4F3EF125454: to=<joexx@B>,
relay=ASPMX.L.GOOGLE.COM[74.125.155.27]:25, delay=2.8, delays=0.11/0/0.57/2.1,
dsn=2.0.0, status=sent (250 2.0.0 OK 1305615947 m1si751661pbd.70)
May 17 15:07:19 www postfix/qmgr[85818]: 4F3EF125454: removed
=============================================================================
第二種方式
ssh登入主機直接下mail指令
May 17 15:08:35 www postfix/smtp[96588]: 714EE12549B: to=<joexx@B>,
relay=ASPMX.L.GOOGLE.COM[74.125.95.27]:25, delay=2.7, delays=0.03/0/0.66/2,
dsn=2.0.0, status=sent (250 2.0.0 OK 1305616023 s17si460716ibe.37)
May 17 15:08:35 www postfix/qmgr[85818]: 714EE12549B: removed
===
A為發信主機,B為gmail
使用第二種方式 gmail都沒有收到信
突然想到之前有遇過一個情況,網頁的留言板使用php 寫成
當user送出留言後 程式會寄到gmail
這也發生沒有收到信的狀況,但是將程式改成yahoo hotmail等等其他收信位址
卻都正常有收到
似乎是gmail有做什麼判斷?導致mail直接就drop掉?
--
All Comments