iT邦幫忙

0

Postfix 偶發的信件遺失問題

想請教各位。

偶發碰到有使用者反應說,信沒收到,這次發生的情況,同一封信,同時給個使用者,一個收到,一個說沒收到,檢查過一些地方。
1.查看mailog,也確實有紀錄。
2.outlook以及mailbox裡面確實沒有。

這個是同一封信有收到的LOG

Oct 15 11:37:39 ms postfix/smtpd[18830]: 9C49B2CCB3: client=mail-ot1-f467.google.com[209.85.210.47]
Oct 15 11:37:39 ms postfix/cleanup[4773]: 9C49B2CCB3: message-id=<CAN-kK5bi=0whTpM6hsfsaFerwwgSmCv=dFnYGPs8854PsQg@mail.aaa.com>
Oct 15 11:37:40 ms postfix/qmgr[16999]: 9C49B2CCB3: from=<michelle123@XXXXXX.com.tw>, size=6083, nrcpt=1 (queue active)
Oct 15 11:37:43 ms postfix/local[7664]: 9C49B2CCB3: to=<betty789@OOOOOO.com>, relay=local, delay=4, status=sent (delivered to mailbox)
Oct 15 11:37:43 ms postfix/qmgr[16999]: 9C49B2CCB3: removed

這個是同一封信但是沒收到的LOG

Oct 15 11:37:41 ms postfix/smtpd[19456]: 8BC382C892: client=mail-ot555-f45.aaa.com[209.85.210.45]
Oct 15 11:37:41 ms postfix/cleanup[7662]: 8BC382C892: message-id=<CAN-kK5bi=0w66hsfsaFergSmRJqvEq7Bo87tCv=dFnYG584154PsQg@mail.aaa.com>
Oct 15 11:37:43 ms postfix/qmgr[16999]: 8BC382C892: from=<michelle123@XXXXXX.com.tw>, size=6080, nrcpt=1 (queue active)
Oct 15 11:37:46 ms postfix/local[5955]: 8BC382C892: to=<philp456@OOOOOO.com>, relay=local, delay=6, status=sent (delivered to mailbox)
Oct 15 11:37:46 ms postfix/qmgr[16999]: 8BC382C892: removed

一些設定:

smtpd_recipient_restrictions = permit_mynetworks,reject_invalid_hostname,permit_sasl_authenticated,permit_auth_destination,reject_unauth_destination,reject_unverified_sender,reject_rbl_client zen.spamhaus.org
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = no
smtpd_restriction_classes =
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sender_login_maps = pcre:/etc/postfix/login_maps.pcre
smtpd_sender_restrictions = permit_mynetworks,reject_unknown_sender_domain, reject_unknown_recipient_domain,reject_sender_login_mismatch

目前已知的情況,有兩位使用者,不同電腦,所以我再想先排除使用者的問題,其實也想過是否被收下,其他裝置刪除,之後有第二位使用者反應,我想再仔細檢查一下,但不知道還可以從何處下手去檢查?

苦惱中,請大家指點指點。

感激!

ayu iT邦好手 2 級 ‧ 2018-10-18 23:27:00 檢舉
message-id / size 都不同喔!
也許信件內容看起來相同, 嚴格來說卻不算"同一封信"
但你的苦惱應該在pop3/imap server 與 client 收信這部份, 而與 postfix 無關了.
julian iT邦新手 2 級 ‧ 2018-10-19 07:42:15 檢舉
了解,我朝收信端去檢查看看,謝謝。
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

1
Ray
iT邦大神 1 級 ‧ 2018-10-18 21:27:24
最佳解答
2: to=<philp456@OOOOOO.com>, relay=local, delay=6, status=sent (delivered to mailbox)

這裡證明, 信已經送進 philp456@OOOOOO.com 的信箱去 (status=sent), 從這裡開始, 信件就跟 postfix 無關, 你要去查負責管理信箱的軟體..

我最常遇到的是: PC 端防毒軟體悄悄地幫 User 把信刪掉....

julian iT邦新手 2 級 ‧ 2018-10-18 21:33:22 檢舉

我也是這樣想,因為防毒軟體沒有POP3的掃瞄機制,我再上防毒主控台查看看有沒有甚麼蛛絲馬跡。

感謝!

0
cmwang
iT邦大師 1 級 ‧ 2018-10-19 00:18:08

IMAP/POP3 server是Dovecot的話有MailLog Plugin可用,Client何時上來收了哪些信都可以產生詳細的log,至少可以避免各說各話的局面....

julian iT邦新手 2 級 ‧ 2018-10-19 07:40:36 檢舉

原來還有這個,太棒了,這樣可以多一點資料可以查閱。

我要發表回答

立即登入回答