SMTP extensions used to submit a mail merge over an ordinary mail connection, without a binding.
Three commands: XMRG replaces MAIL FROM and keeps its extensions — DSN, VERP; XDFN sets variables for the recipient that follows, as name=value pairs; XPRT replaces DATA and transfers one part — with a number, and the last one marked LAST.
A part is transferred as with DATA: with dot escaping and a dot on a separate line at the end.
Three commands:
| Command | Replaces | What it does |
|---|---|---|
| XMRG | MAIL FROM | sender and extensions |
| XDFN | — | variables for the next recipient |
| XPRT | DATA | one part; the last one with LAST |
XMRG FROM:<travelAlerts@example.port25.com> VERP XDFN FName="Bob" *parts=1,3 RCPT TO:<bob@example.port25.com> XPRT 1
3 relations
allow-mailmerge<source>The directive that enables this mechanism. § 11.19.3
grep -rn 'allow-mailmerge' /etc/pmta/
3 articles
◇Personalization inside the engineVariables are set per recipient, and the node substitutes them at delivery — one submitted message goes to many recipients with different content.◇How a message gets into the engineSix described submission methods: extended SMTP, four language bindings and a directory the node watches on disk.◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.