最後更新: 2024-05-27
目錄
- Connection drop
1. Connection drop
mail.log
... dovecot: imap(USER@DOMAIN): Connection closed: read(size=7992) failed: Connection reset by peer
(UID FETCH running for 0.010 + waiting input/output for 0.040 secs,
0.001 in locks, 60 B in + 433904+8192 B out, state=wait-output) in=200 out=435217
原因 Client 與 Serve 之間有 filter !!
開啟 debug mode 後會見到
... imap(USER@DOMAIN): Debug: INBOX: Mailbox opened because: SELECT
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54391 because: prefetch
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54391 because: access
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54391 because: full mail
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54392 because: prefetch
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54392 because: access
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54392 because: full mail
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54393 because: prefetch
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54393 because: access
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54393 because: full mail
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54394 because: prefetch
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54394 because: access
... imap(USER@DOMAIN): Debug: Mailbox INBOX: Opened mail UID=54394 because: full mail
... imap(USER@DOMAIN): Info: Connection closed: read(size=7992) failed: Connection reset by peer
(UID FETCH running for 0.010 + waiting input/output for 0.046 secs,
0.001 in locks, 60 B in + 533216+3248 B out, state=wait-output) in=200 out=534553
所以 "UID=54394" 那 mail 有問題