Pass the menu and read the page

SignupFolio

DMARC pre-send checks: 2 sender addresses and a record

The three things to verify before your first DMARC-protected send are your envelope sender address, your header sender address, and your DMARC TXT record itself. Getting all three aligned is what makes the difference between a launch that delivers and one that quietly bounces.

Key takeaways

  • The envelope sender (the 5321.MailFrom address found in your message headers) drives SPF evaluation
  • The header sender (5322.From, the From: line) is the domain DMARC aligns against
  • Your DMARC record must be a TXT record published at _dmarc.yourdomain.com with the correct version and policy tags
  • Start in monitoring mode so you can see reports and fix failing senders before enforcing
  • On a MOERA-only Microsoft 365 setup, you must create the DMARC TXT record yourself in the admin center

Why sender authentication decides whether your first onboarding email lands

You spent a week writing the onboarding sequence. The copy is clean, the timing is right, and the trigger fires the moment a new account is created. Then half your signups never see a single message. The emails aren't in spam. They're nowhere, because the receiving server rejected them at the door.

That rejection is almost always an authentication failure. Before a receiving mailbox accepts mail from your domain, it checks whether you're allowed to send it. DMARC is one of those checks. Microsoft defines it plainly: Domain-based Message Authentication, Reporting, and Conformance (DMARC) is a method of email authentication to validate mail sent from your Microsoft 365 organization (Microsoft Learn).

The catch for a growth lead is that DMARC doesn't check "your sender." It checks specific addresses and a specific DNS record, and it checks them separately. If you publish a DMARC record for the wrong domain, or if the address the receiving server sees isn't the address you authenticated, DMARC fails even though everything looks configured correctly in your admin center.

What DMARC actually checks on every message

DMARC sits on top of two earlier authentication methods, SPF and DKIM. It doesn't replace them. It reads the result of both, then applies the policy your domain published. A message passes if either SPF or DKIM aligns with the domain DMARC is checking. A message fails if neither does.

The part that trips people up is which domain gets checked. DMARC aligns against the visible From address in the message header, not the address in the envelope. That distinction sounds technical, but it's practical: two addresses exist in every email, and they don't have to match.

Microsoft's DMARC setup article is the reference for the record itself. It describes DMARC TXT record creation, a gradual rollout path for custom domains, and how inbound DMARC handling works inside Microsoft 365 (Microsoft Learn). Before you touch any record, you need to know which of your addresses is which one.

The envelope sender: the 5321.MailFrom address

The first address is the one in the SMTP envelope — the one your mail server writes on the outside of the message. Microsoft calls it the 5321.MailFrom address, and notes it's also known as the P1 sender or envelope sender (Microsoft Learn).

This address is what the receiving server uses to evaluate SPF. When your onboarding email leaves Microsoft 365, the envelope sender determines which domain SPF is checked against. If that domain is your main sending domain and you've published an SPF record for it, SPF passes. If the envelope sender points somewhere else — a bounce address on a different domain, or a subdomain you never published a record for — SPF fails for that domain, and DMARC sees a failed check.

You can find this address in your message headers. Look for the line beginning with Return-Path: near the top of the raw header block; that's your envelope sender. On a real onboarding message from Microsoft 365, it's usually the same address the From line shows. It doesn't have to be. Some setups use a dedicated bounce address. Before you publish a DMARC policy, confirm which one your domain actually uses.

A quick check you can run right now: send yourself a test onboarding message from your Microsoft 365 account, open the raw headers, and read the Return-Path: line. That address is the one SPF will evaluate. Write it down. You'll compare it against the next item on this list.

The header sender: the 5322.From address

The second address is the one your recipients see in their inbox — the From line. Microsoft calls it the 5322.From address, also known as the P2 sender (Microsoft Learn).

This is the address DMARC aligns against. When a receiving server runs DMARC on your onboarding email, it takes the domain in this header address and checks whether your published DMARC record exists for that domain. Then it checks whether SPF or DKIM results align with it.

