Deletion and UPDATE
04DELE marks a message; QUIT from the transaction requests actual deletion processing.
In an orderly transaction, QUIT enters UPDATE and processes the marked deletions.
Key idea: RSET can clear deletion marks during transaction.
Rules & examples
RSET can clear deletion marks during transaction.
- RSET can clear deletion marks during transaction.
- Abnormal disconnect does not enter UPDATE and must not remove messages.
- UPDATE errors can leave some or none of the marked messages deleted, within the specified constraints.
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.