Skip to main content
Enter TitanOS

Email authentication error

DKIM fails after forwarding or a mailing list: what changed and what to do

A DKIM signature is a seal over the message's chosen headers and its body. If anything inside that seal changes on the way, the signature stops matching and the receiver records dkim=fail, even though your key and your DNS record are perfect. Mailing lists change messages routinely, and so do some forwarding services and security gateways that add banners or footers.

By Kyle Deligny, Titanos, Brisbane. Last reviewed 1 December 2026. General information, not legal advice.

Plain forwarding that leaves the message untouched keeps DKIM intact. The trouble comes from a middle system that edits it. This page explains which edits break the seal, what the standards say receivers may do about it, where ARC fits, and what a small business can control. Much of it is about setting expectations, because some failures cannot be fixed from your side.

What the signature actually covers

When your mail platform signs a message, it hashes the body and a list of headers named in the h= tag, which normally includes From, To, Subject and Date. The signature is then stored in a DKIM-Signature header. A verifier recomputes both hashes from what arrived and compares them with the signed values.

DKIM tolerates small changes. Relaxed canonicalization, described in section 3.4.4 of RFC 6376, ignores trailing whitespace on lines, collapses runs of spaces to one and ignores blank lines at the end of the body. It does not tolerate changed words. Adding one footer line, rewriting a link or altering the subject breaks the match, and so does re-encoding the message in a different character set or transfer encoding.

What mailing lists change

RFC 6377, the IETF guidance on DKIM and mailing lists, describes the typical edits. Lists often prefix the subject with a tag such as the list name in brackets. That invalidates the signature when the subject was covered by it, which RFC 6376 recommends. Lists add their own headers, and DKIM copes with added headers in general. Many also add a footer or header text to the body, which breaks the body hash.

Some lists then sign the altered message with their own key. That signature will be valid, but it belongs to the list's domain, not yours, so it does not align with your From address for DMARC. RFC 7489 acknowledges this plainly: passing through a mediator "often causes either the authentication to fail or Identifier Alignment to be lost", and these changes can conform to the standards and still prevent a DMARC pass.

Forwarders, gateways and the l= tag

A simple forward that relays the original message untouched keeps the signature valid, which is why DKIM is the better protection for forwarded mail than SPF. A forward that adds a warning banner, a disclaimer, a tracked link or a virus scan stamp in the body breaks it. Email security gateways that rewrite URLs are a common cause of unexplained dkim=fail results for one recipient organisation.

DKIM does have an l= tag that signs only the first part of the body, meant to survive footers. RFC 6376 section 8.2 warns that it enables attacks where someone appends content that the recipient sees as part of the message. Most large receivers treat it with caution, and most platforms do not use it, so do not rely on it.

Where ARC fits

Authenticated Received Chain, defined in RFC 8617, lets each intermediary record how the message authenticated when it arrived and sign that record. A final receiver can look at the chain and see that SPF and DKIM passed before a list edited the message. The standard is explicit that ARC does not make a message pass and is not a trust framework: the receiver decides whether to believe the chain, usually only for intermediaries it already trusts.

That matters for expectations. ARC is something the forwarding service or list must implement and the receiving provider must choose to honour. You cannot add it to your own domain to fix other people's edits.

What to expect and what you control

Expect some dkim=fail lines in your DMARC reports from forwarded and list traffic, and do not chase them down to zero. Google's sender guidance states that DMARC alignment is not required for forwarded or mailing list messages, and the DMARC standard allows a receiver to disregard your policy for a known trusted forwarder. The sensible aim is to see that your direct mail passes and your unexplained failures are small.

What you can control is the choice between SPF and DKIM for the same message. Sign every stream with a key for your own domain so direct mail passes DKIM, keep SPF correct as a second route, and review aggregate reports before tightening policy. If a particular partner keeps losing your mail, ask their administrator whether a gateway edits messages and whether it is configured to trust your domain.

Work out why a forwarded message failed DKIM

  1. Get the full headers of a failed message from the recipient and find the Authentication-Results line.
  2. Note the exact failure reason, such as body hash did not verify or signature did not verify.
  3. Look for evidence of editing: a subject tag, a footer, an external sender banner or rewritten links.
  4. Compare the Received headers to identify the list or gateway that touched the message.
  5. Confirm your own direct mail to a personal mailbox shows dkim=pass with your domain in d=.
  6. Check your aggregate DMARC reports to see whether the failures cluster at one forwarder or list.
  7. Do not enable the l= tag to work around a footer.
  8. Ask the recipient's administrator whether a gateway modifies inbound mail or a list can be exempted.
  9. Keep SPF correct as the second route to a DMARC pass for direct mail.
  10. Hold your DMARC policy at its current stage until failures you cannot explain are small.

Questions people ask

Does forwarding always break DKIM?

No. A forward that passes the message along unchanged keeps the signature valid. DKIM breaks when a forwarder, list or gateway changes signed headers or the body.

Will ARC fix this for my domain?

Not directly. ARC is added by the intermediary, and the receiving provider decides whether to trust it. The standard says it is not a trust framework and does not make a message pass.

Should I stop using DKIM because lists break it?

No. Direct mail to most recipients relies on DKIM, and it also survives plain forwarding where SPF does not. The failures from list traffic are a known limit, not a sign your setup is wrong.

Why do my DMARC reports show failures from a list I never use?

Your subscribers or staff may have posted to a list or forwarded mail you sent. The report shows what receivers saw after the middle system edited the message.

Where to from here

The free privacy policy audit reads your published privacy policy against the Australian Privacy Principles and tells you what is missing. Privacy Care keeps your policy and your shopper data practices current for AU$149 a month, with a 3-month minimum. Would it be okay if we showed you what the audit finds? A no is welcome.

Get the free auditSee Privacy CareBook a call

Sources

  1. RFC 6376, DKIM Signatures, sections 3.4.4 and 8.2
  2. RFC 6377, DKIM and Mailing Lists
  3. RFC 8617, Authenticated Received Chain
  4. RFC 7489, DMARC, section 10 on mediators
  5. Google, email sender guidelines FAQ
  6. ASD, how to combat fake emails
Book a free call