<source>
The directive prepends its value to the job tag the submitting side sent in the header. It has no default: if it is not written, there will be no prefix.
A reserved form of the prefix is named separately — {auth}. With it the prefix becomes the login the message was submitted under. The manual also gives the case it was made for: a relay service distinguishes each of its users’ mail this way without requiring anything of the users themselves.
The prefix makes sense only where a tag appears at all — that is, with reading the header allowed: process-x-job.
The reserved {auth} solves this without negotiating with clients, but it works only where submission goes under a login. On a source without authentication there is nothing to substitute.
The Hub issues submission logins one per “domain plus sending address” pair, so the reserved value would hit the target exactly here, if job tags were used at all.
What to set. A choice between two kinds of values:
| Value | When |
|---|---|
| {auth} | submission goes under logins, and separation by submitter is needed |
| a string of your own | submission comes from one login, and separation by node, site or client is needed |
| do not write it | job tags are not used at all |
The string is worth keeping short: it is prepended to every tag, and tags are later used for manual selection on the command line.
# the prefix becomes the login the message was submitted under <source 10.0.0.0/24> process-x-job true jobid-prefix {auth}</source>
what people get wrong and how it ends2 mistakes▶
§ 3.3.7.48
§ 3.3.7.48
2 relations
grep -n 'jobid-prefix' /etc/pmta/config /etc/pmta/virtualhost.txt pmta show jobs --maxitems=20
3 articles
◇The source default is the bottom rung, tied to whoever connectsA source block matching the sender’s address can name a default stream; it applies when no choice was made higher up the ladder.◇How a message gets into the engineSix described submission methods: extended SMTP, four language bindings and a directory the node watches on disk.◇A license for a fleet, not for a serverThe license is not bound to a server: it is installed on as many machines as the instance limit allows, and the nodes send volume statistics to the vendor every hour.