Suped

Summary

The sequence in which recipient mail servers check SPF, DKIM, and DMARC is not universally standardized and can vary between different email providers. However, a fundamental logical order must be followed for DMARC to function correctly. DMARC relies on the results of SPF and DKIM authentication to determine policy actions. Therefore, SPF and DKIM checks must occur before DMARC can evaluate alignment and apply its policy. While SPF may be checked earlier in the SMTP conversation (even at connection time), and DKIM requires the full message header and body, DMARC invariably processes after both these mechanisms have rendered a result.

Suped DMARC monitor
Free forever, no credit card required
Get started for free
Trusted by teams securing millions of inboxes
Company logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logo

What email marketers say

Email marketers often encounter confusion regarding the authentication order, particularly when working with third-party IT vendors or managing complex DNS settings. The general understanding among marketers is that DMARC acts as the final decision-maker based on SPF and DKIM results, but the exact flow for SPF and DKIM can seem less clear. Many express frustration with the technical intricacies and the need to manually verify or correct DNS records that are improperly configured, which is a common occurrence with new requirements like the recent Gmail and Yahoo authentication updates.

Marketer view

Email marketer from Email Geeks shared a situation where their client's IT vendor incorrectly stated that both SPF and DKIM must always pass/align, and that DMARC is checked first. This highlights a common misunderstanding that needs clarification for effective email authentication.

13 Feb 2024 - Email Geeks

Marketer view

An Email Geeks marketer observed that if a domain has a -all SPF record, Mailbox Providers might fully respect it and process DMARC after SPF and DKIM. However, some organizations might theoretically check SPF and DKIM, then set a DMARC_Aligned = True flag, which would be an unusual and less efficient approach.

13 Feb 2024 - Email Geeks

What the experts say

Email deliverability experts emphasize that while there isn't a strict, universally enforced sequential order for SPF and DKIM checks by all recipient servers, DMARC's evaluation always occurs after both SPF and DKIM have been assessed. This is because DMARC’s core function is to define policy actions based on the outcomes and alignment of these two authentication methods. Experts also point out that SPF can be checked earlier in the SMTP transaction, even before the full message is received, especially if a strict SPF policy is in place. DKIM and DMARC, however, require the entire message content to perform their validations.

Expert view

Deliverability expert from Email Geeks states that the question about the order of SPF, DKIM, and DMARC checks might not be meaningful because each recipient server has its own process. Some check SPF first, while others do both in tandem.

13 Feb 2024 - Email Geeks

Expert view

An expert from Email Geeks clarifies that SPF can be checked at connection or pre-data, but DKIM and DMARC cannot be checked until after the entire message data has been received. This fundamental distinction influences the processing flow.

13 Feb 2024 - Email Geeks

What the documentation says

Official documentation for email authentication protocols like SPF, DKIM, and DMARC outlines their individual roles and dependencies. SPF (RFC 7208) verifies the sending IP address, typically early in the SMTP transaction. DKIM (RFC 6376) uses cryptographic signatures to verify message integrity and sender identity after the message data is received. DMARC (RFC 7489) then builds upon these results, specifically requiring that at least one of SPF or DKIM passes AND aligns with the From: header domain to pass authentication. The documentation implicitly (and sometimes explicitly) states that DMARC cannot make a policy decision without the authentication results from SPF and DKIM, placing it logically last in the sequence of evaluation.

Technical article

RFC 7208, which defines SPF, specifies that a receiving Mail Transfer Agent (MTA) checks the sender's domain during the SMTP session, specifically at the MAIL FROM or HELO/EHLO stages. This enables early rejection of unauthorized mail, indicating SPF can be an initial check.

22 Mar 2025 - RFC 7208 (SPF)

Technical article

RFC 6376, for DKIM, outlines that the verification process involves reconstructing the canonicalized message headers and body and then comparing the hash with the decrypted signature. This process necessitates the entire message content to be received before a DKIM verdict can be rendered.

22 Mar 2025 - RFC 6376 (DKIM)

7 resources

Start improving your email deliverability today

Get started