<source>
Enables DKIM signature verification on incoming messages. If a message carries a signature header, the node verifies it and writes the result into the same header as the other entry checks.
The difference from SPF and the return address check is fundamental: there are no refusals here. Those have three reject-* lines each, this one has none. The engine can only check and record; the decision about what to do with the message rests with whoever reads the header further down the chain.
Not every message has something to check. Without a signature header the check is not performed at all — there will be no result, and that is not the same as a failed check.
It is safe to enable. There are no refusals based on the result, and acceptance of the message does not change with any outcome.
It is most useful for report intake. Complaints and reports come from mailbox providers and are usually signed; the check separates real ones from forged ones.
Someone has to read the result. Without a processor that looks at the header, enabling it achieves nothing.
# we accept reports from outside — separating real ones from forged ones <source 0/0> check-dkim-inbound true check-arc-inbound true </source>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
2 relations
grep -n check-dkim-inbound /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.◇The group that grants management rightsMembership in the pmta group gives an unprivileged user the right to call the node’s commands and use submission.◇How the node selects a source and combines its settingsA connection falls under all source blocks whose addresses cover it, and they act merged — the narrow one overrides the wide one; named blocks are attached only by direct reference.