This is exactly what DMARC alignment addresses. During validation, DMARC looks at three identifiers:
- The From: header (the Author Domain)
- The Return-Path domain (used by SPF)
- The signing domain in the DKIM signature (the d= value)
If the identifier behind either SPF or DKIM aligns with the Author Domain, the message achieves DMARC alignment, passes DMARC, and can be delivered normally.
SPF and DKIM alignment each come in two kinds:
- Strict alignment
- Relaxed alignment
Strict alignment requires the relevant domain (the SPF Return-Path domain, or the DKIM d= domain) to match the From: domain exactly.
Relaxed alignment is, as the name suggests, more lenient. A subdomain is accepted as long as it shares the same organizational domain as the From: address.
In short, DMARC alignment closes the gap that SPF and DKIM leave open on their own. By requiring that the SPF-passing or DKIM-signing domain actually correspond to the From: domain, it stops an attacker from passing authentication on some unrelated domain while still displaying your domain to the recipient. This is the core protection DMARC adds on top of SPF and DKIM.