Unsolicited updates and resync
05The server can report changes while a client is connected, and saved UID state helps reconnecting clients.
Check UIDVALIDITY before reusing saved UID mappings.
Key idea: Clients must be prepared for allowed untagged responses.
Rules & examples
Clients must be prepared for allowed untagged responses.
- Clients must be prepared for allowed untagged responses.
- IDLE is incorporated into IMAP4rev2 for waiting on mailbox updates.
- UIDVALIDITY changes invalidate assumptions about saved UID identity.
Examples are illustrative. Consult the linked RFC and its errata for implementation details.
Sources
New to this? Start hereA quick picture + helpful background
The envelope and the letter do different jobs.
Mail transport moves a message between servers. The message format describes its contents. Authentication adds checks; it does not make every message safe.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.