<source>set by the Hub
The default is false. With the permission, the engine takes the value of the x-job header and makes it the message’s job tag. The header looks simple:
x-job: abc123
The restriction on the value is strict: printable characters, no spaces or non-printable characters. A message is expected to have one such header.
The header does not work with merging. If a message is assembled by merging, the tag is set with the *jobid variable, not with the header — the manual says so directly.
What it is all for: the job tag is the only thing on a node that lets you single out your own mail among other people’s. –jobId for listing, deleting and changing priority relies on it, and so do stopping and resuming a single mailing.
The second half: without the permission the header will not work and there will be no error. The platform will keep setting it, the node will keep ignoring it, and the discrepancy will surface only when someone tries to use the tag.
This is also why queue management in the Hub works the way it does: stopping, resuming and deleting work per queue, not per job. There is nothing to select by job — neither warm-up nor the submission platform sets the tag.
On a node carrying mailings from several senders, this means that a stop affects everyone sending in the same direction.
What to set. The answer depends on who is responsible for the tag’s contents:
| Value | When |
|---|---|
| no (default) | the submission is someone else’s, and there is no reason to let it name job tags |
| yes | the submission is yours, and you want to be able to stop mailings one by one |
The jobid-prefix prefix removes half of the objections to yes: it adds your value to the tag, and jobs from different senders can no longer collide. With the {auth} value the prefix becomes the submitter’s login.
# the permission is granted to the source that submission falls under <source 10.0.0.0/24> process-x-job true jobid-prefix {auth} </source>
what people get wrong and how it ends3 mistakes▶
§ 3.3.7.49
§ 3.3.7.49
our experience
3 relations
grep -n 'process-x-job\|jobid-' /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.