<source>
The default is false: the header is removed before sending to someone else’s server. With true it stays in the message and reaches the recipient.
The manual names independence from the permission to read the header directly for the neighboring pairs — schedule and signing key. The section on this header is silent about the link, and it is reasonable to assume the same rule: processing and retention decide different questions and know nothing about each other.
The contradiction cannot be resolved by reading — only by testing on your own installation. Until it is tested, it is safer to assume the header stays.
The line that actually cleans messages here is a different one: remove-header in every source removes a set of submitting platforms’ service headers. There are no signing headers in that set.
What to set. The default is almost always right:
| Value | When |
|---|---|
| no (default) | the usual case: the recipient has no need to see signing settings |
| yes | investigating your own submission, when you need to see what the message arrived with |
The second case is temporary, for the duration of an investigation. Keeping it on permanently means showing recipients the names of your selectors and signing domains.
# the header stays in the message — only for the duration of a submission investigation <source 10.0.0.0/24> process-x-dkim-options true retain-x-dkim-options true</source>
what people get wrong and how it ends2 mistakes▶
§ 3.3.7.47
our experience
2 relations
grep -n 'retain-x-dkim' /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.