This matters most when your marketing platform sends on your behalf. If your ESP rewrites the From address to include their own domain, or if it sends with a subdomain you haven't published a record for, DMARC will look for a record at that domain.

In your headers, the header sender appears on the From: line. Compare it to the envelope address you wrote down in the previous step. If the domains match, your alignment problem is simpler. If they don't, you now know exactly which two domains need attention.

Here's a side-by-side of the two addresses and the checks each one drives:

AddressAlso calledWhat it drives
5321.MailFrom (envelope line in headers)P1 sender, envelope senderSPF evaluation
5322.From (From line)P2 senderDMARC alignment domain

The header sender is the one DMARC actually cares about, so treat it as the primary.

The DMARC TXT record itself

The third item is the record. A DMARC record is a TXT record published in your domain's DNS. It lives at a specific hostname: _dmarc.yourdomain.com. That leading underscore matters. Publish the record at the wrong host and DMARC won't find it.

Inside the record, the v tag identifies it as DMARC and the p tag carries your policy. When you're first setting up, the policy is where you exercise judgment. You can start with a monitoring policy, which tells receiving servers to evaluate your mail and send you reports without changing how they deliver it. Or you can start with a policy that instructs them to act on failures immediately. Microsoft's article covers gradual rollout for custom domains (Microsoft Learn). This post's advice is to wait for clean reports before you move to enforcement.

For a growth lead shipping a first onboarding campaign, starting in monitoring mode is the prudent read. You get the reports. You see which senders pass and which fail. You fix what's failing. Then you tighten the policy.

One platform-specific note that catches teams on Microsoft 365: if your organization uses only the Microsoft Online Email Routing Address (MOERA) domain — something like contoso.onmicrosoft.com — SPF and DKIM are already configured for that domain, but you still need to create the DMARC TXT record for it yourself in the Microsoft 365 admin center (Microsoft Learn). Teams that assume "already configured" covers DMARC end up publishing nothing, and their first send goes out with no DMARC policy at all.

The pre-send checklist

Run these three checks in order before your first onboarding email leaves your domain. For the broader send checks, see B2B email to signups: 6 checks before the first send.

Check one: confirm your envelope sender. Send a test message to yourself. Open the raw headers. Find the Return-Path: line. Note the domain. Confirm you have a published SPF record for that exact domain. If the domain is a subdomain you've never touched in DNS, that's your first fix.

Check two: confirm your header sender. Find the From: line in the same headers. Note that domain. This is the domain DMARC will check for a record. If your ESP or a forwarding rule rewrites this address, find out where it rewrites it to, and publish records for that domain. If your onboarding emails go out from mail.yourcompany.com but your records sit on yourcompany.com only, publish for the subdomain too.

Check three: confirm your DMARC record exists and is readable. Look up _dmarc.yourdomain.com in a DNS query tool. Confirm a TXT record is present. Confirm the record begins with the DMARC version tag. Confirm the policy tag says what you intend it to say.

Once all three check out, your first send has a real chance of landing. If any one is off, fix it before launch rather than after — the failure mode is silent, and you won't see it in your own inbox because you're the sender.

Illustrative example: one failing subdomain

A growth lead sends a test onboarding message and opens the raw headers. The Return-Path: line shows mail.yourcompany.com, a subdomain with no SPF record, while the From line shows yourcompany.com, which has a DMARC record. SPF fails for the subdomain, and DKIM is not signed with the From domain, so neither check aligns. DMARC fails for all 200 messages in the first batch. The fix is to publish SPF for the subdomain or have the sending service sign DKIM with the From domain. Then send another test and read the headers again.

Handling inbound mail that fails DMARC

There's a second direction to think about. Your domain publishes a DMARC policy, and that policy is what receivers apply to mail claiming to come from your domain. If a partner or vendor sends mail that fails DMARC, the policy that applies is the one their domain publishes.

Microsoft's article addresses this: if you use an email service that modifies messages in transit before delivery into Microsoft 365, you might be able to identify that service as a trusted ARC sealer (Microsoft Learn).

