February 9, 20267 min read

Relaxed vs Strict DMARC Alignment: What's the Difference?

Relaxed alignment allows subdomains to align with the parent domain (mail.example.com aligns with example.com). Strict alignment requires an exact domain match. Most organizations use relaxed alignment because it provides flexibility for different sending subdomains while maintaining protection. Strict is for maximum security with precise infrastructure control.

How Alignment Modes Work

Relaxed Alignment

Compares organizational domains (the registrable part):

Strict Alignment

Compares exact domains:

DMARC Record Settings

Specify alignment mode in your DMARC record:

For SPF Alignment

For DKIM Alignment

Example DMARC Records

Relaxed (default):

v=DMARC1; p=quarantine; rua=mailto:[email protected]

Strict:

v=DMARC1; p=quarantine; aspf=s; adkim=s; rua=mailto:[email protected]

Default Is Relaxed

If you do not specify aspf or adkim in your DMARC record, both default to relaxed. You only need to add these tags if you want strict alignment.

When to Use Relaxed

Recommended For Most Organizations

Relaxed Still Provides Protection

Attackers cannot spoof your domain because:

When to Use Strict

Consider Strict When

Subdomain Protection

Strict prevents attacks like:

However, this scenario requires the attacker to have your DKIM keys, which is unlikely.

Migration Path

Starting With Relaxed

  1. Implement DMARC with p=none, relaxed alignment (default)
  2. Monitor reports for legitimate sources
  3. Move to p=quarantine, then p=reject
  4. Only consider strict after full deployment

Moving to Strict (Optional)

After stable enforcement with relaxed:

  1. Audit all sending sources for exact domain usage
  2. Ensure DKIM signs with exact From domain, not parent
  3. Ensure SPF Return-Path matches exact From domain
  4. Test thoroughly before switching
  5. Add aspf=s and adkim=s to DMARC record

Practical Considerations

Third-Party Services

Many email services sign DKIM with your parent domain even when sending from subdomains. This works with relaxed but fails strict. Check with your provider before choosing strict.

Separate SPF and DKIM Settings

You can mix modes:

This allows flexibility where needed while tightening where possible.

Frequently Asked Questions

Is strict alignment more secure than relaxed?
Marginally. Strict provides slightly more protection against subdomain spoofing scenarios, but relaxed is sufficient for most threats. The main attack (domain spoofing from external attackers) is blocked by both.
Will switching to strict break my email?
Possibly. If any legitimate email uses subdomains with parent-domain DKIM or SPF, those will fail strict alignment. Always audit and test before switching.
Do Gmail and Yahoo requirements specify alignment mode?
No. Gmail and Yahoo require DMARC with alignment but do not mandate relaxed or strict. The default relaxed alignment satisfies their requirements.
How do I know if my current setup supports strict?
Review your DMARC reports. Check if the DKIM d= and SPF domains exactly match the From domain for all legitimate sources. If they do, strict will work. If not, relaxed is necessary.

Optimize Your DMARC Configuration

SortedIQ helps senders implement the right DMARC settings for their infrastructure.

Talk to Our Team