[ DMARC & policy ]

DMARC passes but SPF or DKIM fails: decide what still needs fixing

Identify the aligned path that produced the pass, investigate the failed mechanism and separate a single-message result from resilient sender configuration.

By the EmailAuth research team

[ Key points ]

  • Identify the passing aligned path before changing records.
  • Separate an expected route effect from an unexplained defect.
  • A message-level pass does not establish rollout or delivery readiness.
On this page

A message can pass DMARC while SPF or DKIM fails. The immediate task is to identify the passing aligned path, then decide whether the other failure is an expected property of the route or a fault that leaves the service fragile.

Do not change a correct DMARC result merely to make every indicator green. Equally, do not use the pass as permission to ignore a broken signing service. A message-level outcome and the resilience of an entire sending system are different assessments.

Identify which path carried the result

DMARC uses the domain in the visible From address as its reference. A passing SPF identity or a passing DKIM signing identity can satisfy DMARC when the required alignment relationship holds. Use receiver-generated results within the trust boundary described by RFC 8601 §7.1. For DKIM, inspect every relevant signature, not just the first one shown by a mail client. The pass/fail rule is specified in RFC 9989, section 5.3.5.

The following cases are synthetic examples. Assume an applicable valid policy and exact domain matches wherever alignment is marked yes.

  • Case: A; SPF: Fail; DKIM: Pass for the From domain; DMARC conclusion: Pass through DKIM
  • Case: B; SPF: Pass for the From domain; DKIM: Fail; DMARC conclusion: Pass through SPF
  • Case: C; SPF: Pass for an unrelated domain; DKIM: Fail; DMARC conclusion: Fail, because no passing path aligns
  • Case: D; SPF: Fail; DKIM: One signature fails; another passes for the From domain; DMARC conclusion: Pass through the aligned signature

In your real investigation, replace these labels with the domains and trusted results from the actual received message. A provider's “authenticated” account status is not sufficient evidence of which route succeeded.

When SPF fails but DKIM survives

Forwarding can change the connecting source seen by the final receiver. That can disrupt SPF for the original envelope identity while an intact DKIM signature continues to verify. This is one reason to inspect the route before expanding SPF permissions. SPF forwarding considerations are discussed in RFC 7208, section 10.3.

First determine whether the affected message was sent directly or through an intermediary. Compare the direct and forwarded samples, including their envelope identities, receiving boundaries and DKIM results. If the aligned DKIM signature survives, the DMARC pass is explainable.

Do not authorise a broad set of forwarding systems in your domain's SPF simply to erase the failure. Such a change may not address the identity evaluated on the forwarded route and could unnecessarily enlarge sending authority. Record the route-specific explanation and investigate unexpected direct-mail failures separately.

When DKIM fails but SPF carries the message

A direct message may have a passing aligned SPF identity while its DKIM signature fails. Check the signing domain and selector, key availability, signature diagnostics and whether a gateway changed signed content under RFC 6376 §3.7. A signature failure alone does not prove message modification; key, signature-value and implementation problems are also possible. Compare samples taken before and after the suspected modification point where you are authorised to do so.

The DMARC pass does not make that DKIM failure harmless. A different route may not preserve the SPF path. A later infrastructure change may expose the dependency. Make the defect visible in the sender's operational record rather than hiding it behind an aggregate pass rate.

There is also a standards distinction: RFC 9989 states that domain owners must not rely solely on SPF for a DMARC pass when their policy is p=reject. That deployment requirement does not change the fact that a particular message can obtain a DMARC pass through SPF. See RFC 9989, section 8. Repair and verify aligned DKIM rather than treating the isolated pass as a complete rollout approval.

Distinguish DMARC from provider requirements

A receiving provider may impose requirements beyond the DMARC pass condition. For example, Google's guidelines require bulk senders to personal Gmail accounts to set up SPF, DKIM and DMARC, while direct mail must align through SPF or DKIM. These are related but separate checks. Review the current Gmail sender guidelines for the applicable sender category.

Do not promise delivery based on one authenticated message. Other requirements, reputation and content filtering still apply. If the reported problem is rejection, retain the exact SMTP response instead of assuming the failed authentication method caused it.

Decide whether to repair or document

Classify the finding with a specific action. An expected forwarding-related SPF failure with surviving aligned DKIM may need route documentation and monitoring. An unexplained DKIM failure on a direct production route needs an owner and repair plan. An unaligned pass needs identity configuration work, not merely a more permissive policy.

