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

Flags and deletion

04

Flags describe server-side message state; deletion marking and expunging are separate operations.

RFC 9051 · § 2.3.2EXAMPLE
3 / 3
03
Expunge

The marked message is removed and sequence positions can change.

Flags and deletionFlags describe server-side message state; deletion marking and expunging are separate operations.Flags and deletionExpunged from mailboxDeletion marking and removal are separate

Key idea: STORE can update flags such as Seen or Deleted under mailbox permissions.

Terms

Look up a term in the glossary ↗

Rules & examples
  • STORE can update flags such as Seen or Deleted under mailbox permissions.
  • Marking Deleted alone does not necessarily remove a message.
  • EXPUNGE permanently removes messages marked Deleted under the command rules.

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 ↗