Join our Newsletter — 33% off our NHI Course
Home› FAQ› Authentication, Authorisation & Trust› Why can SPF and DKIM pass but email…
Authentication, Authorisation & Trust

Why can SPF and DKIM pass but email still be rejected?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated November 25, 2026 Domain: Authentication, Authorisation & Trust

SPF and DKIM can pass while DMARC still fails if the authenticated domain does not align with the visible From domain. Mailbox providers may also reject mail for reputation, content, volume, or policy reasons even when authentication passes. Check the DMARC result, envelope sender, DKIM d= domain, and any SMTP bounce code to see whether the block is authentication or filtering.

Why authentication can succeed while delivery is still blocked

SPF and DKIM only prove that some part of the message was authorised by the sending infrastructure. They do not guarantee that the message will be accepted, delivered, or trusted by the recipient. In practice, a mailbox provider may still reject the message because the authenticated domains do not align, or because the sender has poor reputation, suspicious content, or violates provider policy.

The key distinction is between authentication and acceptance. Authentication answers whether the message came from a system that could sign or send for the domain. Acceptance is a separate mailbox decision that also considers policy, reputation, and user-safety signals. That is why a message can look technically valid at the SMTP layer and still never reach the inbox.

Where alignment is the problem, the visible From domain and the authenticated domain are not the same identity signal. DMARC is designed to test that relationship, so SPF and DKIM passing on their own is not enough if the domains do not line up with the header From field.

What to inspect when SPF and DKIM pass but the mail still fails

Start by reading the receiver's authentication verdicts rather than assuming a single "pass" means the whole message was accepted. The most useful checks are the DMARC result, the envelope sender or Return-Path, the DKIM d= domain, and the SMTP bounce code if one was returned.

Those fields tell you which layer failed. If DMARC failed, you are dealing with an alignment or policy issue. If the bounce code points to filtering, the rejection is more likely to be based on reputation, content, rate limiting, or a sender policy at the recipient side rather than a pure authentication failure.

That distinction matters operationally because the fix is different. An alignment failure usually means correcting the authenticated domain path, while a filtering rejection may require content changes, reputation recovery, or sender-volume adjustments before retries will succeed.

Why mailbox providers still reject authenticated mail

Mailbox providers do not rely on SPF and DKIM alone. They combine authentication with spam detection, sender reputation, complaint history, message content, sending volume, and policy enforcement. A message can therefore be authenticated yet still be considered unsafe, abusive, or inconsistent with the recipient's delivery rules.

For teams that run email programs at scale, this is where sender architecture matters. The DMARC, SPF and DKIM Guide is useful because it places alignment, policy progression, and rotation into one delivery model rather than treating SPF and DKIM as isolated checks.

When you need a practical troubleshooting path, the DMARC, SPF and DKIM Failure Troubleshooting Guide helps distinguish authentication faults from receiver-side filtering decisions, which is the first step in deciding whether to repair configuration or adjust sender behaviour.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-2 — Identification and Authentication (Organizational Users)Email sender authentication hinges on proving the sending principal.
Recommendation — Verify the authenticated sender identity and align it with the visible From domain.
NIST CSF 2.0PR.AA-05 — Identity Management, Authentication and Access ControlThe issue is a mismatch between authenticated identity and accepted sender identity.
Recommendation — Align authenticated sending identity with the policy-enforced header identity.
OWASP API Security Top 10API2 — Broken AuthenticationThe question centers on authentication succeeding without the expected trust outcome.
Recommendation — Check whether authentication and policy evaluation are producing different outcomes.

Practitioner Guidance

What to verify: Confirm whether the receiver rejected the message because of DMARC alignment, or because the message was filtered after authentication succeeded. The error text, Authentication-Results header, and SMTP status code usually reveal which layer made the decision.

Decision rule: If SPF and DKIM pass but the From domain does not align with the authenticated domain, treat DMARC as the active control and fix alignment first. If alignment is correct, investigate reputation, content, and volume controls before changing DNS records.

What good looks like: The visible From domain, the envelope sender, and the DKIM d= domain all support the same sending identity pattern, and the receiver returns a clean authentication result without resorting to policy-based rejection.

Practitioner takeaway: A pass on SPF and DKIM is necessary but not sufficient, because deliverability depends on both identity alignment and the recipient's filtering judgement.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org