Summary
- POP3 numbered messages only after opening the current maildrop, so a message left on the server could slide from number 2 to number 1 overnight. The earlier LAST command remembered a single highest-number frontier — not durable, per-message identity.
- RFC 1725 removed LAST and added optional UIDL. The unique-id persisted across sessions within one maildrop, letting the client keep its own seen-state, while RFC 1939 pointedly refused to promise a worldwide identifier, one token per physical copy, or indefinite retention.
On Monday, a POP3 client opens a maildrop holding three messages. It downloads the one in the middle, leaves it on the server, and calls it number 2. Overnight, message 1 is deleted. On Tuesday the client reconnects and finds the message it so carefully stored is now number 1.
Nothing broke. POP3 hands out positions only after it opens the current maildrop: first message 1, second message 2, and so on. A number is a tidy operand for RETR, DELE or LIST during that one transaction. It is not a name. It is a seat number in a theatre that reseats the whole audience every night.
That distinction started to matter because POP3 was built for machines that could not stay plugged in. Its founding premise was a small workstation or personal computer too thin, or too poorly connected, to run a resident mail transport. A server held the mail in a maildrop; the client dialled in, grabbed what it needed, and hung up. Normally it downloaded the messages and deleted them.
Then users asked to “leave mail on server,” and the simple protocol caught a memory problem. On the next connection, how does a client avoid re-downloading every retained message? The server could stay dumb if it handed out a stable token and let the client remember which tokens it had already handled. But a session position — or a single “highest number seen” — could not safely carry that load.
The UIDL command was the narrow answer: it paired the current message number with an identifier built to survive reconnection.
LAST remembered a frontier, not a set
RFC 1460, published in June 1993, called the session positions message IDs — a phrase grand enough to sound permanent. After the server parsed the maildrop, it numbered the first message 1, the second 2, the nth n. The terminology promised durability; the mechanism was pure position.
That version also carried a LAST command. The server reported the highest message number accessed in previous transactions, and the client inferred that anything higher was new. Retrieving or deleting a higher number pushed the frontier forward; RSET shoved it back to zero.
The model squeezed history into one integer, and it worked only while “already handled” formed a clean prefix. It could not describe a hole where messages 1 and 3 were stored locally but 2 was not. It could not tell two clients with different local histories apart. A reset wiped the frontier. Delete a lower message and the meaning of every later position shifted beneath your feet.
A high-water mark answers “how far did some access get under this ordering?” It does not answer “is this particular thing the one this client already has?”
RFC 1725 made the change almost ostentatiously visible in its revision list: it removed LAST and added optional UIDL. The text never claimed a single causal chain, but the paired edits swapped one coarse, server-held progress marker for a per-message token from which a client could build its own memory.
UIDL joined a temporary position to a persistent token
Inside the transaction state, UIDL takes a message number or no argument at all. Give it one message and the server returns the current number plus its unique-id. Give it nothing and it returns a multiline listing for every message not marked deleted.
The two columns live on different clocks. The number tells the client how to address the message in this open maildrop. The unique-id tells it whether the server regards the entity as the same one it met last time.
RFC 1939 defines the token as an arbitrary, server-determined string of one to 70 printable characters. It must uniquely identify a message within a maildrop and persist across sessions — even, and this is the clause that matters, if the earlier session ended without ever reaching the UPDATE state.
That abnormal-ending rule is the quiet hero of the design. A client may have received and stored a message before the line dropped. Because the session never completed normally, the server must not delete the messages marked for deletion. On reconnect the same message is still there. If its UID changed merely because the earlier transaction never reached UPDATE, the client would either download a duplicate or make a destructive decision on broken memory.
So the server should not recycle a unique-id within that maildrop for as long as the entity using it exists. Reuse would let a new or different entity impersonate an old entry in the client’s local ledger — a forged signature in the only book that matters.
UIDL thus drew a clean division of labour. The server assigned and preserved a scoped identity. The client stored the policy-specific fact that it had retrieved, displayed, archived or otherwise handled that identity. POP3 never had to become a full remote mailbox manager to support careful retrieval.
“Unique” was deliberately narrower than one stored copy
The specification refuses to inflate UIDL into a global message identity. The token is unique within a maildrop. The same string in another account, server or maildrop carries no defined relationship. It is not the Internet message header Message-ID, not proof of sender identity, not proof of delivery, not an integrity signature.
Nor is it necessarily one-to-one with physical copies. RFC 1939 says servers generally should store arbitrarily assigned IDs, but it explicitly permits computing them as a hash of the message. Clients must therefore cope with two identical copies in one maildrop sharing a single unique-id.
That exception pushes multiplicity outside the token. If a listing shows the same UID twice at two current numbers, the client cannot silently collapse them into one row just because its cache keys on the UID. The identifier answers a bounded recognition question; it may say nothing about how many indistinguishable copies the server currently holds.
This is a lesson in evidence discipline. Protocol names tempt implementers to upgrade scope: unique becomes globally unique, persistent becomes permanent, identity becomes authenticity. UIDL’s own text blocks each escalation. Its authority is enough for cross-session recognition inside one maildrop — subject to a specified collision case — and no more.
Persistence did not promise retention
An identifier can persist for an entity while the entity exists without requiring the entity to exist forever. RFC 1939 warns that leave-on-server use can pile up hundreds or thousands of already-read messages. Operators may impose quotas or local retention policies and may delete messages outside the POP3 command flow, provided users are told.
A client therefore cannot treat an old UID as a storage guarantee. If it stops appearing, the server may have applied policy, another client may have deleted the message, or the listing may simply have failed. The client needs evidence about the current session before it turns absence into a conclusion.
RFC 2449 later introduced the POP3 extension mechanism, because optional commands and behaviours had until then been discovered by probing, if at all. A UIDL line in the CAPA response tells a client that UIDL is supported. It does not certify the quality of the server’s UID assignments or prove the server will keep any given message.
The same RFC defined EXPIRE to advertise the minimum retention behaviour a site may apply: a number of days, zero, or NEVER. Even that capability deliberately cannot name an exact expiry time for a particular message. A site may start its clock on arrival, on first listing, on retrieval, or on some other event entirely.
Capability, identity and retention were three separate facts. UIDL said how to recognise an entity while it was served. CAPA said the command was available. EXPIRE bounded site policy. None could stand in for the others.
A simple server moved durable memory to the edge
RFC 1939 strongly encouraged the optional commands over augmented listing formats, and it stated the design philosophy without flinching: put the intelligence in the POP3 client, not the server. UIDL obeyed the allocation.
The payoff was architectural economy. The server needed no synchronised read/unread model for every device. Different clients could keep different local ledgers. A transient connection could resume useful work by comparing a small listing instead of hauling down every body.
The bill came due as transferred responsibility. Lose the client’s UID database and it may re-download retained mail. Regenerate identifiers during a server migration and every client may read old content as new. Treat a UID as a content identity and identical copies slip through. Treat a missing UID as proof of successful local storage and a retention policy turns a bookkeeping slip into permanent loss.
The historical value of UIDL was never that it solved mailbox synchronisation. It drew a narrow, workable line between two clocks. The server knew which entities still occupied the current maildrop. The intermittently connected client knew which of those entities it had seen before.
The number lasted for the session. The identifier lasted long enough for memory to cross the disconnection.
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.






