Free Email Checker Free Email Checker
Security Records

SPF Pass but DMARC Fail? How to Find and Fix Alignment

SPF Pass but DMARC Fail? How to Find and Fix Alignment

In short

  • When SPF passes but DMARC fails, the SPF pass almost always belongs to a different domain from the one in your visible From address. DMARC only counts an SPF or DKIM pass if that domain is the same as, or in the same organization as, your From domain. That rule is called alignment.
  • SPF checks the hidden envelope sender (the MAIL FROM, which becomes the Return-Path header). Email platforms usually put their own bounce domain there, so SPF passes for them, not for you.
  • DMARC needs only one aligned pass. The usual fix is to turn on custom DKIM signing with your own domain in each sending platform, and, where the platform offers it, a custom return-path on a subdomain of yours.
  • You can see the problem in two places: the Authentication-Results header of a test message (compare smtp.mailfrom and header.d with header.from) and in your DMARC aggregate reports (raw auth_results say pass, policy_evaluated says fail).
  • Some rows are not your fault: mailing lists and some forwarders change the message path. Aligned DKIM is the best protection, and ARC helps receivers judge the rest.

It is one of the most confusing results in email. Your SPF record is correct, the message says spf=pass, and yet the very same header ends with dmarc=fail. Or a DMARC report shows a source that sent 860 messages with SPF passing and DKIM passing, and every one of them is marked as a DMARC failure. People often conclude that DMARC is broken, that the receiver is wrong, or that the SPF record needs another include. None of those is usually true.

This guide explains what is really happening, in plain terms and then field by field. You will learn the two "from" addresses every message carries, the alignment rule that DMARC applies on top of SPF and DKIM, how to read the problem in a message header and in an aggregate report, the seven causes we see most often, and how to fix each one without breaking anything else. It assumes you already have SPF, DKIM and DMARC records published; if not, start with How to Set Up SPF, DKIM and DMARC (Without Getting Lost in the Acronyms) and come back. You can check your records as you go with our free SPF, DKIM and DMARC checker, and read your reports with the DMARC report analyzer. The standards and provider documents cited here were checked in December 2026 and are listed at the end with their check dates.

In this guide

Diagram contrasting the envelope sender bounces@bounce.mailer.example, which SPF checks, with the visible From address news@example.com, which DMARC protects
SPF checks the envelope sender; DMARC protects the From line. When the two domains differ, the SPF pass does not count.

One message, two "from" addresses

Every email has two sender addresses, and most people only ever see one of them.

The first is the envelope sender. When one mail server hands a message to another, the conversation starts with a command called MAIL FROM, defined in RFC 5321. The address given there is where bounces and delivery failures go. The receiving server records it in a header called Return-Path, but mail programs do not show it. You will also see it called the bounce address, the envelope from, the 5321.MailFrom or the return-path. They all mean the same thing.

The second is the header From, the address in the From: line of the message itself, defined in RFC 5322. This is what the inbox displays as the sender. It is what your customers trust when they decide whether to open a message, and it is exactly what a spoofer copies. The DMARC standard calls the domain in this line the Author Domain.

When you send from your own mail server or from your mailbox provider, the two addresses usually share a domain. When you send through a newsletter service, a CRM, a helpdesk, an invoicing system or a transactional email API, they very often do not. The platform keeps the From line you asked for (say news@example.com) but puts its own address in the envelope (say bounces+12345@bounce.mailer.example), because it needs to receive and process the bounces itself. That is a sensible design for the platform. It is also the root of the SPF-pass-DMARC-fail result.

Here is the key fact. SPF checks the envelope sender, not the From line. The SPF standard, RFC 7208, asks one question: is the IP address that is connecting allowed to send mail for the domain in MAIL FROM? If the envelope says bounce.mailer.example and the platform's servers are listed in that domain's SPF record, the answer is yes, and the result is pass. Your own SPF record for example.com was never even consulted. SPF on its own says nothing about the From line, which is why it could never stop someone putting your domain there.

DKIM has the same gap in a different place. A DKIM signature, defined in RFC 6376, proves that a message was signed by whoever controls the domain in its d= tag and was not changed afterwards. Nothing in DKIM requires that domain to be the From domain. A platform can sign everything with d=mailer.example, and the signature will verify perfectly.

The alignment rule DMARC adds

