Re: [Imap-protocol] Missing UIDNEXT during mailbox synchronization
Michael M Slusarz <[email protected]>
| Newsgroups | gmane.mail.imap.general |
|---|---|
| Message-ID | <20121228112725.Horde.cM7EjLQoqQDix9dQMs5KcA1@bigworm.curecanti.org> |
Quoting Jan Kundrát <[email protected]>: > Hi, > I've received a report that Courier 4.5.0 sometimes doesn't return > UIDNEXT when syncing a mailbox, violating RFC 3501. Trojita used to > hit an assert in such case which was clearly my bug. This has now > been fixed. Courier definitely does this, and it is not against spec. From RFC 3501: OK [UIDNEXT <n>] The next unique identifier value. Refer to section 2.3.1.1 for more information. If this is missing, the client can not make any assumptions about the next unique identifier value. For cache purposes, you can workaround a missing UIDNEXT response by doing a 'UID FETCH * (UID)' in the mailbox. For empty mailboxes, use the returned UID value (which is defined as the UIDNEXT value). Otherwise, you can add 1 to the returned value and use this as the UIDNEXT-ish value. michael _______________________________________________ Imap-protocol mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol