Visual RFC.
ALL RFCs / RFC 9051
Read the RFC ↗
RFC 9051 / MECHANISM GUIDE

UIDs versus sequence numbers

02

Sequence numbers track current positions; UIDs support persistent synchronization.

RFC 9051 · § 2.3.1EXAMPLE
3 / 3
03
Keep UID identity

UIDs for the surviving messages remain associated with their original identities.

UIDs versus sequence numbersSequence numbers track current positions; UIDs support persistent synchronization.UIDs versus sequence numberssequencestable UID11052110UIDVALIDITY + UID preserve message identity

Key idea: A UID is a nonzero 32-bit value that increases within a mailbox.

Terms

Look up a term in the glossary ↗

Rules & examples
  • A UID is a nonzero 32-bit value that increases within a mailbox.
  • UIDVALIDITY is needed to interpret persisted UID state.
  • Sequence numbers can change when messages are expunged.

Examples are illustrative. Consult the linked RFC and its errata for implementation details.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
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.

All chapters in RFC 9051

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