<source>
The directive names your own header in place of x-job. The point is to accept messages from a platform that already tags mailings with its own header without making it rename the header for the engine.
There is no default: if it is not written, the usual method is used.
The manual names the order of precedence directly. If the label can be taken by other means — allowed reading of x-job or the *jobId merge variable — they take precedence. The header named here works only when the higher-ranking methods produced nothing.
About the fate of the header itself the section is silent: whether it is removed before delivery, like x-job, the manual does not say, and it has no paired “retain” directive.
The other half is the manual’s silence about whether the named header is removed. You will have to check with your own mailbox: if it reaches the recipient, your campaign name travels along with it.
The directive would be useful where a Hub node accepts mail from another platform that has its own campaign header — but such submission goes under a shared login and without labels in our setup.
What to set. There is one value — a header name, and what you choose is not the value but whether the line is needed at all:
| Value | When |
|---|---|
| do not write it | the submitting side can set x-job |
| a header name | the platform already tags mailings with its own header, and it cannot be changed |
If the line is needed, it is reasonable to turn off x-job reading on the same source: two methods at once produce a non-obvious precedence.
# the label is taken from the platform's header, the standard method is off <source 10.0.0.0/24> jobid-header Campaign-Id process-x-job false </source>
what people get wrong and how it ends2 mistakes▶
§ 3.3.7.50
§ 3.3.7.50
2 relations
grep -n 'jobid-header\|process-x-job' /etc/pmta/config /etc/pmta/virtualhost.txt pmta show jobs --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.