The short version

  • RFC 2384 (1998) folded a POP3 host, port, mailbox name and authentication choice into a single URL — and pointedly left the clear-text password out of it.
  • Its lasting rule: a URL can name a destination and propose a mechanism, but it cannot, by itself, authorize releasing a stored credential to that destination.

The string that promised a mailbox

Randall Gellens had a modest problem and solved it with unusual discipline. A mail program in the late 1990s needed more than the name of a mailbox: it needed a server, sometimes a non-default port, an identity, and a decision about how to authenticate. Scatter those across preference panels and they multiply into support calls. Fold them into one string and they travel.

RFC 2384, the POP URL Scheme, published in March 1998, did the folding. The shape was pop://<user>;auth=<auth>@<host>:<port>. The host was the only indispensable piece; the port could vanish into POP3’s default of 110; identity and mechanism could be present or absent; awkward characters could be percent-encoded. One string, parsed, was enough to begin a POP3 session.

Begin is the operative word. The URL proposed a route into a mailbox. It did not certify that the route came from a trustworthy source, that the named host deserved a credential, that the server was the intended one, that the chosen mechanism was safe, or that the session would succeed. RFC 2384’s real gift is not the pop scheme. It is the refusal to let a tidy string impersonate a proof.

A password was absent. The risk was not.

RFC 2384 banned the clear-text password from the URL, and that was the easy half. URLs travel through documents, config stores, referrals, logs and interfaces; a password baked into the reference would leak everywhere the reference went. Keep it out, and the exposure surface shrinks.

But deleting the password from the string did not delete the credential decision. A client might already hold a password from an earlier login. It might prompt the user after the URL opened. It might run APOP or invoke POP3’s AUTH with a SASL mechanism. The URL could make a secret move without ever containing it.

The document said so plainly. It warned that URLs arrive from untrusted places and that credentials sent to the wrong server could hand over the account. Its security section sharpened the point: a client holding a stored clear-text password was not allowed to spend it on a POP URL without explicit permission to give that password to the named host. That is a stricter rule than “don’t put secrets in links.” The question is not only what the link contains. It is what the software does because the link arrived.

Two identities wearing one label

The URL carried what the RFC called a user name, but the document noticed that two ideas were squeezed under the label. An authorization identity says which mailbox to open. An authentication identity says whose credential to check. Often the same string; never the same job.

The same split applied to the mechanism. A URL could name a SASL mechanism, APOP, or an extension. Name one, and the client was not to quietly swap in another without explicit permission. The string constrained a proposal; it did not license an invisible substitution.

The wildcard, ;AUTH=*, made the danger legible. It told the client to pick something suitable and let the server’s supported set decide. More quietly, a URL that gave a user name but no mechanism implied that wildcard. A plain-looking address could open a negotiation, and the outcome — strong mechanism or convenient weak one — depended on the server’s menu, the client’s preference order and its fallback habits. RFC 2384 told clients to treat the wildcard carefully because it might slide to something weaker. Its “stronger than 56 bits” line is a 1998 artifact, not a modern threshold. The structural warning still bites: an unspecified choice is still a choice, and fallback is still policy.

Five ways to cross the credential line

Rather than pretend grammar could settle trust, RFC 2384 left the decision local. Before honoring authentication requested by a URL, the resolving program had to satisfy at least one of five conditions: the URL came from a referral source already validated under site policy; explicit local policy permitted the named server, perhaps within a known domain; the user confirmed the exact domain along with the credential or mechanism; the mechanism validated the server before revealing anything compromising; or the mechanism revealed nothing the recipient could reuse.

These are not five spellings of one trust claim. They hand authority to different actors and different evidence. A validated referral ties trust to provenance. Local policy ties it to an administrative rule. Confirmation ties it to a human decision about one destination. Server validation ties it to the exchange itself. A non-disclosing method changes the consequence of meeting the wrong party. The URL’s author controlled a proposed destination. None of the five automatically handed that author the credential.

Why relative URLs were banned

RFC 2384 forbade relative POP URLs. A mailbox reference could not borrow its host from some ambient base in the surrounding document; the destination had to sit in the absolute string. That killed one ambiguity, not every authority problem. An explicit hostname can still come from an untrusted party. A syntactically complete URL can still point at the wrong operator. Percent-encoded parts can parse perfectly and still lead somewhere unsafe. Completeness proves the instruction can be read. It does not prove the instruction should be obeyed.

The errata that didn’t add up

Two later errata make the evidence boundary unusually concrete. The RFC printed an APOP exchange whose digest did not match the displayed challenge combined with the example password; Errata 2943 supplied the corrected digest. Another example named SCRAM-MD5, when the mechanism of the day was CRAM-MD5; Errata 2942 was held for a document update because renaming it would also change the encoded exchange.

Narrow fixes to examples — not a deployed incident, not a rejection of the scheme. Yet they teach a discipline. A transcript can look protocol-shaped and still fail when you check the bytes. A mechanism name can sound right and still not name the thing an implementation can run. Representation, parse success, credential release, authentication success and mailbox access are five different receipts.

A small protocol with a large lesson

The POP3 world around it was deliberately simple. RFC 1939 split a session into authorization, transaction and update states. RFC 1734 added AUTH; RFC 2222 supplied SASL; RFC 2449 later let servers advertise capabilities. RFC 2384 refused to swallow all of that into URL syntax. The restraint is the point. The URL carried the minimum portable configuration needed to approach a service; the risky calls stayed where evidence could be weighed — in the client, in site policy, in the user’s confirmation, in the authentication exchange. The common layer stayed deterministic. The judgment stayed local.

That is also why a successful connection is not the final proof. A client can reach the host without authorizing disclosure. It can authenticate without opening the intended mailbox. It can open the mailbox without fetching the expected mail. It can fetch bytes without storing or showing them right. Every step needs its own observable result.

RFC 2384 made a mailbox easier to name. Its sharper legacy is the boundary it drew: naming a destination does not grant that destination power over the credentials needed to reach it. Modern deep links, OAuth redirects and single-sign-on flows rediscover that boundary the hard way, one over-permissive callback at a time. Gellens wrote the rule down in 1998. It has not aged a day.

Sources