<source>set by the Hub
The line decides whether the node will generate report messages about the delivery outcome for mail accepted from this source — about a bounce, a delay, a success.
Accounting records are written as usual. This is the key point: what is suppressed is not the information about the outcome but the way it is delivered. The data does not go anywhere — it sits in the accounting file and goes out via the webhook, if one is configured.
The line replaced the older deliver-local-dsn, which did the same thing from the sender’s side rather than the source’s, and has been declared obsolete.
The other half: suppression applies to messages accepted from the source, not messages sent to it. It is easy to read the line the other way around, and then it ends up in the wrong block.
It has a replacement, and a real one: outcomes arrive as accounting records via the telemetry webhook — deliveries, bounces, transient failures and complaints. Report messages in this scheme would be a second channel for the same data, only slower and with a load on the queues.
It follows that all the settings for the appearance and content of reports — subject, body, header templates — have no effect for us at all.
What to set. The answer depends on whether you have accounting parsing:
| Value | When |
|---|---|
| false (default) | information about outcomes comes from report messages — the only channel that needs no setup |
| true | accounting is parsed by a machine: from a file, a webhook or both |
The second is the usual choice for a sending platform. But it is worth enabling after accounting parsing has started working, not before: the reverse order leaves you without information for the whole setup period.
# this is how the Hub writes the configuration — outcomes arrive as accounting, not as messages <source 0/0> suppress-local-dsn true</source>
what people get wrong and how it ends3 mistakes▶
our experience
§ 3.3.7.30
§ 3.3.10.9
1 relation
grep -n 'suppress-local-dsn\|deliver-local-dsn' /etc/pmta/config /etc/pmta/virtualhost.txt grep -n -A4 '^<acct-file' /etc/pmta/config
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.