SPF alignment, as reported by services like Validity, often shows 0% even when SPF passes because the domain used for SPF authentication (the 'MAIL FROM' or envelope sender) doesn't match the domain in the 'From' header. This is a common scenario when using third-party sending services or ESPs (like Mailchimp, Constant Contact, Sendgrid, and Amazon SES) that utilize their own infrastructure and domains for sending on behalf of customers. While SPF can pass based on the ESP's domain, DMARC requires alignment between the authenticated domain and the 'From' header domain to ensure the email truly originates from the claimed sender. DMARC can pass with either SPF or DKIM alignment. If DKIM is used, the DKIM domain also needs to align for DMARC to pass. Solutions involve configuring custom MAIL FROM settings, using a custom return-path, or implementing DKIM to achieve proper alignment.
9 marketer opinions
SPF alignment failures, despite SPF passing, primarily occur because the domain used for SPF authentication (MAIL FROM or return-path) does not match the domain in the 'From' header. This discrepancy is common when using third-party sending services or ESPs, which often use their own infrastructure and domains for sending emails on behalf of their customers. Although SPF can pass based on the ESP's domain, it doesn't align with the sender's domain, impacting DMARC compliance. Solutions involve configuring custom MAIL FROM settings, using a custom return-path domain, or implementing DKIM.
Marketer view
Email marketer from GlockApps responds that SPF alignment issues can occur because the return-path domain is different from the from domain. They suggest checking the 'return-path' and 'from' domains to ensure they match, or configure a custom return-path domain to align with the 'from' domain.
13 Dec 2024 - GlockApps
Marketer view
Email marketer from Sendgrid suggests that the most common reason for SPF passing but failing to align is the use of a shared sending infrastructure where the MAIL FROM domain is different from the From domain. They suggest using a custom MAIL FROM domain or DKIM as potential solutions.
20 Feb 2025 - Sendgrid
6 expert opinions
SPF alignment failures, even when SPF passes, stem from the domain used for SPF authentication (MAIL FROM) not matching the domain in the 'From' header. This is common with ESPs like Mailchimp, Constant Contact, Sendgrid, and Amazon SES, unless configured otherwise. SPF authenticates the sending server, but DMARC requires the domains to align. DMARC can pass with either aligned SPF or aligned DKIM. If DKIM passes but the DKIM domain doesn't align, DMARC will fail. The ultimate goal of alignment is to ensure that the authorized sending domain matches the domain displayed to the recipient.
Expert view
Expert from Spam Resource explains that SPF authenticates the server sending the email but doesn't necessarily align with the domain in the 'From' header, which DMARC requires. The domains in the 'MAIL FROM' and 'From' header must match or be related for proper alignment.
10 Jun 2022 - Spam Resource
Expert view
Expert from Email Geeks clarifies that SPF needs to pass and be aligned for DMARC to pass, but DMARC can also pass if DKIM passes and is aligned independently of SPF. DMARC only needs one (SPF or DKIM) to pass and align in order to pass.
20 May 2024 - Email Geeks
5 technical articles
SPF alignment fails when the domain in the 'MAIL FROM' (envelope sender or return-path) address doesn't match the domain in the 'From' header. This mismatch prevents DMARC from properly authenticating email using SPF, even if SPF passes based on the 'MAIL FROM' domain. Third-party email services often cause this issue by using their own 'MAIL FROM' domains. Alignment requires an exact match or subdomain relationship between the domains, depending on DMARC's alignment mode.
Technical article
Documentation from AuthSMTP explains that the domain in the MAIL FROM and From header must match to satisfy SPF Alignment. This means that if your SPF record is configured correctly and SPF passes but your SPF alignment is still 0%, the domain in your From and MAIL FROM headers do not match, causing SPF alignment to fail.
20 Oct 2022 - AuthSMTP
Technical article
Documentation from DMARC.org explains that for SPF to align, the domain in the 'MAIL FROM' (also known as the envelope from or return-path) must exactly match the organizational domain in the 'From' header, or be a subdomain of it, depending on whether 'strict' or 'relaxed' alignment is used. If there's no match, SPF will pass but not align.
3 May 2023 - DMARC.org
Can I use DMARC with shared IP addresses?
Does unaligned SPF affect Gmail performance and domain reputation?
How can I improve SPF alignment and email deliverability when using Hubspot?
How do I align SPF authentication with my sending domain in Google Postmaster Tools?
How do I properly set up SPF and DKIM records for email marketing, including handling multiple SPF records, IP ranges, bounce capturing, and Google Postmaster Tools verification?
Why does Google Postmaster Tools report SPF failures for ActiveCampaign sends even when SPF passes?