Summary
- RFC 3463, January 2003, defines enhanced mail system status codes for delivery reports: “a rich machine-readable, human language independent status code”.
- The motive was arithmetic. SMTP offered “about 12 useful codes for delivery reports”, with “only 5 remaining codes for mail system errors”, and the room for finer distinctions “would be completely consumed”.
- The design is a hierarchy:
2.XXX.XXXsuccess,4.XXX.XXXpersistent transient failure,5.XXX.XXXpermanent failure, with the second number naming the subject.
Three digits that ran out
An SMTP reply is three digits and a sentence. The numbering was built for a smaller mail system, with fewer ways to fail and no need to tell a bad mailbox apart from a broken host. By 2003 the arithmetic had caught up: about a dozen codes did useful work in delivery reports, five were left for the whole mail system, and the room for finer distinctions “would be completely consumed”.
RFC 3463 is the patch. It defines enhanced status codes — “a rich machine-readable, human language independent status code” — as three dot-separated numbers any queue can parse without reading a word of English.
Action first, diagnosis second
The first digit is an instruction. 2 means it worked, 4 means try again, 5 means stop. A machine can pick a queue policy from that digit alone, before it understands anything about the cause.
Only then does the second digit name the subject — addressing, mailbox, mail system, network, content, security — and the third sharpen it. The order is not cosmetic. It is the design.
Why the order matters
Retry logic that has to parse prose is retry logic that guesses. Putting the decision in a single digit makes the common case cheap and the rare case merely informative.
It also makes the codes translatable. An operator can localise the sentence without touching the decision, because the decision is not in the sentence. Put the instruction where it can be executed; put the explanation where it can be translated.
What the hierarchy buys a queue
A sender reading 4.x.x keeps the message and tries later. 5.x.x stops and generates a bounce. 2.x.x records success. Blocklists, greylisting and plain bad afternoons become distinguishable policy states instead of one undifferentiated shrug.
That is why a mail queue can survive a bad afternoon without an operator reading error strings in a log at three in the morning.
The limits it leaves
The codes describe what happened, not who is at fault. Providers disagree about which subject covers a given condition, and a queue that reads only the first digit sees bad reputation, policy rejection and malformed content as the same permanent failure.
The hierarchy also only works where it is emitted. A bare SMTP code still says less than the enhanced one, and no amount of good design fixes a sender that never sends the second and third numbers.
The lesson about instructions
A good error code answers the reader’s next question in the order the reader needs it: what do I do, then what happened.
The general lesson is bigger than email. Put the action in the most significant position. Keep the explanation out of the decision path. Expect the explanation to be translated, rewritten and argued over; expect the instruction to stay fixed.
Three digits, one instruction, and a sentence that can say anything. That is a design worth stealing.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






