Summary

  • RFC 5321, October 2008, is the current SMTP specification, and it states its objective in a single line: “to transfer mail reliably and efficiently”.
  • It asks almost nothing of the network. SMTP “is independent of the particular transmission subsystem and requires only a reliable ordered data stream channel”.
  • Reliability comes from relaying, which the document calls “an important feature”: mail “may pass through a number of intermediate relay or gateway hosts on its path from sender to ultimate recipient”.

A pipe, a promise, and nothing else

Here is the entire demand SMTP makes of the network beneath it: a reliable, ordered stream of bytes. Not a session. Not a guarantee. Not a receipt. A pipe that hands over the bytes in the order you sent them.

Everything else — whether the message arrives, whether a human reads it, whether the far end is telling the truth — is delegated to a chain of hosts who each agree to try.

Reliability by custody

Each hop accepts a message and then accepts responsibility for it. It writes it down, tries again later, and eventually forwards it or returns it. No host in the chain promises the whole path will work. Each promises its own segment, and only until the next host says hello.

That is a chain-of-custody model. It is why mail survives a destination that has been broken for days. It is also why nobody — not the sender, not the sender's server, not the specification — can tell you whether your message reached a person or merely reached a queue.

Why not end to end

Because the ends are not reliably present at the same time. Two networks may share no session. An organisation may be offline for a weekend. A downstream host may be drowning. A protocol that demanded a live connection from sender to reader would fail constantly, and fail silently, which is worse.

Store-and-forward converts time into storage. Storage is cheap. That is the whole trade, and it is why the model won.

What the model costs

Delivery is a promise, not a receipt. The protocol has no way to say whether a human read anything, which is why read receipts are a separate scheme bolted on afterwards, with weak footing and worse uptake.

Failures come back as new messages. That makes bounce handling a parsing problem, and it makes a bounced bounce a loop the specification has to detect explicitly — an entire section of the RFC exists because the system can talk itself in circles.

Compensating for irregularities

The document carries a section on loop detection and a section on reliable delivery and replies by email. Read together, they are the honest shape of a system that cannot enforce behaviour at the far end: here is what to do when the other side does something strange, because you cannot go back and correct it.

Every rule about malformed responses exists for the same reason. The sender has already let go.

What the chain bought

Interoperability across organisations that share almost nothing else: different networks, different software, different schedules, different opinions about what an error message should say.

That is a thin common layer doing exactly what a thin common layer should do — specifying the minimum that must be identical, and leaving everything else to the operators who bear the consequences. Any system with that much reach will accumulate ambiguity. SMTP bought reach instead of certainty, and it bought them cheap.

The lesson about custody

Reliability by custody is robust and unverifiable at the same time. Both halves are true, and the difference matters every time someone asks whether something arrived.

The general lesson: when a chain of handoffs is the design, say plainly what each handoff promises. Users will describe the system by the promise. Engineers will maintain it by the queue. A successful handshake proves only that the next host agreed to try — and a protocol honest enough to admit that is worth more than one that pretends otherwise.