# How to Diagnose DKIM Failure After Message Modification

https://ferkesh.net/zh/knowledgebase/article/email-dkim-forwarder-content-changes

![Workflow: Capture both paths; Separate DNS from content; Look for modifications; Retest a safe adjustment.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-13.svg#email-dkim-forwarder-content-changes)

A valid DKIM result on the original path can change after a forwarding service adds a footer, rewrites a signed header or otherwise changes message content.

## Procedure

1. **Capture both paths.** Send controlled examples directly and through the authorized forwarder. Save redacted authentication results from the final receivers and match the signing domain and selector.
2. **Separate DNS from content.** Verify key availability for the exact selector. Compare whether the reported issue is a missing key, invalid signature or changed body. Do not publish real message bodies or signatures unnecessarily.
3. **Look for modifications.** Check authorized gateway settings for subject prefixes, footers and conversion features. DKIM canonicalization can tolerate some formatting changes, but it does not preserve every modification.
4. **Retest a safe adjustment.** Where supported, keep the original signed content intact or use the forwarding service’s documented authentication controls. Confirm receiver results and preserve the correct visible identity.

## Related guides

- [How to Read Authentication-Results When Mail Has Several Hops](https://ferkesh.net/knowledgebase/article/interpret-auth-results-multiple-hops)
- [How to Rotate a DKIM Selector Without Breaking Mail](https://ferkesh.net/knowledgebase/article/email-dkim-key-rotation-checklist)
- [Email Hosting and Deliverability articles](https://ferkesh.net/knowledgebase/category/email-hosting-and-deliverability)

## Official references

- [RFC 6376 DKIM signatures](https://www.rfc-editor.org/rfc/rfc6376)

Ferkesh Hosting. Last reviewed November 26, 2026.
