A DKIM alignment failure can explain why a message shows dkim=pass alongside dmarc=fail. The signature may belong to a delivery provider rather than your business domain. Alternatively, a gateway may break your aligned signature while leaving another signature intact. Start with the received message, then identify which signature passed and which domain it represents.

This workflow focuses on messages with at least one passing DKIM result. It helps separate domain mismatches from selector problems, message changes, and misleading header summaries.
Why a Passing DKIM Signature May Not Satisfy DMARC
DomainKeys Identified Mail, or DKIM, uses a digital signature to verify signed message content. Its d= value identifies the signing domain. A passing result proves that signature verified; it does not automatically connect that domain to the visible sender.
Domain-based Message Authentication, Reporting, and Conformance, or DMARC, adds that connection through domain alignment. It compares authenticated domains against the domain in the visible From: header.
DMARC passes when either of these paths succeeds:
- A valid DKIM signature uses an aligned signing domain.
- Sender Policy Framework, or SPF, passes for an aligned envelope-sender domain.
Therefore, a DKIM mismatch alone does not guarantee DMARC failure. The SPF path must also fail to provide an aligned pass. Our guide to SPF passes with failed DMARC alignment covers that separate path. The DMARC overview explains the broader authentication model.
Collect Evidence From One Received Message
Choose a recent failed message and export its original source or full headers. A screenshot of an authentication badge rarely provides enough detail.
Keep the following together:
- The visible
From:address and its domain. - Every
DKIM-Signature:header, includingd=ands=. - The receiving system’s
Authentication-Results:header. - Message ID, delivery time, and sending application.
- The route through any outbound or inbound gateways.
Trust authentication results from your receiving service’s documented trust boundary. An earlier hop may report different results. Attackers can also insert misleading headers before delivery.
Use the same message for each comparison. Comparing one message’s signature with another message’s DMARC result can create a false diagnosis. Protect the export because headers and message content may contain sensitive information.
Compare the Signing Domain With the From Domain
Read the domain after the @ in the actual From: address. Ignore the display name, Reply-To:, and signature block. None of those establishes DKIM alignment.
Next, find the passing signature’s d= domain. A provider may sign successfully with its own domain while displaying your business address.
For example, consider these illustrative values:
- Visible From:
billing@example.com - Passing DKIM signature:
d=mailer.example.net - Result: valid signature, but no DKIM alignment with
example.com
That pattern points to a DKIM alignment failure, not necessarily a damaged signature. Check whether the sending service supports custom-domain signing and whether the correct sending identity uses it.
Publishing DNS records alone may not activate signing. Many services require an additional verification or enablement step. Confirm the actual d= value in a newly received message after making changes.
Check Relaxed and Strict DKIM Alignment
The applicable DMARC record controls DKIM alignment through adkim. If the tag is absent, relaxed alignment applies.
- Relaxed alignment: the signing domain and From domain share the same organizational domain.
- Strict alignment: the two domains match exactly.
For example, d=mail.example.com can align with From: billing@example.com under relaxed alignment. Under strict alignment, that pair does not match.
An organizational domain follows public-suffix rules. Do not assume it always means the final two labels of a domain name.
Inspect the applicable DMARC policy, including any inherited parent-domain policy. Then compare its alignment setting with the sender’s supported signing options.
Do not relax policy merely to make a test pass. First determine whether the sender should sign with the exact From domain. Any policy change needs an owner, a clear reason, and a review of other sending services.
Inspect Every Signature, Not Just the Passing One
A message can carry several DKIM signatures. One might belong to your business, another to a marketing service, and another to a gateway.
Build a small evidence table with one row per signature. Record the signing domain, selector, verification result, and alignment result.
A common pattern looks like this:
- The business-domain signature aligns, but verification fails after message modification.
- Meanwhile, the gateway adds a valid signature using its unrelated domain.
- The receiver reports a DKIM pass, yet neither DKIM signature satisfies DMARC.
One valid, aligned DKIM signature can satisfy DMARC even if other signatures fail. You do not need every signature to pass.
If the same trusted receiver reports both a valid aligned signature and DMARC failure, recheck your evidence. Confirm the From domain, strict alignment setting, evaluation stage, and signature-to-result mapping before changing DNS.
Verify Selector Records for the Relevant Signature
The DKIM selector, shown as s=, identifies the public-key lookup beneath the signing domain. Together, the selector and domain form selector._domainkey.signing-domain.
For example, s=outbound1 with d=example.com points to outbound1._domainkey.example.com. Providers may use TXT records directly or CNAME records that lead to their key records.
Check the exact selector from the failed message against authoritative DNS. Confirm that any CNAME target resolves and that the provider recognizes the published key.
Selector checks matter especially when the aligned signature fails but an unrelated signature passes. Old selectors, incomplete key rotation, or missing records can explain that split.
However, a passing signature already indicates successful verification for that signature at the receiving system. Changing its selector record will not repair an unrelated signing-domain mismatch. Never replace a working key record without confirming which active senders depend on it.
Trace Gateways and Message Rewriting
Mail gateways can add disclaimers, rewrite links, alter subjects, or rebuild message bodies. Changes to signed content can invalidate an existing DKIM signature.
Compare a direct delivery with a gateway-routed delivery from the same authorized sender. Use controlled test messages without confidential content. Record which hop changes the authentication result.
Inspect these possibilities:
- A disclaimer service modifies the body after your business signs it.
- Security gateways rewrite signed headers or message content.
- A relay signs only with its own unrelated domain.
- Mailing systems change the From address after an earlier signing step.
Where supported, complete legitimate content changes before applying the final aligned signature. Verify this behavior with the gateway owner rather than assuming processing order.
Forwarding adds further complications. Our email forwarding diagnostic workflow explains how to trace those routes. Authenticated Received Chain, or ARC, can preserve earlier authentication evidence. It does not turn an unrelated DKIM signature into an aligned one.
Retest the Fix Across Real Sending Paths
Resolve a DKIM alignment failure at the responsible layer: sender identity, signing configuration, DNS, or gateway processing. Avoid unrelated changes to SPF and DMARC while testing one cause.
- Save the original settings and define a rollback plan.
- Change one identified cause through an approved maintenance process.
- Send a fresh message through the affected route.
- Confirm the expected signing domain and selector.
- Verify both DKIM validity and alignment at the receiver.
- Check the final DMARC result and normal delivery behavior.
Repeat testing for business-critical sources, such as invoices, website forms, help desks, and marketing tools. Each may use different signing settings.
Do not treat p=none as a repair. That policy requests monitoring rather than enforcement; it does not fix authentication. Likewise, DMARC success does not guarantee inbox placement.
If several providers or gateways share the route, professional remote assistance may help isolate the responsible system. Tech Rescue Ops LLC can review message evidence and coordinate a targeted change without weakening domain-wide protections.

