Keep your bounce rate under 3%. Verify your email list with catch-all email verifier Giggal.ai

Glossary · Authentication

What is DMARC alignment?

The short answer

DMARC alignment means the domain that passed the SPF or DKIM check is the same domain your reader sees in the From address. If they match, the email is aligned and DMARC can pass. If SPF and DKIM pass for a different domain, the email is not aligned and DMARC fails.

Also called: DMARC identifier alignment, SPF alignment, DKIM alignment, domain alignment

By · Updated · 4 min read

DMARC alignment: what to remember

  • DMARC alignment is a matching test: the domain that passed SPF or DKIM must match the domain in the From address.
  • An email can pass SPF and pass DKIM and still fail DMARC, because neither one was for your own domain.
  • Only one needs to align. SPF alignment or DKIM alignment is enough for DMARC to pass.
  • Relaxed alignment lets subdomains match. Strict alignment needs an exact match.

What does DMARC alignment mean?

DMARC alignment is a matching test. It asks one question:

“Is the domain that passed the check the same domain the reader sees?”

To see why that matters, you need to know that an email carries more than one domain name. The reader sees the From address. But SPF checks a hidden address, and DKIM checks the domain inside its signature. Those can all be different.

Think of a parcel. The label on the front says it is from “Acme Shop”. The courier’s stamp on the back says it was handed in by “FastShip”. Both are real, and the stamp is perfectly valid, but the stamp proves something about FastShip, not about Acme Shop.

DMARC wants proof about the name on the front. DMARC alignment is the test of whether the proof and the name on the front belong to the same domain.

How DMARC alignment works

There are two kinds of alignment, one for each check.

  • SPF alignment: the domain in the hidden Return-Path address matches the domain in the From address.
  • DKIM alignment: the domain in the DKIM signature, written as d=, matches the domain in the From address.

DMARC passes if at least one of these is true:

  1. SPF passed and SPF is aligned, or
  2. DKIM passed and DKIM is aligned.

You do not need both. One aligned pass is enough.

DMARC alignment examples

You can read every domain involved in the email header. Here are two emails that both say they are from maria@example.com.

Example 1: aligned, DMARC passes

What Domain
From address example.com
Return-Path (SPF) example.com
DKIM signature d= example.com

Everything matches. SPF and DKIM are both aligned, and DMARC passes.

Example 2: not aligned, DMARC fails

What Domain
From address example.com
Return-Path (SPF) bounce.sendingtool.example
DKIM signature d= sendingtool.example

Here SPF passes and DKIM passes, but both passed for the sending tool’s domain. Neither matches example.com, so nothing is aligned and DMARC fails. This is the situation that confuses people most: two green ticks and a red one.

Relaxed vs strict DMARC alignment

Relaxed alignment Strict alignment
What counts as a match The same main domain, so subdomains are fine Exactly the same domain
mail.example.com and example.com Aligned Not aligned
Setting in the DMARC record aspf=r and adkim=r aspf=s and adkim=s
Default? Yes No

Relaxed is the default, and you get it without adding anything to your DMARC record. Strict alignment is only for organisations with special security needs.

Why DMARC alignment fails

  • DKIM was never set up for your own domain. If you skip DKIM setup, Google and Microsoft still sign your email, but with one of their own domains. The signature passes, yet it is not aligned with yours.
  • A tool sends on your behalf. Newsletter tools, help desks and CRMs often use their own Return-Path and their own DKIM domain unless you switch on a custom domain.
  • Forwarding. When an email is forwarded, SPF alignment usually breaks. DKIM alignment survives, which is the main reason to have DKIM in place.
  • Strict alignment by accident. Someone added aspf=s or adkim=s and now a subdomain no longer matches.

DMARC alignment and cold email

Cold email sent straight from a mailbox has a head start. The Return-Path is your own address, so SPF alignment is normally fine from day one.

DKIM alignment is the part to check. It only works once DKIM is switched on for each sending domain, with a signature that says d= followed by your domain. Having both aligned means your email still passes DMARC when a reply chain is forwarded inside the prospect’s company.

When PureMail sets up your Google Workspace inboxes or Microsoft 365 inboxes, DKIM is created and switched on for every domain, so both kinds of alignment are in place before you send.

Alignment is checked on every single domain in your cold email infrastructure, so one forgotten domain can quietly fail while the rest pass.

How to check and fix DMARC alignment

  1. Send an email to your own Gmail address and open Show original.
  2. Compare three things: the From domain, the d= domain in the DKIM signature, and the Return-Path domain.
  3. If the d= domain is not yours, set up DKIM for your domain in your email provider and switch it on.
  4. If a tool is sending for you, turn on its custom domain setting.
  5. Test again until the result says dmarc=pass.

The records you need are in our guide to setting up SPF, DKIM and DMARC.

FAQ

DMARC alignment: questions people ask.

01

What is DMARC alignment in simple words?

DMARC alignment means the names match. The domain your reader sees in the From address has to be the same domain that passed the SPF check or the DKIM check. If the check passed for somebody else's domain, it does not count for you.

02

Why does DMARC fail when SPF and DKIM pass?

Because of alignment. SPF and DKIM can both pass for a domain that is not yours, such as the domain of the tool that sent the email. DMARC only counts a pass that uses the same domain as your From address, so with no matching pass, DMARC fails.

03

What is the difference between relaxed and strict DMARC alignment?

With relaxed alignment, a subdomain counts as a match, so mail.example.com aligns with example.com. With strict alignment, the two domains must be exactly the same. Relaxed is the default and is right for almost everyone.

04

What is SPF alignment?

SPF alignment means the domain in the hidden Return-Path address, which is the one SPF checks, matches the domain in the visible From address.

05

What is DKIM alignment?

DKIM alignment means the domain in the DKIM signature, shown as d= in the email header, matches the domain in the visible From address.

06

How do I fix DMARC alignment?

Set up DKIM with your own domain in your email provider, so the signature says d= followed by your domain. That gives you DKIM alignment, which is enough for DMARC to pass. If you send through another tool, turn on its custom domain or custom DKIM option.

Still have a question? support@puremail.ai · contact us

Your next reply is one order away.

Google Workspace and Microsoft 365 inboxes from $2.90 a month, set up and connected to your sequencer today.