我有一封邮件,我无法将其标记为已显示或已从收件箱中删除。 (我不知道我是如何做到的……)如果有帮助,则该服务器是Zimbra实例。
我尝试手动设置标志,以确保捕获任何错误消息。因此,openssl s_client …
,LOGIN
命令,然后:
. SELECT INBOX
* 11 EXISTS
* 0 RECENT
* OK [UNSEEN 8] mailbox contains unseen messages
* OK [UIDVALIDITY 1] UIDs are valid for this mailbox
* OK [UIDNEXT 220360] next expected UID is 220360
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded $Junk $NotJunk Junk JunkRecorded NonJunk NotJunk)
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded \*)] junk-related flags are not permanent
* OK [HIGHESTMODSEQ 425603] modseq tracked on this mailbox
. OK [READ-WRITE] SELECT completed
很好。我处于READ-WRITE
模式。我检查了另一封邮件,以确保一切正常:
. FETCH 7 FLAGS
* 7 FETCH (FLAGS ())
. OK FETCH completed
. STORE 7 +FLAGS \Seen
* 7 FETCH (FLAGS (\Seen))
. OK STORE completed
超级!我将此标记为可见。但是对于下一个命令,使用相同的命令,即使命令成功,也不会设置\Seen
标志:
. FETCH 8 FLAGS
* 8 FETCH (FLAGS ())
. OK FETCH completed
. STORE 8 +FLAGS \Seen
* 8 FETCH (FLAGS ())
. OK STORE completed
与\Deleted
标志相同。在READ-WRITE
模式下,正常情况下我不能在邮件上放置标志吗?或进行任何测试以检查我的邮箱/邮件是否有问题?
EDIT :
我试图将此邮件复制到另一个邮箱中。该邮件已很好地复制,并带有另一个UID,可读,并且保留了以前邮件应具有的标志:例如,当我选择邮箱时,它设置了\Deleted
标志(但它没有清除,所以我仍然可以检查复制是否成功。
. COPY 8 "TestMB"
. OK [COPYUID 411900 220324 220409] COPY completed
. SELECT "TextMB"
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 411900] UIDs are valid for this mailbox
* OK [UIDNEXT 220410] next expected UID is 220410
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded $Junk $NotJunk Junk JunkRecorded NonJunk NotJunk)
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded \*)] junk-related flags are not permanent
* OK [HIGHESTMODSEQ 425749] modseq tracked on this mailbox
. OK [READ-WRITE] SELECT completed
. FETCH 1:* (FLAGS UID BODY[HEADER.FIELDS (SUBJECT)])
* 1 FETCH (UID 220409 BODY[HEADER.FIELDS (SUBJECT)] {63}
Subject: Enligne_[...]
FLAGS (\Deleted \Seen))
. OK FETCH completed