<source>
Adds to the header with verification results all DNS queries that were needed for it. The default is not to add them.
The benefit is one and clear: when verification gives an unexpected result, this trace shows exactly what the node asked and what it was told. Without it all that remains is to repeat the verification by hand and hope DNS answers the same way.
The trace stays in the message. It is not written to the log — it is added to the message itself and reaches the recipient, the handler, the archive.
Only for the duration of an investigation. And with a comment saying when it was enabled.
Not on a production flow. A dozen extra lines in every accepted message add up quickly.
Manually is often enough. The check command on the node shows the same thing without adding anything to messages.
# TEMPORARY: investigating the verification of one sender <source 198.51.100.0/24> check-spf-inbound true trace-spf-check true</source>
what people get wrong and how it ends1 mistake▶
our experience
1 relation
grep -n trace-spf-check /etc/pmta/config grep -i 'Authentication-Results' /var/log/pmta/pmta.log | tail -3
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.