DMARC was designed to close exactly that gap. It takes the two existing checks and adds one more condition: the domain that passed must align with the From domain. In the words of the current standard, RFC 9989 (published in May 2026, replacing RFC 7489), DMARC validates the use of the Author Domain by requiring that a domain authenticated by SPF or DKIM is either identical to it or shares its Organizational Domain.

That gives a short, complete rule you can carry around:

  • A message passes DMARC if SPF passes for an aligned domain, or DKIM passes for an aligned domain. One is enough.
  • A message fails DMARC if neither check produces an aligned pass. Passing SPF or DKIM for some other domain does not help at all.

Two details in RFC 9989 are worth knowing because they explain odd results.

First, for DMARC, SPF means the MAIL FROM check only. SPF can also check the name a server gives in its HELO or EHLO greeting, and some receivers show that result in headers, but RFC 9989 states that DMARC relies solely on the MAIL FROM identity. The one wrinkle is a message with an empty envelope sender, such as a bounce notice: RFC 7208 then builds the identity from postmaster and the HELO name, so the HELO domain is what gets compared. You will rarely need this, but it explains the occasional row where SPF was checked against a server name.

Second, the standard is open about why alignment matters: anyone, including a bad actor, can publish an SPF record for a domain they own and get an SPF pass. An unaligned pass proves only that some domain authorized the server. It does not prove your domain did.

Decision diagram: SPF passes for bounce.mailer.example but is not the same organization as example.com, DKIM passes for mailer.example but is also unaligned, so DMARC fails
Each check is answered in order. An unaligned pass is marked as fail for DMARC, and when both are unaligned the message fails.

Relaxed and strict alignment

"Aligned" has two possible meanings, and your DMARC record chooses between them with two tags: aspf for SPF and adkim for DKIM. Each can be r (relaxed) or s (strict). If you do not set them, both default to relaxed.

  • Relaxed alignment accepts any domain in the same organization. If your From address is example.com, an envelope domain of em.example.com or a DKIM domain of mail.em.example.com is aligned, because they all belong to the Organizational Domain example.com.
  • Strict alignment demands an exact match. Under aspf=s, only an envelope domain of exactly example.com aligns with a From of example.com.

RFC 9989 notes that in practice nearly all domain owners have found relaxed alignment sufficient. That matters for this guide, because the cleanest fix for many platforms is a return-path on a subdomain of yours, and that only aligns under relaxed SPF alignment. If someone set aspf=s years ago to be "more secure", it may be the very reason your platform's custom return-path still fails. Amazon's own documentation for SES, for example, says the domain identity's DMARC policy must not use strict alignment because of how it handles feedback forwarding (see the platform notes below).

How does a receiver know where the organization starts? Under the old standard it used the Public Suffix List, a community-maintained list of names such as com and co.uk. RFC 9989 replaced that with a DNS tree walk: the receiver looks up DMARC records from the domain upwards, with a limit of eight lookups, and the records themselves can mark where an organization begins. For everyday domains like example.com or example.co.uk the answer is the same as before. It only changes for unusual setups, such as companies whose subsidiaries live under one shared parent domain. If that describes you, read section 4.10 of RFC 9989 before relying on relaxed alignment across those names.

Table showing which of six authenticated domains align with a From domain of example.com under relaxed and strict alignment
Relaxed alignment accepts subdomains of the same organization; strict needs an exact match. A look-alike domain never aligns.

Note the last row of that table. A domain such as example.com.mailer.example contains your domain name as text, but it belongs to mailer.example. Alignment is about who controls the domain, not what the name looks like, and that is precisely what makes it useful against impersonation.

How an SPF pass becomes a DMARC fail, step by step

Put the pieces together and the confusing result becomes predictable. Take a newsletter sent through a platform that has not been set up for your domain:

  1. The platform connects from its own IP address and says MAIL FROM:<bounces+12345@bounce.mailer.example>.
  2. The receiver checks SPF for bounce.mailer.example. The platform's IP is in that record, so SPF passes.
  3. The receiver reads the From line: news@example.com. It compares the organization of bounce.mailer.example (which is mailer.example) with example.com. They differ, so the SPF pass is not aligned.
  4. The receiver checks DKIM. The platform signed with d=mailer.example. The signature verifies, so DKIM passes, but it is not aligned either.
  5. No aligned pass exists. DMARC fails, and the policy in your DMARC record (p=none, quarantine or reject) now decides what happens to the message.

