<domain>
Sets the signature field by which the sender says how to look up the public key. In practice there is one method: a TXT record in the Domain Name System.
It is implied even without the line. The standard names a DNS query as the default method, and receivers look up the key exactly that way whether the field is set or not.
The line remains for the completeness of the signature and for compatibility with old verifiers that expected to see the field explicitly.
Do not set it. The method is implied, the field is optional.
If you do set it — only dns/txt. No other methods are in use.
Check the value by eye. The engine does not validate it: whatever you write goes into the signature.
# the line is optional; if you set it, set exactly this <domain *> dkim-query-method dns/txt</domain>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
1 relation
dkim-sign<domain>Does nothing until signing is enabled. § 3.3.10.25
pmta show settings gmail.com/vmta1 | grep -i query-method grep -i 'DKIM-Signature' /var/log/pmta/pmta.log | tail -3
3 articles
◇Do not send what will fail the check at the receiverThe node checks the SPF of its own mail before sending: if it fails, it bounces the message without waiting for someone else’s refusal.◇How the node signs messages and chooses a keyThe key is chosen by the sending domain from the headers, going through the declarations from top to bottom.◇A message header with which the submitting side adjusts the signatureFive parameters in X-DKIM-Options: selector, domain, signing identity, query method and key list.