<domain>
By default the signature covers the whole body: any footer appended at the bottom breaks it. This line adds the length of the signed part to the signature, and everything after that length is not protected by the signature — it can be appended with no consequences.
Why people enable it. Gateways, antivirus software and corporate servers add their lines at the bottom — “scanned,” a company signature, a warning about an external sender. With a regular signature such messages arrive with a failed check.
The price is high. The signature stops vouching for the end of the message. Anyone along the way can append arbitrary text at the bottom, and the check at the recipient will still pass — the message will look authentic.
Do not enable it. It is the only line in the signing family that weakens the signature itself.
If the recipient’s gateway appends. The right answer is to negotiate with it or accept the failed check at that recipient, not to open messages for appending to everyone.
Major receivers treat such a signature worse. For some of them, a length limit in itself lowers trust in the message.
# DO NOT ENABLE: the signature stops vouching for the end of the message <domain corp.example.com> dkim-add-body-limit true</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.19
pmta show settings corp.example.com/vmta1 | grep -i add-body-limit 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.