While your policy is p=none, nothing visible happens: the message is delivered as it would have been without DMARC, and the failure only shows up in reports and headers. That is why many domains carry this problem for years without noticing. The moment the policy changes to quarantine or reject, every one of those newsletters goes to spam or bounces. This is the single most common way that a DMARC rollout damages legitimate mail, and it is avoidable if you find these rows first.

There is also a quieter cost even at p=none. Since 2024, Google requires senders of more than 5,000 messages a day to Gmail accounts to have the From domain aligned with either the SPF or the DKIM domain, and Yahoo publishes similar rules for bulk senders. An unaligned stream can therefore hurt delivery to the largest mailbox providers whatever your own policy says. How to Protect Your Sender Reputation Before It's Damaged explains how that reputation builds and why it is tied to your domain.

The fastest way to confirm an alignment problem is to send one test message from the platform you suspect to a mailbox you control, and look at its headers. In Gmail, open the message, choose the three-dot menu and then Show original. In Outlook on the web, open the message and choose View message source (the exact menu name varies by version). Look for a header named Authentication-Results. The receiving server writes its own verdict there.

Annotated Authentication-Results header with spf=pass for smtp.mailfrom bounce.mailer.example, dkim=pass for header.d mailer.example, and dmarc=fail for header.from example.com
Three fields tell the whole story: the domain SPF checked, the domain DKIM proved, and the From domain DMARC protects.

You do not need to understand every part of the header. Find three fields and compare them:

  • smtp.mailfrom= is the envelope domain that SPF checked.
  • header.d= (sometimes header.i=) is the domain in the DKIM signature. If there is more than one signature, there will be more than one dkim= entry.
  • header.from= is your From domain, the one DMARC protects.

If the domain after smtp.mailfrom and the domain after header.d both belong to someone else, you have found your answer. If either of them belongs to your organization and passed, DMARC should pass too; if it does not, look at whether your record uses strict alignment.

Two more lines in the raw source are worth a glance. The Return-Path: header near the top shows the envelope address in full, which often names the platform outright (bounces@sendgrid.net, ...@amazonses.com, ...@mcsv.net and so on). The DKIM-Signature: header shows the d= domain and the s= selector, which you will need when you set up custom DKIM. If you want to check whether a selector exists in DNS for your own domain, the SPF, DKIM and DMARC checker can look it up.

A practical tip: send the test to mailboxes at two different providers. Receivers differ in small ways, and a second opinion quickly tells you whether you are looking at your setup or at one receiver's quirk.

Finding it in a DMARC aggregate report

Headers show you one message. DMARC aggregate reports show you every source that sends as your domain, which is how you find the platforms nobody told you about. If you have not read one before, How to Read a DMARC Aggregate Report, Field by Field walks through the format field by field; here we only need one pattern.

Every record in a report has two sections that look like they disagree. auth_results lists the raw SPF and DKIM results, with the domain each one was checked for. policy_evaluated gives the DMARC verdict, and its spf and dkim fields are not the raw results: they say whether each check produced an aligned pass. So the signature of an alignment problem is a row where auth_results says pass for a domain that is not yours, while policy_evaluated says fail for the same check.

One aggregate report record: auth_results shows DKIM pass for mailer.example and SPF pass for bounce.mailer.example, while policy_evaluated for the same row shows dkim fail and spf fail
The raw results say both checks passed; the evaluated results say neither counted, because both passed for the vendor's domains.

Reading reports by hand is slow, so our DMARC report analyzer does the comparison for you. It sorts every source into one of four groups: aligned, unaligned but authenticated, unauthenticated, or mixed. The second group is exactly this guide's problem, and the analyzer raises a finding called "Senders that authenticate but are not aligned" with the number of messages and the IP addresses involved. A separate, more serious finding fires if your policy is already enforcing and receivers have quarantined or rejected mail that passed SPF or DKIM for another domain: that usually means a real sender is being blocked.

When you look at a failing source, the domains in auth_results are your best clue to who it is. A DKIM domain or an SPF domain that names a platform tells you which account to log into. If the domains are generic, look up the reverse DNS of the source IP, ask the teams who send email (marketing, support, finance, HR, product) what tools they use, and check your company's software subscriptions. It is surprisingly common to find a platform that a team signed up for years ago and that nobody in IT knew about.

