<source>
The default is false: the engine removes the header before sending. With true it stays in the message and reaches the recipient.
The condition of applicability is named plainly here, and this is what sets the directive apart from its family neighbors: it is used only if reading the header is allowed and the header is present in the message. For the signing and schedule pairs, on the contrary, the manual stresses that the halves are independent.
What to set. The default is right almost always:
| Value | When |
|---|---|
| no (default) | the usual case: the recipient has no need to see your mailing’s name |
| yes | the message goes to your own seed mailbox, and the label needs to be seen by eye |
The second case is about seeding and investigations, and it should be kept on a separate source, not on the general one.
# the header stays in the message — only for your own mailboxes <source 10.0.0.5> process-x-job true retain-x-job true</source>
what people get wrong and how it ends2 mistakes▶
§ 3.3.7.51
our experience
2 relations
grep -n 'retain-x-job' /etc/pmta/config /etc/pmta/virtualhost.txt
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.