Visual RFC.
ALL RFCs / RFC 6376
Read the RFC ↗
RFC 6376 / MECHANISM GUIDE

Mutation and trust limits

05

Forwarding and list transformations can preserve or break signatures depending on which data change.

RFC 6376 · § 8EXAMPLE

FOLLOW THE SIGNED DATA · FICTIONAL MESSAGES AND DNS

Which changes survive DKIM, and what does a pass mean?

DKIM LAB04 / 04
Step 4 of 4 — Make a separate local policy decision

DKIM integrity and the receiver’s decision to trust or deliver a message are separate.

Original signing server

192.0.2.10d=example.org
Signed email

Forwarder / list server

192.0.2.20Message bytes unchanged
New SMTP connection

Receiving server

Connecting peer: 192.0.2.20Checks original d=example.org signature

Message arriving at the receiver

From:·Offers·<offers@brand.example>↵
Subject:·Meeting·notes↵
X-Route:·original↵
Blank line separates headers from body
Hello,·team.↵
Meet·at·10.↵

Body covered by bh=

✓ Canonical body hash matches

Headers covered by h= and b=

✓ Header signature input unchanged
PASSThe body hash and signature both verify for the signing domain.
DKIM result

Separate 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 ↗
Try an alternative outcome

Changing an input shows the completed outcome. Restart restores this chapter’s original example.

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+IZaIfnOgtVUtZnzPQCx3B0LQMb4Be8wIDAQAB

Header 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.

3 / 3
03
Apply separate policy

Use authentication results alongside content and authorization policy.

Mutation and trust limitsForwarding and list transformations can preserve or break signatures depending on which data change.Mutation and trust limitsSigned Subject: MeetingChanged Subject: PaymentA valid signature still does not certify harmless content

Key idea: Changing signed content can invalidate the signature.

Terms

Look up a term in the glossary ↗

Rules & examples
  • 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
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
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.

All chapters in RFC 6376

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