The seven usual causes

In practice, nearly every SPF-pass-DMARC-fail row falls into one of seven patterns. The first five are setup steps that were never completed and are fixed on your side. The last two come from how the message travelled and are mostly outside your control.

Seven common causes of SPF pass with DMARC fail grouped as sender setup, platform defaults and message path
Most causes are an unfinished setup step. Spoofing looks different: it fails SPF and DKIM outright.

1. The platform uses its own bounce domain

This is the most common cause by a wide margin. Newsletter tools, CRMs, transactional APIs and helpdesks put their own domain in the envelope so they can process bounces. SPF passes for them. Unless the platform offers a custom return-path (often called a custom MAIL FROM, a bounce domain or a branded return-path) and you set it up, the SPF result can never align with your From domain.

2. The platform signs DKIM with its own domain, or not at all

Many platforms sign every message with a shared key for their own domain when you have not authenticated yours. The signature is valid, but unaligned. Some platforms do not sign at all until you add DNS records. Either way, the message is left without an aligned DKIM pass, and combined with cause 1 it fails DMARC.

3. Strict alignment with a subdomain return-path

You did set up a custom return-path, on em.example.com, and SPF passes for it, but your DMARC record says aspf=s. Strict alignment needs an exact match, so em.example.com does not align with example.com. The same applies to adkim=s if a platform signs with a subdomain. Unless you have a specific reason for strict mode, relaxed alignment is the standard choice.

4. Google Workspace without your own DKIM key

Google's documentation is direct about this: if you do not set up your own DKIM key, Gmail signs outgoing messages from Google Workspace with a default key at d=*.gappssmtp.com. That signature verifies but can never align with your domain, so DMARC depends entirely on SPF, and SPF fails as soon as a message is forwarded. Google also signs only the primary domain by default when you do set up DKIM, so a Workspace account with several domains needs a key for each one.

5. Microsoft 365 without custom DKIM

Microsoft's documentation explains that outbound mail from the initial *.onmicrosoft.com domain is automatically signed by that domain. For a custom domain, you have to publish two CNAME records and enable DKIM signing for it in the Defender portal. Until you do, messages from your custom domain carry a DKIM signature that does not align with it, and DMARC relies on SPF alone.

6. Forwarding

When a recipient's mailbox forwards a message to another address, the forwarding server sends it on from its own IP address. SPF at the final receiver then checks the forwarder's IP against your domain's SPF record, and fails. If the message also carried an aligned DKIM signature and the forwarder did not modify it, DKIM still passes and DMARC passes. If DKIM was unaligned (cause 2, 4 or 5), nothing aligned survives, and the forwarded copy fails.

7. Mailing lists

Mailing lists are the classic source of an "SPF pass, DMARC fail" row that is not a setup mistake. A traditional list re-sends each message with its own envelope sender, so SPF passes for the list's domain. It also tends to edit the message, adding a footer or a [tag] to the subject, which breaks the original DKIM signature. The result: SPF passes for the list, DKIM fails for you, DMARC fails. Many lists now work around this by rewriting the From line to their own address when the author's domain has a strict DMARC policy.

Notice what is not on this list: a stranger spoofing your domain. Spoofed mail normally fails SPF and DKIM outright, because the spoofer controls neither your DNS nor your signing keys. A row where SPF passes for some other domain is far more likely to be one of your own platforms than an attacker. Not always, since an attacker can get an unaligned SPF pass for a domain they own, but an unknown source with an unaligned pass deserves investigation before alarm.

How to fix it: custom DKIM and custom return-path

Because DMARC needs only one aligned pass, you have two independent ways to fix each source. Do at least one. Do both where you can.

Two fix paths side by side: sign DKIM with your own domain by publishing the platform's CNAME or TXT records, or use a custom return-path on a subdomain
DKIM signing with your domain is the fix that survives forwarding. A custom return-path adds a second aligned pass under relaxed alignment.

Fix A: sign DKIM with your own domain

