EXPN
An SMTP command that asks a server to expand a mailing list or alias into its member addresses; public servers almost always refuse it.
What it means
EXPN works like VRFY but for lists: given the list name, a server that allows it returns the member addresses, one per line. RFC 5321 records that EXPN came to be used to harvest addresses for spam once lists were protected in other ways. It still asks implementations to support the command but tells sites to weigh the trade-off, suggesting it be offered only to authenticated users, for example to audit how mail is routed inside an organisation.
A site that disables EXPN for security reasons must answer 252 rather than a reply that could pass for a real result. A sender should never expect EXPN to work against another organisation's servers.
Related terms
Sources
What this definition rests on. The wording is ours; the facts are theirs.
- RFC 5321, section 3.5.4: Semantics and Applications of EXPNrfc-editor.org
- RFC 5321, section 7.3: VRFY, EXPN, and Securityrfc-editor.org
All 432 terms in the glossaryThe wiki: blocklists and bounce codes