An mailbox I just shoved 1422 dummy messages into the new folder (all unread):
in: 91:rrx2 EXPUNGE 92-7xj7 UID FETCH 1454:* (BODY.PEEK[HEADER.FIELDS (References X-Ref X-Priority X-MSMail-Priority X-MSOESRec Newsgroups)] ENVELOPE RFC822.SIZE UID FLAGS INTERNALDATE)
out: 13375:* 1442 EXPUNGE 13376:* 1441 EXPUNGE 13377:* 1440 EXPUNGE 13378-* 1442 EXISTS 13379:rrx2 OK Expunge completed. 13380-* 1440 FETCH (RFC822.SIZE 21776 UID 1454 FLAGS () INTERNALDATE "08-Apr-2005 19:43:24 +0100" BODY[HEADER.FIELDS (REFERENCES X-REF X-PRIORITY X-MSMAIL-PRIORITY X-MSOESREC NEWSGROUPS)] {42}
The message headers appeared again and no messages in the inbox were readable although Dovecot was sending mails that didn't match with the header OE was showing, after deleting OE's local cache it all worked fine again.
On Fri, 2005-04-08 at 22:21 +0300, Timo Sirainen wrote:
On Fri, 2005-04-08 at 19:55 +0100, Andrew Hutchings wrote:
Right, stop me if I am wrong here as I am no way near an expert on IMAP. As far as I can tell after the EXPUNGE results dovecot gives an EXISTS result, now from what I am observing dovecot is saying the number of mails that were available before the expunge in the exists result after the expunge. OE gets confused by this and invents the missing ones...phew!
That would explain it, but Dovecot shouldn't be sending EXISTS after EXPUNGE unless new mails have arrived. You were able to make it send EXISTS without new mails coming? I kept trying expunges for a while and also sending new mails, but couldn't make it send wrong replies..
-- Andrew Hutchings (A-Wing) Linux Guru - Netserve Consultants Ltd. - www.domaincity.co.uk Random BOFH excuse: Collapsed Backbone