Nearly every serious email platform supports signing with the customer's own domain. The setting goes by many names: domain authentication, sender authentication, custom DKIM, domain verification, or "authenticate your domain". The process is almost always the same:

  1. In the platform, add your domain (or the subdomain you send from) and start the authentication process.
  2. The platform shows you one to three DNS records, usually CNAME records with names like s1._domainkey.example.com or k1._domainkey.example.com, pointing at keys the platform manages. Some platforms give you a TXT record with the public key instead.
  3. Add the records at your DNS host exactly as shown. Watch for DNS hosts that append your domain automatically, which turns s1._domainkey.example.com into s1._domainkey.example.com.example.com.
  4. Return to the platform and click verify. Once it confirms, it starts signing with d=example.com.
  5. Send a test message and check that Authentication-Results now shows dkim=pass header.d=example.com.

DKIM is the better of the two fixes for a simple reason: a DKIM signature travels with the message. It survives ordinary forwarding, where SPF does not. That is why most deliverability guidance, including Google's, treats aligned DKIM as the backbone of DMARC. Using CNAME records also means the platform can rotate its keys without you touching DNS again.

Fix B: use your own return-path

Many platforms also let you replace their bounce domain with a subdomain of yours, such as em.example.com, bounce.example.com or mail.example.com. The platform gives you a CNAME record (or, for some services, an MX record plus an SPF TXT record) to publish on that subdomain. After that, the envelope sender is something like bounces@em.example.com, SPF passes for em.example.com, and under relaxed alignment that is aligned with example.com.

Two cautions. First, pick a subdomain that is used for nothing else, and never one that receives your normal mail: some platforms require you to point its MX record at them, which would break inbound mail on that name. Second, as noted above, this only aligns under relaxed SPF alignment, so check that your DMARC record does not say aspf=s.

Why both is better than one

Two aligned passes give you a margin. If a platform rotates a DKIM key badly, or a receiver has a temporary DNS problem fetching the key, the aligned SPF pass still carries the message. If a message is forwarded, aligned DKIM carries it. Neither failure alone breaks DMARC. When you look at your reports after the fix, a healthy row for a platform shows both dkim and spf as pass in policy_evaluated.

Platform notes: Google Workspace, Microsoft 365, Amazon SES and others

Menus move and product names change, so treat the following as a map, not a script. The official pages listed under Sources have the current steps.

Google Workspace

In the Admin console, go to the Gmail authentication settings, generate a DKIM key for each domain you send from (2048-bit if your DNS host supports it; the default selector is google), publish the TXT record it shows at google._domainkey, wait for DNS to update and then press Start authentication. Until you do, Workspace mail carries the shared gappssmtp.com signature described in cause 4. SPF for Workspace normally aligns already, because Google uses your domain in the envelope, but forwarding breaks it, which is why the DKIM step matters.

Microsoft 365

Microsoft signs mail from your initial onmicrosoft.com domain automatically. For each custom domain, the Defender portal shows two CNAME records (selector1._domainkey and selector2._domainkey) that point at keys Microsoft manages. Publish both, then enable DKIM signing for that domain. Microsoft also notes that mail from its tenants which fails DMARC at the destination is routed through a separate high-risk delivery pool when your policy is quarantine or reject, which is one more reason to finish this step before you enforce.

Amazon SES

Amazon SES uses a subdomain of amazonses.com as the default MAIL FROM domain, so SPF passes for Amazon, not for you. Two settings fix it. Easy DKIM (or your own DKIM keys) makes SES sign with your domain. A custom MAIL FROM domain, which must be a subdomain of your verified identity, gives you an aligned envelope; SES asks you to publish exactly one MX record and an SPF record on that subdomain. Amazon's documentation also warns that the domain's DMARC policy must not use strict alignment, because of how SES forwards feedback. If the MX record is missing, SES either falls back to its own domain or rejects the send, depending on the "behavior on MX failure" option you chose, so check that option after any DNS change.

Newsletter, CRM and helpdesk platforms

Mailchimp, SendGrid, Brevo, HubSpot, Zendesk, Freshdesk, Salesforce and the many tools like them all follow the same pattern: a domain authentication page that gives you DKIM records, and in many cases an optional branded return-path or link-tracking domain. Two practical points apply to all of them. Authenticate the exact domain or subdomain that appears in your From line, not a different one you also own. And if a team sends from several accounts on the same platform, check that each account uses the authenticated domain; an old account can quietly keep sending unaligned mail.

Your own servers and appliances

