Mutation and trust limits
05Forwarding and list transformations can preserve or break signatures depending on which data change.
FOLLOW THE SIGNED DATA · FICTIONAL MESSAGES AND DNS
Which changes survive DKIM, and what does a pass mean?
DKIM integrity and the receiver’s decision to trust or deliver a message are separate.
Forwarder / list server
192.0.2.20Message bytes unchangedReceiving server
Connecting peer: 192.0.2.20Checks original d=example.org signatureBody covered by bh=
✓ Canonical body hash matchesHeaders covered by h= and b=
✓ Header signature input unchangedSeparate local policy decision
Illustrative receiver policy: send this message for content review. This does not change the cryptographic result.
A sender can validly sign unwanted or malicious mail. A pass also does not by itself establish alignment between d= and the visible author domain.
Algorithm guidance changed after RFC 6376
These experiments use RSA-2048 with SHA-256. RFC 8301 updates algorithm/key requirements; RFC 8463 adds Ed25519. The historical RFC’s algorithm list is not current deployment guidance.
Read RFC 8301 ↗ · Read RFC 8463 ↗Static view: prevalidated RSA/SHA-256 fixture.
Inspect the actual public fixture bytes
Real RSA-2048/SHA-256 test signatures. Names, DNS answers and messages are fictional. Private keys are never included in these public assets. Long values below are shown in full.
DKIM-Signature
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.org; s=mail; h=from:subject; bh=mtWvvw/KmkZ8V67tU75C7b7ZB/JLAYAwFzjpOVEOdsU=; b=b4KIjwYPXR91Ds2E53MQnBKsht2g21BdDvcP42Wsg+hHIpx+ikEr/hrDsIL+VBljbwHbF+uP3n/nfZNGZLb4h+JV1tPcvO6pxpXrf+x3w7UiTY4E3gbvzRhXpsTda8AeeXsAJMD/xUrPKRluvwJRmnW7v8tskn6rqADZwdBCHwvfPjBoJQkuh5kdj3/DZtMTnD0AnV5o1dVyyxBKRG/oq+VlIL+7jIZEbQ7gFfVnyOh/86LsLF2M00BqKLhnkQWeyBIjLJXXwdaa6d1YpP+Kg9zmlE0AZMIfwPuxjitZsK3pJB71Qm6TE2MpWx08P4sJadmKBHSUb3xdXKquxDbpKA==DNS public-key value p=
MIIBCgKCAQEAy5XL15qo9i3RKdEPV5B4dPlNClTlWs9D5X1yW9m0Sdz8fhPuZYrC5R7X3D3WxsWY47v3p+mBwan/GSQzDF6y5T1wjygkZXPeposIf72M6kWgmRO4Shaz+Moq1hOEKPU29+CLkD+lznEhQsD8jBiHLM6wMSZQpc0BorecKtwDbdXDAY1WOvwmyq+wdskzZxadr0uLKUrGY/5ePyRhmbVJQdjKstATsJHrMvwXPhvATUpkIAnsYu1KNLkbXIwGjU04+ZXG/X8rREQCvIAIFWY27vLvuixn8rrF/tuTVoYNMy+tVgmBAvTTLi+IZaIfnOgtVUtZnzPQCx3B0LQMb4Be8wIDAQABHeader signing input (b= empty, no terminal CRLF on DKIM-Signature)
from:Offers·<offers@brand.example>↵ subject:Meeting·notes↵ dkim-signature:v=1;·a=rsa-sha256;·c=relaxed/relaxed;·d=example.org;·s=mail;·h=from:subject;·bh=mtWvvw/KmkZ8V67tU75C7b7ZB/JLAYAwFzjpOVEOdsU=;·b=
DKIM follows the signed data across hops. A new sending IP alone does not break it; changing protected bytes can.
Bounded ASCII/CRLF teaching examples. These are not a complete mail parser, DKIM implementation or DNS lookup service. Shortened hash/key/signature labels expand to actual values in the fixture details.
Use authentication results alongside content and authorization policy.
Key idea: Changing signed content can invalidate the signature.
Rules & examples
Changing signed content can invalidate the signature.
- Changing signed content can invalidate the signature.
- A valid signature can still accompany spam or malicious content.
- Algorithm and key-size guidance has changed since the original publication.
Examples are illustrative. Consult the linked RFC and its errata for implementation details.
Sources
New to this? Start hereA quick picture + helpful background
The envelope and the letter do different jobs.
Mail transport moves a message between servers. The message format describes its contents. Authentication adds checks; it does not make every message safe.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.