Summary
- RFC 821's optional
TURNcommand let two SMTP programs swap sender and receiver roles on the same open channel — a cheap way for a dial-up host to collect its queued mail, and an equally cheap way for a stranger to claim it. - RFC 1985's
ETRNcut the grant down to a trigger: the caller names a queue, the server decides whether to run it, opens its own outbound connection, and answers before delivery is known.
A dial-up host, a ticking clock, and one very expensive handshake
SMTP was written for a world where a permanent inbound path was a luxury. A small site dialled its provider, pushed out its outgoing mail, and then faced the awkward part: the provider was sitting on everything addressed to it, and the site had only minutes of connectivity left.
Waiting for the provider's ordinary retry timer meant burning the one window in which the site could be reached at all. RFC 821's answer was beautifully economical and slightly reckless: let the two ends swap jobs without hanging up.
Here is how it worked. The caller had been acting as sender-SMTP, the provider as receiver-SMTP. The caller issued TURN. If the provider replied 250, both programs changed roles on the same transmission channel. The caller became the receiver, sent a fresh service-ready greeting, and waited for the provider to push its queue down the wire. The provider could refuse with 502, and the whole command was optional.
One 250 bought a role reversal, a fresh greeting and a queue delivery, all on a link that had already cost a phone call. The mechanism reused a scarce line. It also reused rather more trust than the line had earned.
A name in HELO was never a deed of ownership
The server still had to decide whose mail the new receiver should get. Early SMTP never authenticated the host name the peer typed. So a rogue caller could borrow a reputation, present someone else's name, ask for TURN, and invite the server to send that site's waiting mail down the open pipe.
That is not a forged line in a header. It is a change of custody for entire stored messages. RFC 1985 later described the hole in blunt terms, and noted that plenty of SMTP and ESMTP implementations had quietly stopped offering TURN because the specification gave them nothing to check the asserted remote name against.
The real problem was the size of the transaction. One unauthenticated assertion moved the caller's role, the server's role, the direction of the existing connection and the destination of the queue — all inside a single 250.
ETRN: ask for the work, don't take the mailbag
RFC 1985 kept the operational need and shrank the grant. A server that supports the extension advertises ETRN after EHLO. The client supplies a node name and asks the server to start processing the corresponding queue. It can make the request once a session is established, but not in the middle of a mail transaction — not between MAIL FROM and the completion of DATA.
The server inspects the requested scope and makes a local administrative decision. If it accepts, it starts its retry queues and uses another SMTP connection to send toward the named remote site. The original caller remains the caller. It does not become the receiver on the control channel, and no stored envelope is handed over simply because it knew a name.
The separate connection is not magical authentication. It is a new evidence boundary. DNS, route selection and the receiving SMTP transaction decide where the server can connect and whether each message is accepted. Those checks are imperfect, but they are independent of the bare claim made on the trigger connection.
A 250 meant "started", not "delivered"
Queue work takes as long as it takes. RFC 1985 sets no deadline for the outbound connection to appear, so the command answers promptly instead of holding the control session hostage until the queue drains.
That 250 means the request was satisfactory and queue processing began. It does not mean mail was waiting, that a connection succeeded, or that any recipient accepted anything. The optional 251, 252 and 253 replies disclose progressively more about what the server did or could not do — but they remain reports from the queue-holding server, not end-to-end delivery evidence.
Operationally, this is the whole ballgame. A monitoring system that records an ETRN 250 as "mail delivered" throws away the exact uncertainty the extension was built to preserve. Trigger accepted, connection attempted, message transferred, delivery confirmed: four different records, four different truths.
The queue stayed local property
The simplest ETRN parameter is a fully qualified node name. RFC 1985 also defined @domain to activate queues for the named domain and its subdomains, and #name to select a locally defined queue such as a UUCP spool.
Convenience cuts both ways. A careless suffix such as @com can release an ocean of work and jam the pipes. A local # name has no global dictionary, and the protocol offers no method to enumerate every queue that exists. The server has to authorise the caller-and-scope combinations that make sense for its own storage model.
Syntax therefore coordinates a request without nationalising the queue. IANA can register the keyword ETRN; it cannot decide which customer may wake which workload.
Deprecation is a trust budget, written down
RFC 2821 deprecated TURN, and RFC 5321 kept the verdict: SMTP systems should not use it unless the server can strongly authenticate the client asking for the role switch. Encryption alone would not settle it either — the relevant question is whether the authenticated principal may receive this particular queued mail.
RFC 5321 went further and described a smaller optimisation still. If mail arrives from a host, a server may treat that contact as a hint to retry mail queued for the same host. No explicit "send the queues now" command is required. The hint nudges local scheduling without becoming remote ownership of the queue.
The current IANA registry preserves both historical names while marking TURN and ETRN as unsuitable for the message-submission service. Being allowed to submit mail on port 587 does not entitle you to wake a delivery queue.
The lesson was never really about mail
Internet mail did not abandon intermittently connected hosts. It stopped making their convenience depend on one oversized transfer of authority. The caller could trigger work. The queue holder could authorise and schedule it. A separate SMTP path could test delivery. None of those facts had to impersonate the others.
That is the durable design move, and it outlived the dial-up modem: shrink the grant until the request no longer carries the thing it asks for.
Sources
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.