Web servers that send password resets, office printers that email scans, monitoring systems that send alerts: these often send directly from an IP address with no DKIM at all. The cleanest fix is to stop them sending as your main domain directly and route them through your mail provider or a transactional service with authentication, using SMTP with a username and password. If that is not possible, give them a dedicated subdomain with its own SPF and DKIM.

Forwarding, mailing lists and ARC

Some failing rows remain after every platform is fixed. That is expected, and it is not a reason to delay enforcement forever.

Two message paths: a forwarder keeps the message so SPF fails but aligned DKIM passes and DMARC passes, while a mailing list adds a footer so SPF passes for the list but DKIM fails and DMARC fails
Forwarding usually costs you SPF; mailing lists can cost you DKIM as well. Aligned DKIM and ARC are the tools that help.

The DMARC standard is candid that some messages using a domain with full authorization will still fail DMARC, and points to RFC 7960, which catalogues these interoperability problems. In reports, they tend to look like this:

  • Forwarded mail: SPF fails for your domain, from an IP you do not recognize, often a university or an ISP's forwarding server. If DKIM is aligned and passes, the row passes DMARC and you can ignore it. If it fails, see whether you have finished Fix A for the platform that originally sent it.
  • Mailing list mail: SPF passes for the list's domain, DKIM fails for yours, and the volume is small and regular. This is the pattern our worked example below includes.

The industry's answer to the second problem is ARC, the Authenticated Received Chain, described in RFC 8617 (an experimental standard). A list or forwarder that supports ARC records the authentication results it saw when the message arrived, and signs that record. The final receiver can then choose to trust the earlier result from an intermediary it considers reliable. Two things to understand: ARC is applied by the intermediary, not by you, and the receiver decides whether to honour it. There is nothing to publish in your DNS for ARC. Your part is to make sure every message you send has an aligned DKIM signature, which gives intermediaries something worth vouching for. Aggregate reports may show this decision as a reason of trusted_forwarder, mailing_list or local_policy in policy_evaluated.

What you should not do is weaken your policy permanently because a few dozen list messages fail. They are a small, known category. Once your own senders are aligned, the remaining failures are mostly mail that you could not have authenticated anyway.

A worked example with our analyzer

To show the difference these fixes make, we built an invented aggregate report for example.com (a domain reserved for documentation, with IP addresses from the ranges reserved for examples) and ran it through the parser behind our DMARC report analyzer twice: once as it would look before any fixes, and once after the platforms were set up. The figures below are the parser's real output for that file. They are an illustration of how to read the tool, not statistics about real domains.

Before and after table produced by our parser for an invented report: six sources, the pass rate rising from 55.35 percent to 98.1 percent after custom DKIM and a custom return-path were added for two platforms
The same 2,737 messages before and after two platforms were authenticated. The two remaining failures are a mailing list and an unauthenticated source.

The report covers one day and six sending sources, 2,737 messages in total, with a policy of p=none and relaxed alignment.

  • 192.0.2.10, 1,420 messages: the company's own mailbox provider, signing with d=example.com and using example.com in the envelope. Both checks aligned. Nothing to do.
  • 198.51.100.20, 860 messages: a newsletter platform. SPF passes for bounce.mailer.example, DKIM passes for mailer.example. Both unaligned: the textbook case of this guide.
  • 198.51.100.77, 310 messages: a helpdesk. SPF passes for helpdesk.example, and there is no DKIM signature at all.
  • 203.0.113.45, 95 messages: forwarded mail. SPF fails (the forwarder's IP is not in the company's SPF record), but the original DKIM signature for example.com survived, so DMARC passes.
  • 203.0.113.99, 40 messages: a mailing list. SPF passes for lists.example.net, DKIM for example.com fails because the list added a footer.
  • 203.0.113.200, 12 messages: nothing passes. Either an unknown system or a spoofing attempt.

Before the fix, the parser counts 1,515 messages that pass DMARC out of 2,737, a pass rate of 55.35%. It reports 1,210 messages from sources that authenticate but are not aligned (the newsletter, the helpdesk and the list), 12 unauthenticated messages, and the finding "not ready to tighten". Notice that raw SPF passed for 1,420 + 860 + 310 + 40 = 2,630 messages, 96.1% of the total. If you looked only at raw SPF results, you would think the domain was nearly perfect. Alignment tells the real story.

