From d772abdb86e149ad7a49831f3861af3244bdb533 Mon Sep 17 00:00:00 2001 From: smail Date: Sun, 6 Sep 2026 07:56:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=85=A8=E9=9D=A2=E5=AE=A1?= =?UTF-8?q?=E6=9F=A5=E8=B0=83=E8=AF=95=E6=A3=80=E6=9F=A5=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/listen/imap_server/session_fetch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/listen/imap_server/session_fetch.go b/backend/listen/imap_server/session_fetch.go index 6b6331d..16084f6 100644 --- a/backend/listen/imap_server/session_fetch.go +++ b/backend/listen/imap_server/session_fetch.go @@ -147,6 +147,7 @@ func (s *serverSession) Fetch(w *imapserver.FetchWriter, numSet imap.NumSet, opt if uidSet.Dynamic() { var err error maxUID, err = list.GetMaxUIDByMailbox(s.ctx, s.currentMailbox) + log.WithContext(s.ctx).Infof("IMAP FETCH UID set=%s dynamic=%t max_uid=%d", uidSet.String(), uidSet.Dynamic(), maxUID) if err != nil { log.WithContext(s.ctx).WithError(err).Error("query IMAP maximum UID for fetch failed") return &imap.Error{Type: imap.StatusResponseTypeNo, Text: "Fetch failed"}