What’s the difference between relaxed and strict alignment?

Still have a question, spotted an error, or have a better explanation or a source we should cite?

Your DMARC record can specify two alignment modes: aspf for SPF and adkim for DKIM. Each can be set to r (relaxed) or s (strict). If you don't specify, both default to relaxed.

Relaxed alignment allows organizational domain matches. If you send from news.harborpost.net, relaxed mode accepts it as aligned with harborpost.net because they share the same registered domain. Most senders use relaxed for this reason: it lets subdomains align without needing separate DMARC records for each one.

Strict alignment requires an exact match. news.harborpost.net would not align with harborpost.net under strict. Strict is mainly useful when you want to prevent a compromised subdomain from passing DMARC against your parent domain, or when you're running a high-security environment with complete control over all subdomains.

And for For most senders, relaxed is the right call. If you're not sure which mode your DMARC record is using, our DMARC parser will show you the settings in plain language.

Contributors

Who worked on this answer

Every name links to their profile. Every company links to their site. Real people, real accountability.

Ask an AI · tailored to your setup

Get a recommendation for your specific domain setup.

I'm reading about relaxed vs. strict DMARC alignment modes. I need help figuring out which alignment setting is right for my specific setup. My details: - My sending domain(s): e.g. mycompany.com, mail.mycompany.com - Do I send from subdomains?: yes / no, and which ones if yes - My DMARC record right now: paste it here, or 'don't have one yet' - My ESP(s): e.g. Mailchimp, SendGrid, HubSpot - My current DMARC policy: none / quarantine / reject - Am I seeing any alignment failures in my RUA reports?: yes/no, describe if yes - Am I using the same domain for marketing and transactional mail?: yes / no / different subdomains Based on my setup, which alignment mode should I use for SPF and DKIM? And do I need to change anything in my DMARC record or DNS to make it work?

Edit the yellow boxes, then send to the AI of your choice.