The fix: the newsletter platform was given custom DKIM (d=example.com) and a custom return-path on em.example.com; the helpdesk was given custom DKIM. Nothing else changed. Run through the parser again, the same 2,737 messages produce 2,685 DMARC passes, a pass rate of 98.1%. The newsletter source now shows both SPF and DKIM aligned; the helpdesk shows DKIM aligned while its SPF is still the vendor's, which is fine because one aligned pass is enough. The finding changes to "looks ready to tighten", because the pass rate crossed the analyzer's 98% threshold.

The 52 messages that still fail are the two categories you should expect to remain: 40 from the mailing list, which is outside the company's control, and 12 from the unauthenticated source, which is exactly the kind of mail an enforcing policy exists to stop. Before enforcing, the company should still identify that IP: if it turns out to be an office printer, it needs fixing; if nobody recognizes it, it may be spoofing, and Why Is My Domain on a Blacklist? (And How to Check) explains how to check whether an unfamiliar IP has a bad record on public blocklists (our blacklist checker does the lookup).

Fixes that do not work

When people first meet this problem, a few "fixes" come up again and again. Each one is understandable, and each one either does nothing or makes things worse.

Adding the platform to your root SPF record

This is the most common one. The platform's documentation may well tell you to add include:servers.mailer.example to your SPF record, and it does no harm if you have room, but on its own it does not create alignment. SPF is checked against the envelope domain. If the envelope still says bounce.mailer.example, your record for example.com is never consulted. The include only matters when the platform puts example.com itself in the envelope, which most platforms do not do. Meanwhile every extra include uses up part of SPF's limit of ten DNS lookups, and going over that limit makes SPF return an error for all your mail. Our SPF, DKIM and DMARC checker counts the lookups for you.

Switching alignment to strict "for safety"

Strict alignment does not make legitimate mail more trustworthy; it only rejects subdomain matches. It breaks the most common return-path fix and some platforms that sign with a subdomain. Unless you have a concrete reason, leave both aspf and adkim at relaxed.

Staying at p=none forever

Monitoring mode is a stage, not a destination. With p=none, DMARC protects nobody from spoofing; it only produces reports. The whole point of fixing alignment is to reach the moment when enforcement blocks impostors without touching your real mail.

Changing the From address to the platform's domain

Sending as news@yourcompany.mailer.example would technically align with the platform's own authentication, but your recipients no longer see your domain, your brand trust and reputation do not build on your domain, and spoofers can still use your real domain freely. It moves the problem rather than solving it.

Ignoring a source because its volume is small

Twelve messages a day from an unknown IP may be your accounting system sending invoices, which is about as important as mail gets. Small sources deserve the same "do I recognize this?" question as large ones; they just come later in the queue. Unknown Senders in Your DMARC Report: How to Identify Them and What to Do shows how to identify an IP address you do not recognize.

A checklist for each failing source

Here is the routine we suggest, applied to one source at a time, largest first. It fits into the weekly report reading described in How to Read a DMARC Aggregate Report, Field by Field.

Seven-step checklist: find the source and volume, read the SPF and DKIM domains, name the platform, turn on custom DKIM, add a custom return-path, send a test and check the header, then confirm in reports
One source at a time, largest first. The last step is confirmation in reports, not just a successful test.
  1. Find the source and its volume. In the analyzer, filter for sources that authenticate but are not aligned, and start with the biggest.
  2. Read the domains. Note the SPF domain and the DKIM domain (and selector) from auth_results.
  3. Name the platform. Use the domains, the reverse DNS of the IP and your teams' knowledge. Find who owns the account.
  4. Turn on custom DKIM for the exact From domain in that platform, and publish its records.
  5. Add a custom return-path on an unused subdomain if the platform offers it.
  6. Test. Send a message to a mailbox you control and check header.d and smtp.mailfrom in Authentication-Results.
  7. Confirm in reports. Wait for two or three days of reports and check that the row now passes at every receiver. Write down what you changed and when.

While you are working through the list, it helps to know if a DNS change breaks something that was passing. Our deliverability monitor rechecks your SPF, DKIM, DMARC and MX records every day and emails you when a passing check starts to fail; An Easy Way to Monitor Email Deliverability, and What It Misses explains the setup, and the MX lookup is useful when a platform asks you to publish an MX record for a return-path subdomain. What Does an MX Record Actually Do? A Beginner's Guide covers why that record matters.

