Understanding domain alignment in email authentication
SPF, DKIM, and DMARC alignment refers to the relationship between authentication domains (SPF/DKIM) and the From domain in email addresses. For DMARC to pass, either SPF or DKIM must pass AND align with the From domain.
SPF alignment checks if the SPF-authenticated domain matches the From domain. DKIM alignment checks if the DKIM signature domain matches the From domain. Alignment can be strict (domains must match exactly) or relaxed (subdomains are acceptable).
Proper alignment ensures that authentication domains match the sender's domain, providing stronger email security and authentication. Verify alignment using our email authentication checker.
SPF alignment checks whether the domain used in SPF authentication matches the From domain in the email address.
Check SPF records and use our authentication checker to verify SPF alignment.
DKIM alignment checks whether the domain in the DKIM signature matches the From domain in the email address.
Check DKIM records and use our authentication checker to verify DKIM alignment.
DMARC supports two alignment modes:
Domains must match exactly. For example, From: user@example.com requires authentication from example.com (not mail.example.com).
Domains can be subdomains of each other. For example, From: user@example.com can be authenticated by mail.example.com.
Alignment mode is configured in DMARC records using aspf=r (relaxed) or aspf=s (strict) for SPF, and adkim=r (relaxed) or adkim=s (strict) for DKIM.
For DMARC to pass, specific alignment requirements must be met:
For DMARC to pass, at least one of these must be true:
While only one needs to pass and align, having both SPF and DKIM pass and align provides stronger authentication and better deliverability.
If authentication passes but alignment fails, DMARC will fail. This prevents authentication from unrelated domains.
Use our comprehensive authentication checker to verify SPF, DKIM, and DMARC alignment.