<source>set by the Hub
The default is true: having accepted a message, the node adds its own Received. Every mail server does this — the header records who accepted the message, when and from whom, and such marks add up to a transfer chain used later to reconstruct the path.
With false the node does not appear in the chain at all. The message reaches the recipient as if nothing came before their server.
There is also a softer option: hide-message-source keeps the header but removes from it the name and address of whoever submitted the message. It solves the privacy task without breaking the chain — if privacy is exactly the task.
The other half: receivers look at the chain. A message with not a single mark between the sender and the receiver looks unusual — not fatal, but not a plus either.
The reason in the template is recorded briefly: hiding the source. The Hub does not write the soft form hide-message-source — and rightly so, it would be useless: there is nothing to edit in the contents of a header that does not exist.
What to set. A choice between investigability and privacy:
| Value | When |
|---|---|
| true (default) | the chain is needed for investigations, and the soft form hides the internal details |
| false | the submitting side must not be visible at all — and the trail for investigations disappears with it |
The middle option is true plus hide-message-source: the mark is there, but the submitter’s name and address are not in it. It is more honest than the second and almost as closed.
# this is how the Hub writes the configuration — the node does not appear in the chain <source 0/0> add-received-header false remove-header X-PreviewEmail,X-Mailer,X-Priority </source>
what people get wrong and how it ends2 mistakes▶
§ 3.3.7.36
our experience
2 relations
grep -n 'add-received-header\|hide-message-source' /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.