For each affected workflow, retain the observed successful path, the failing method's cause or open question, the supported correction and a retest through the same route. Exercise a representative message after any key, gateway or provider change. A successful test from a different application cannot close this workflow's issue.

Use the DKIM body-hash guide for message-modification investigations and the alignment failure guide when the passing identity is unrelated. The goal is a result you can explain and a sending route you can maintain.

Make the next decision explicit

For case A, document the forwarding explanation only when route evidence supports it; otherwise leave the cause open. For case B, assign DKIM repair without falsifying the message-level DMARC pass. For case D, retain the passing signature’s exact d= independently from the failing signature. These are analytical classifications, not observed incident outcomes.

[ Takeaway ]

Identify the passing aligned path before changing records. Separate an expected route effect from an unexplained defect. A message-level pass does not establish rollout or delivery readiness.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Name the passing aligned path before changing records.

Capture the real identities and route. Distinguish an expected forwarding-related SPF failure from a direct-mail fault or an invalid DKIM signature.

Next steps

  1. Inspect every relevant DKIM signature.
  2. Test before and after modifying the suspected gateway or signer.
  3. Avoid broad SPF permissions to solve an unexplained symptom.

CISO / SecOps

Treat a single-path pass as a result, not a blanket approval.

Evaluate resilience and provider requirements alongside DMARC. A p=reject deployment must not rely solely on SPF under RFC 9989, even though an individual message may pass through SPF.

Next steps

  1. Require a remediation plan for hidden single-path dependencies.
  2. Keep account and content controls in scope.
  3. Review sender configuration after route changes.

Founder / Non-technical

Keep working mail and technical debt visible together.

A DMARC pass can mean customers are receiving mail while one authentication path remains broken. Ask whether the failure is expected for the route or needs a funded repair.

Next steps

  1. Separate delivery impact from configuration health.
  2. Assign an owner to unexplained signing failures.
  3. Ask for evidence from the affected business workflow.

[ FAQs ]

Frequently asked questions

Can DMARC pass when SPF fails?

Yes, if an applicable policy exists and a passing DKIM signature aligns with From. Verify the trusted receiver result and the actual signing domain.

RFC 9989 §5.3.5

Can DMARC pass when DKIM fails?

Yes, a passing aligned SPF path can produce that message-level result. However, RFC 9989 says domain owners must not rely solely on SPF when the Author Domain policy is p=reject.

RFC 9989 §5.3.5 RFC 9989 §8

Does one failed DKIM signature cancel another passing signature?

No. A separate passing aligned signature can provide the DKIM path for DMARC. Inspect each relevant signature and its d= domain individually.

RFC 9989 §5.3.5

Should I add forwarding services to SPF?

Not automatically. First establish the forwarded route and the identity evaluated. Broad SPF additions may be irrelevant or grant unnecessary sending authority.

RFC 7208 §10.3

When should I repair DKIM despite a DMARC pass?

Investigate unexplained failures, especially on direct production mail. A surviving SPF path can hide a signing defect that becomes important on another route.

Does one aligned pass satisfy every Gmail sender requirement?

No. Gmail has separate sender requirements, including SPF, DKIM and DMARC setup for bulk senders to personal accounts. Review the current provider guidance for the applicable category.

Google: bulk sender authentication requirements

What distinguishes this from both mechanisms passing but DMARC failing?

Here at least one passing identity aligns. When both methods pass for unrelated domains, neither provides an aligned path and DMARC can fail.

RFC 9989 §5.3.5

What should the incident closure record contain?

The successful path, the failed mechanism and its explanation or repair, the relevant identities, a new same-workflow test and any remaining route limitation.

[ Sources ]

Sources

  1. RFC 9989

    Sections §5.3.5 · §5.4 · §8 · §3.2.2

  2. RFC 7208

    Sections §10.3

  3. RFC 6376

    Sections §3.7

  4. RFC 8601

    Sections §7.1

  5. Google Gmail sender guidelines

    Sections Sender requirements and guidelines: bulk senders · Email authentication requirements and guidelines

[ Glossary ]

Glossary

DMARC
A mechanism that evaluates whether a passing authenticated identifier aligns with the Author Domain under the applicable policy.

RFC 9989 §5.3.5

Author Domain
The domain in the message From header field, used as the DMARC reference identity.

RFC 9989 §3.2.2

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base