SPF Alignment (SPF Alignment)
Why You Should Care About SPF Alignment
SPF alignment prevents a class of spoofing where an attacker uses their own domain for the envelope sender (passing SPF) while spoofing your domain in the From header that the user sees. Without DMARC's alignment check, SPF alone would pass even though the email appears to come from your domain.
SPF alignment is the other half of DMARC authentication (alongside DKIM alignment). DMARC requires at least one to pass. In practice, relying solely on SPF alignment is fragile because SPF breaks when emails are forwarded. This is why both SPF and DKIM should be configured, so DMARC can pass via DKIM alignment even when SPF fails due to forwarding.
Many email services send with their own domain in the Return-Path by default, causing SPF alignment failures. Configure your email service to use a Return-Path under your domain (like bounces@yourdomain.com) for proper SPF alignment.
Testing Your Configuration
A DNS health checker evaluates SPF configuration and alignment potential. Send test emails through each of your email services and check the Authentication-Results header for spf=pass with alignment. If SPF passes but alignment fails, configure the Return-Path to use your domain.
Check DNS Health