ARC is the mechanism that lets a trusted intermediary vouch for a message it passed along. If your onboarding flow routes mail through a third-party relay — a ticketing tool, a notification service — that relay may alter headers in a way that breaks DKIM by the time the message reaches a Microsoft 365 mailbox. Trusting that relay as an ARC sealer keeps legitimate mail flowing while your DMARC policy still protects you against actual spoofing.

This matters for you as a growth lead because your onboarding sequence may well include mail from tools outside Microsoft 365. A password reset from your app, a notification from your billing system, a nudge from your support desk — all of these arrive at your own team's mailboxes. If they start failing your DMARC policy, your colleagues stop seeing them. Configure the trusted ARC sealer before your policy goes to enforcement, not after the complaints start.

What to do if your ESP sends on your behalf

Most growth teams don't send onboarding mail directly from Microsoft 365. They use an ESP that connects to Microsoft 365 as a sending service, or they point their ESP's sending subdomain at their own domain. Either way, the ESP becomes part of your authentication picture.

Before launch, ask your ESP three questions. Which domain appears in the envelope sender field of messages they send for you? Which domain appears in the From header? And have they published SPF and DKIM records for those domains, or do you need to publish them yourself in your DNS?

The answers determine where your records go. If your ESP sends from a subdomain of your domain, your DNS needs records for that subdomain. If they send from their own domain entirely, then your DMARC record for your domain won't align with their sends, and you need to work with them on alignment — which usually means they send with your domain in the header and their domain in the envelope.

There's no single correct answer here, and your ESP's documentation will tell you which model they use. The point is to know the answer before your first campaign, not after your delivery rate drops.

Reading your first DMARC reports

Once your record is published and your policy is in monitoring mode, you'll start receiving reports at whatever address your record specifies. These reports arrive as XML attachments, and they tell you which sending sources passed and failed, and why.

For a first-time reader, the reports look dense. Focus on two things: which sources are sending mail under your domain, and which of those sources pass. A source you don't recognize sending under your domain is either a system you forgot about or someone spoofing you. A source you do recognize that fails is a misconfiguration you can fix — usually a missing SPF include, a DKIM key that hasn't been published, or the header/envelope mismatch described above.

Give the monitoring period enough time to capture every legitimate sending source you run. That includes your ESP, your CRM, your support desk, your billing system, and any internal tool that sends mail under your domain. Monitoring first lets you find every sender before enforcement blocks one you have missed. For launch-day monitoring, see Onboarding email monitoring: 4 launch-day steps.

Take this step today

Today, send one test onboarding message from your Microsoft 365 account to a mailbox you own. Open its raw headers and compare the Return-Path: domain with the From: domain. If they differ, fix the mismatch before you launch.

Related guides: Build a trial setup form: 5 key takeaways · Checkout recovery email: 5 checks before you enable it.

FAQ

Do I need DMARC if I already have SPF and DKIM? Yes. SPF and DKIM each tell a receiving server something about the message. DMARC tells it what to do when those checks disagree or fail, and it gives you a reporting channel you don't get otherwise. Without DMARC, a spoofed message carrying your domain in the header can still arrive at your customers' inboxes looking legitimate.

Will DMARC break my onboarding sequence? It shouldn't, if your three checks pass first. The break happens when a sender you didn't account for starts sending under your domain after you move to enforcement. That's why the monitoring period exists — to find those senders while nothing is being blocked.

What about mail from my own Microsoft 365 tenant to my own team? Your tenant sends under your own domain, and your records cover that domain, so internal mail aligns. The risk case is mail routed through an intermediary that rewrites headers. Configure that intermediary as a trusted ARC sealer before enforcing, as noted above.

Where do I publish the record if I use a custom domain with Microsoft 365? In your DNS provider's panel, at _dmarc.yourdomain.com. If you're on a MOERA-only setup with no custom domain, you publish it through the Microsoft 365 admin center instead.

Who should I ask if my ESP's sending model doesn't match anything above? Ask your ESP's deliverability or support team directly. They know which address they place in the envelope sender field and which in the From header for your account, and they can tell you what records they expect you to publish.

Sources and check date

Related posts

More posts