When you can move to enforcement

The goal of all this is a DMARC policy that actually protects your domain. A sensible sequence, once the alignment work is done:

  • Every known sender passes. Each platform you recognize shows aligned passes across several weeks of reports, at all the receivers that report.
  • The remaining failures are explained. Forwarding, mailing lists and unknown IPs you have investigated. A pass rate in the high nineties is typical at this point, not a hundred.
  • Move to p=quarantine with t=y. RFC 9989 replaced the old pct tag with a testing flag: with t=y, receivers apply your policy one level softer (quarantine is treated like none, reject like quarantine) while you watch the reports. Older receivers may still look at pct, so some owners publish both during the transition. Our analyzer warns when testing mode is on, so you do not forget to turn it off.
  • Remove t=y, then move to p=reject. Do each step only after reports stay clean for a few weeks, and keep reading them afterwards. New platforms get added, and the first sign is usually a new unaligned row.

Do not forget subdomains. If your record has sp=none, subdomains are unprotected even when the main domain enforces, and the analyzer flags that too. For domains that send no mail at all, RFC 9989's np tag sets the policy for subdomains that do not exist.

Frequently asked questions

Why does SPF pass but DMARC fail?

Because SPF passed for a different domain from the one in your From address. SPF checks the envelope sender, which email platforms usually set to their own bounce domain. DMARC only accepts an SPF pass when that domain is aligned with the From domain, meaning the same domain or, under relaxed alignment, the same organization. If DKIM is also unaligned or missing, DMARC fails.

Can DKIM pass and DMARC still fail?

Yes, for the same reason. A DKIM signature can be valid for d=mailer.example or d=*.gappssmtp.com while your From address is example.com. DMARC needs the signing domain to align with the From domain. The fix is to set up DKIM signing with your own domain in that platform.

Do I need both SPF and DKIM to align?

No. One aligned pass is enough for DMARC. Having both aligned is still the better setup because it gives you a margin: aligned DKIM survives forwarding, and aligned SPF covers a temporary DKIM problem.

Will adding include: for my email platform to my SPF record fix DMARC?

Usually not. SPF is checked against the envelope domain, and most platforms put their own domain there. Adding them to your SPF record only helps if they send with your domain in the envelope. What fixes DMARC is custom DKIM or a custom return-path in the platform itself.

Should I use strict or relaxed alignment?

Relaxed, unless you have a specific reason not to. It is the default, RFC 9989 notes that nearly all domain owners find it sufficient, and several platforms' recommended setups (including Amazon SES's custom MAIL FROM) need it.

Is a source that passes SPF but fails DMARC an attacker?

Usually not. Spoofed mail normally fails SPF and DKIM outright. An unaligned pass usually means one of your own platforms has not been authenticated for your domain. It can occasionally be an attacker who published SPF for their own domain, so identify every source before you dismiss it.

Why do forwarded messages fail SPF?

The forwarding server sends the message on from its own IP address, which is not in your SPF record. If the message carries an aligned DKIM signature that the forwarder did not change, DMARC still passes. That is the main reason to make sure all your mail is DKIM-signed with your own domain.

How long does it take for a fix to show in DMARC reports?

Reports usually cover one UTC day and arrive a day or so later, and DNS changes can take time to spread. In practice, allow two to three days after the change before judging, and look at several receivers' reports, not just one.

What to do next

Send a test message from each platform your organization uses and compare the three fields in Authentication-Results. Then upload a recent aggregate report to the DMARC report analyzer and look for sources that authenticate but are not aligned. Fix the biggest one with custom DKIM this week. If you are still building your records, How to Set Up SPF, DKIM and DMARC (Without Getting Lost in the Acronyms) covers the basics, and if bounces rather than authentication are your problem, Why Are My Emails Bouncing? A Practical Troubleshooting Guide is the better starting point. Clean authentication works best alongside a clean list: Why Email Verification Matters (And What Happens If You Skip It) explains why, and the bulk email verifier checks a whole list at once. Everything else is on the free tools hub.

Find unaligned senders in your DMARC reports

Open the analyzer

Sources and check dates

Each source below was read in December 2026. Standards and provider settings change, so check the originals before relying on a detail.

Last updated: December 2026. If a provider's setting or a standard has changed since, treat the official page as the authority and let us know.