Topic · Authentication
DKIM canonicalization
DKIM canonicalization normalizes specified parts of a message before the cryptographic signature is calculated or verified.
Email Security Glossary·Practical guidance
01 / How it works
How it works
The relaxed and simple modes define how headers and body content are transformed for signing and verification.
02 / What can go wrong
What can go wrong
Mailing-list modification or footer insertion can break signatures, particularly with more brittle signing configurations.
03 / What to check or do
What to check or do
Inspect the c= tag and compare received content transformations when diagnosing DKIM verification failures.
Practical diagnosis
How to investigate DKIM canonicalization
- Signal to investigate
- Two systems may normalize whitespace or line endings differently during signing and checking.
- Evidence to collect
- Compare c= algorithm settings and the bytes or canonicalized representation seen by each system.
- Common wrong conclusion
- Relaxed canonicalization does not allow arbitrary content edits without breaking the signature.
NEXT STEP
Put this into practice
Run a focused check, then explore protection if your domain needs it.