<domain>deprecated
The default is true. The line decided whether to generate outcome reports — bounce, delay, delivery — for messages accepted from the domain named in this block.
Accounting records were written as usual meanwhile: only the report messages were suppressed.
The directive has been declared deprecated. The replacement is suppress-local-dsn in the source block, and the difference between them is not only in the name: the old one selected by the message’s sender domain, the new one by the submission source. The latter is more precise: the node knows the source reliably, while the sender domain is set by the submitting side.
The deprecated line is worth looking for in configurations assembled by hand before the move to the Hub: it does occur there and silently conflicts with the new one.
What to set. Nothing: the line should be removed.
| Value | When |
|---|---|
| do not write | always: the task is solved by the source block setting |
| no | only in an old configuration that has not been migrated yet |
The migration is simple: suppression moves into the source block that the submission falls under, and stops depending on what the submitting side wrote in the return address.
# this is how it was before — by the return address domain <domain bounce.port25.com> deliver-local-dsn no</domain>
what people get wrong and how it ends2 mistakes▶
§ 3.3.10.9
our experience
1 relation
grep -n 'deliver-local-dsn\|suppress-local-dsn' /etc/pmta/config /etc/pmta/virtualhost.txt
3 articles
◇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.◇Two inbound report processors and what to do with themBounces by message and complaints are parsed by two identically structured blocks; each has its own address list and its own pair of decisions about the message’s fate.◇Address lists — named and unnamedA list of addresses, domains, patterns or hashes; a named one is attached by directives such as suppression, an unnamed one lives inside an inbound mail processor.