Every email you have ever sent ends with a small lie. The message finishes with a line containing a single period, and that period means "nothing follows" — unless the message genuinely ends with a line containing a single period, in which case it means "one more period follows."
That is dot-stuffing, and it worked for nearly two decades. Then, in December 2000, RFC 3030 did something quietly radical: it counted.
Gregory Vaudreuil's memo added two SMTP extensions. CHUNKING lets a sender transmit a message in blocks using the BDAT command, whose first argument "indicates the length, in octets, of the binary data chunk." BINARYMIME lets those blocks carry raw binary instead of base64. With a length on the table, the receiver stops hunting for a terminator and simply counts. And then, in the same breath, the memo ordered every server that speaks BDAT to keep speaking DATA. The better mechanism arrived. The dot stayed.
How a message ends: one dot, and the dots inside it
The original arrangement is easy to describe and awkward to live with. A mail transfer sends the message text, then a line containing a single period, and the receiver knows the message is over. Any line of the message that begins with a period has to be doubled on the way out and undone on the way in, so that a real line of one dot cannot be mistaken for the ending.
Jon Postel's RFC 821 codified the ritual in 1982, and RFC 5321 still carries it. It works. It also means the receiver must read the entire message to find its end, and every implementation must be able to look at arbitrary octets and decide whether a period is a period or an escape. Nearly two decades of mail ran on that, and it set a price on size: every extra megabyte had to be scanned at both ends before anyone could be sure the message had finished.
Say how many octets, then stop counting
RFC 3030's replacement is almost embarrassingly plain. The sender issues BDAT with a chunk size in octets, and the data follows immediately after the command line. The receiver counts that many octets, answers 250, and waits for the next command. A final chunk carries the optional word LAST, and a last chunk may even declare zero octets — a message that ends by announcing it has nothing left to say.
Once the length is stated, the receiver no longer scans for a terminator. The dot loses its job. That is what makes binary transmission possible in the same document: BINARYMIME can only be used together with CHUNKING, because a binary body cannot be trusted to survive a search for a period at the start of a line.
Why counting is not just tidier
The memo gives the counting a practical reason. For large messages "there is a performance-based desire to eliminate the requirement that the message be scanned for 'CR LF . CR LF' sequences upon sending and receiving to detect the end of message," and for binary bodies a matching desire to avoid "the overhead of base64 and quoted-printable encoding."
There is a mechanical reason too. When a message is large, converting the whole thing to canonical CRLF form in one pass may not be feasible, so CHUNKING "provides a mechanism to convert the message to canonical form, accurately count the bytes, and send the message a single chunk at a time." The count is computed by the piece that did the conversion, which is the only party that can know it.
Counting changes failure as well. An error such as a full disk "can only be reported after the BDAT segment has been received," so the memo tells implementors to pick a chunk size suited to the expected bandwidth, and requires a reset after a failed chunk because the state is otherwise indeterminate.
And the dot stayed
The compatibility clause is the part that matters for anyone who believes standards replace things. "Servers that offer the BDAT extension MUST continue to support the regular SMTP DATA command." A server may accept BDAT and must still accept DATA; a client may use BDAT and may still use DATA.
So the end-of-data dot never went away. It sits in every server's parser beside the counter, and mail software still carries both paths. The extension added a better mechanism without being permitted to retire the old one, because the old one is installed everywhere and the new one is optional.
A two-argument verb with a long shadow
BDAT is a two-argument command. Its consequence is larger than its syntax: it moved the definition of "end of message" from a pattern in the data to a number in the command — the difference between a format that must be read and a format that can be measured.
That is the recurring shape of protocol repair. The old convention is a sentinel; the new one is a length; the standard introduces the length while promising to keep the sentinel. Lu Heng's Note on minimum specification and voluntary adoption states the general law: "A proposal is not reality. A recommendation is not reality. A document is not reality."
The dot survives because compatibility is not a courtesy in this system. It is the condition under which anything new is allowed to exist at all.
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.






