<source>
The default is false. With the permission the engine takes the value of the x-envid header, makes it the message’s envelope identifier — the very one that goes into delivery notifications — and removes the header.
The standard way to set the envelope identifier is different: the ENVID parameter of the MAIL command in the protocol itself. The manual names directly the case the header was made for — the submitting application does not allow control of this parameter. Then the same value is passed as a message header.
Without the permission the header is ignored and, as the section says plainly, stays in the message.
The envelope identifier is the second of the two submission labels. Unlike the job label, it identifies one message rather than a group, and serves as the –envId filter in listing, deletion and priority change.
The second half is the usual one for this family: without the permission there will be no error — the header will simply go to the recipient along with your internal message identifier.
The envid field is part of the record-fields asterisk, which the Hub sets for all record types — so it arrives in telemetry with every record and is always empty. The Hub links events to sends by the recipient address and the sending address, not by a message identifier.
What to set. There is exactly one question — whether the submitting side can say it via the protocol:
| Value | When |
|---|---|
| no (default) | the envelope identifier is not needed or is set with the MAIL command parameter |
| yes | the submitting application does not allow control of the parameter, and there is no other way |
The second is precisely a workaround, not an equivalent replacement: a protocol parameter does not travel in the message body and cannot end up with the recipient.
# the header is needed where the submitting application cannot set the ENVID parameter <source 10.0.0.0/24> process-x-envid true</source>
what people get wrong and how it ends2 mistakes▶
§ 3.3.7.44
§ 3.3.7.44
1 relation
grep -n 'process-x-envid' /etc/pmta/config /etc/pmta/virtualhost.txt pmta list --envId=order-40213 --maxitems=20
3 articles
◇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.◇Headers the sender uses to control deliverySix control headers let the submitting side choose a stream, tag a message with a job, set signing options and the key, the envelope identifier and the schedule; each is allowed separately and per source.