Skip to content
dmarc.quest

Your SaaS Sends Email From Five Places. Here's How That Goes Wrong.

Google Workspace, Intercom, Resend, Loops and Stripe each verify their own records. None of that proves every service sending as your domain is set up correctly. What each one puts in your DNS, and five ways the combination breaks.

If you're building a SaaS product, your domain probably sends mail from more places than you realize.

A typical stack looks like this. Google Workspace for your own inbox. Intercom for support. Resend for password resets and magic links. Loops for onboarding sequences and the changelog. Stripe, once you turn on its custom email domain, for receipts and invoices.

That's five services putting your name in the From line. Each one walks you through its own DNS records and shows a green check when they verify. But verifying a domain in one service doesn't establish that every service sending for that domain is configured correctly. The checks don't share notes, and DMARC judges each message on its own.

The whole problem fits in three sentences. Each service authenticates its mail on a name it picks, usually a subdomain of yours. DMARC cares about one name only, the one in the From line, and asks whether the name that passed lines up with it. And the root of your domain is the one place all five services share, so that's where they collide.

The rest of this post is that idea, drawn out: what a receiver actually checks, where each service's records land, five ways the combination fails, and a short list to run through before you turn enforcement on.

Three names on a message

A typical signed message carries three domain names, and nearly everything below comes down to whether they line up. Take a receipt sent from billing@example.com:

  • The From domain, example.com. It's what the recipient sees, and it's the name DMARC protects.
  • The return path, also called the envelope sender, say bounce.example.com. It's where bounces go. SPF checks this name, not the From domain.
  • The DKIM signing domain, the d= in the signature, say d=example.com. DKIM checks this one.
ONE MESSAGE From billing@example.com Return path bounce.example.com DKIM d= example.com reads SPF reads DKIM DMARC passes when SPF or DKIM passed, and the name it checked aligns with From the name to protect result result
SPF reads the return path. DKIM reads the d= domain. DMARC passes when one of them passed and the name it checked aligns with the From domain. Gold marks the organizational domain the three names share.

DMARC passes when SPF or DKIM passes and the name that passed is aligned with the From domain. Under relaxed alignment, the default, "aligned" means the two share an organizational domain, so bounce.example.com aligns with example.com. Under strict alignment it means the identical name (RFC 9989 §4.4).

Hold onto that rule. Three of the five failures below are that rule meeting a real setup.

Where each service's records land

Here is what the five services' current setup guides put in your DNS. The actual values are generated per account and shown in each dashboard; the shape is what matters. Names are relative to the domain you verify with that service, and the figure shows the layout where that domain is your root.

example.com SPF v=spf1 include:_spf.google.com -all only Workspace's return path is this name DMARC _dmarc v=DMARC1; p=none; rua=… one record, covers every name below DKIM google._domainkey resend._domainkey … keys of services verified at this name return paths: one name per service Resend send.example.com MX + SPF SPF is checked here Loops envelope.example.com MX + SPF SPF is checked here Stripe bounce.example.com CNAME (their example) SPF is checked here Intercom a name Intercom picks CNAME SPF is checked here
With every service verified at the root, it holds one SPF record, one DMARC record and the DKIM keys. Four of the five services return mail on a subdomain of their own, and SPF is checked there, not at the root.
ServiceDKIM keyReturn path, where SPF is checkedIn your root SPF?
Google WorkspaceTXT at <selector>._domainkey (default selector google); you publish the public key directlyYour root domain, so include:_spf.google.com goes in the root recordYes
IntercomCNAME, e.g. intercom._domainkeyA CNAME at a name Intercom generatesNot when the custom return path is set up (see below)
ResendTXT at resend._domainkeyMX + TXT at send.<your domain> by default (newer domains may get CNAMEs)No
LoopsRecords from the dashboardMX + SPF at envelope.<sending domain>No
StripeCNAMEsA "Mail From" CNAME (Stripe's troubleshooting example uses bounce.)No

Stripe also asks for an ownership TXT record, which isn't an authentication record and so isn't in the table.

Two things to take from the picture.

Only one of these services belongs in your root SPF record. In these configurations, only Workspace sends with your root domain as the return path. The other four send with a return path on a name of their own, and SPF checks that name. Each SPF record "is placed in the DNS tree at the owner name it pertains to" (RFC 7208 §3), so a record at send.example.com is unrelated to the one at example.com. What decides where a service belongs is its return path, not what kind of service it is.

Intercom's connection guide does mention include:sparkpostmail.com, but as an alternative to authenticating your domain, not an addition to it. With the custom return path set up, Intercom "handles SPF for you" (troubleshooting guide), and the include adds nothing to your root record.

Unnecessary includes aren't free, either. SPF caps evaluation at ten DNS-querying terms (RFC 7208 §4.6.4), including the lookups nested inside each include. Evaluation runs left to right and stops at the first match (§4.6.2), so whether an over-long record actually breaks your mail depends on which path a given message takes. If an evaluation exceeds ten terms before it finds a match, the result is permerror. It's a budget better not spent on records that do nothing.

Where a DKIM key lives depends on which domain you verify. Verify each service at your root and every key sits at <selector>._domainkey.example.com, which is what the figure shows. Verify a subdomain instead, as both Resend and Loops recommend, and that service's key lives under the subdomain, resend._domainkey.updates.example.com say. Either way, under relaxed alignment the key can vouch for your whole organizational domain. More on that in the fifth failure.

Five ways the combination goes wrong

The first two are collisions in DNS: two things want the same spot. The next two are the alignment rule meeting a real setup. The last is a trust question you should answer on purpose.

1. Two services want the same name

Return-path labels come from a short shared list: send, mail, bounce, email. Each is some service's default, or the example in someone's guide.

That matters most when one of the records is a CNAME. RFC 1034 §3.6.2: "If a CNAME RR is present at a node, no other data should be present." A CNAME can't share its name with an MX or TXT record. Some DNS hosts refuse the conflict; others accept it and serve something receivers won't handle consistently.

Both services that use CNAMEs here say so. Stripe tells you not to have other records sharing a name with its CNAMEs. Resend's Forge (launched October 2026) moves the return path to a new CNAME, leaves your existing records in place, and checks whether the name it suggests is free. The risk sits with names you choose yourself, and with records another service created a year ago that nobody remembers.

What to do: before adding a return-path record, look at what already lives at that name.

2. Every guide adds a DMARC record, and a name gets exactly one

Intercom's troubleshooting guide requires DMARC of at least p=none. Stripe requires DMARC before the custom domain works. Loops provides a record during setup, and Resend walks you through adding one. Several of these guides include an example rua= reporting address.

You publish one DMARC record per name. Publish two at the same _dmarc name and the outcome depends on which standard the receiver follows, but neither is good. Under the current standard, receivers discard both (RFC 9989 §4.10) and keep walking up the DNS tree as if that name had no record. At your root domain there's usually nothing above it. Receivers still on the original standard stop at the duplicate and apply no DMARC to the message at all (RFC 7489 §6.6.3). Either way, the policy you published is ignored.

So if you already have a record that covers the From domain a service sends with, that service's DMARC step is done. Loops says as much: one record at the root can cover your subdomains.

What to do: keep one record at _dmarc.example.com. If you want reports to go to two places, list two addresses in that one record's rua=, not two records. If an address is outside your organizational domain, such as a reporting service's, the destination domain has to publish a DNS record agreeing to receive reports for yours (RFC 9990 §4). Established reporting services do this for their customers, but it's worth confirming for any address you add.

3. Strict SPF alignment removes your fallback

Under aspf=s, SPF only aligns when the return path is the identical name as the From domain. A message from billing@example.com with a return path of bounce.example.com passes SPF but isn't aligned. For four of the five services in the table, mail from your root domain is in exactly that situation.

Relaxed alignment (the default) From: billing@example.com DMARC passes SPF bounce.example.com ✓ aligned same organizational domain DKIM d=example.com ✓ aligned identical name Strict: aspf=s From: billing@example.com DMARC passes ✗ SPF bounce.example.com ✗ not aligned not the identical name DKIM d=example.com ✓ aligned the only thing holding it up
Same message, two settings. Under relaxed alignment two checks hold it up. Under aspf=s the return path is no longer aligned, and DKIM is the only thing left.

Google's DMARC guide explains both modes and warns that strict alignment "can result in messages from associated subdomains to be rejected or sent to spam." Stripe states the limitation flatly for its own product: it doesn't support strict SPF alignment, so your DMARC record shouldn't contain aspf=s.

That mail usually still passes DMARC on DKIM alone. But that leaves one mechanism carrying it, and if the DKIM signature fails for any reason, nothing else does.

What to do: unless you have a specific reason, leave aspf out; relaxed is the default. RFC 9989 notes that "nearly all Domain Owners have found relaxed alignment sufficient" (§4.4).

4. Subdomains inherit your policy, not your authentication

Every one of these guides eventually suggests moving from monitoring (p=none) to enforcement. Your root policy covers subdomains too: unless a subdomain publishes its own record, or your record sets a separate sp=, the p= value applies to them (RFC 9989 §4.7).

Authentication doesn't travel down the tree the same way. SPF is per name. DKIM can cover subdomains under relaxed alignment: a valid d=example.com signature aligns with mail from news.example.com (§4.4). But that only helps if whoever sends from news.example.com actually signs with a key under example.com.

DMARC policy example.com _dmarc: p=reject flows down news. p=reject too send. p=reject too Your p= is theirs too, unless sp= or a record of their own says otherwise. SPF record example.com v=spf1 include:… -all ✗ ✗ stays put news. not covered send. not covered SPF is per name. A record at the root says nothing about mail returning to news. DKIM key d=example.com a key some service holds covers them news. aligned anything. aligned Under relaxed alignment, one key for example.com signs for every name in the org.
Policy flows down: in the usual configuration, your p= applies to every subdomain without a record of its own. SPF stays put: a record at the root says nothing about other names. A DKIM key for the root aligns with mail from any name in the organization.

The rule before enforcing is therefore: verify that each legitimate mail stream passes at least one aligned check. That means the services you set up this year, and also the old newsletter on news. and the CRM a contractor connected two years ago. Under p=reject, receivers can reject the ones that fail.

What to do: check before you move the policy, using more than DNS. Your DNS shows what you meant to set up. DMARC reports show who is actually sending as you, and which of those messages pass. But receivers aren't required to send reports (the standard says they SHOULD, RFC 9989 §5.3.8), and a stream that sends nothing during your reporting window hasn't been shown to work at all. Password resets and annual invoices are the usual examples. So also send a test message from each stream and look at what the receiver made of it.

5. Your DKIM keys vouch for more than one name

The right-hand column of that last figure cuts the other way. If you let a service sign with d=example.com, its signatures align for mail From any name in your organization, not just the address you set it up for. The same holds for a service signing with a sibling or child domain: d=mail.example.com aligns with billing@example.com under relaxed DKIM alignment.

This isn't a reason to panic. These are services you chose, and they send what your account tells them to. But under relaxed alignment, anyone holding a signing key anywhere under your organizational domain can produce DMARC-passing mail across all of it. Google's DMARC guide suggests considering strict alignment when subdomains are managed by another entity or send from outside your control.

Strict DKIM alignment alone doesn't fence a service off, though, because DKIM is only half of the door. Relaxed SPF opens the other half: a service whose return path is any name under your domain gets an aligned SPF pass for mail From any other name in it. Closing both halves takes aspf=s as well, and failure 3 showed what that does to four of these five services. The cost of adkim=s cuts the other way too. It breaks DKIM alignment for a service that signs subdomain mail with a root-domain key, though that mail may still pass DMARC through aligned SPF.

What to do: know who holds a key or a return path under your domain, and weigh the two alignment settings together before tightening either.

Before you turn on enforcement

The five failures, as a checklist:

  • One DMARC record at _dmarc.example.com. Two reporting addresses go in one rua=, and any destination outside your organizational domain has the required authorization record.
  • Your root SPF record lists only services whose return path is your root domain. In the stack above, that's Workspace.
  • Every other service has its own records at its own return-path name, and no MX or TXT record shares a name with a CNAME.
  • Each of those names has at most one SPF record. Two v=spf1 records at one name is a permerror for every message checked there (RFC 7208 §4.5), and it happens at return-path names as easily as at the root.
  • No two services publish different keys at the same <selector>._domainkey.<signing-domain> name. The selector label can be reused under different signing domains; at any one full name, multiple key records make the result undefined (RFC 6376 §3.6.2.2).
  • aspf is left at the default unless you have a reason. If you're considering adkim=s, you know which service it will break, and that it doesn't fence anyone off on its own.
  • Every legitimate stream, old ones included, passes at least one aligned check. You confirmed it from DMARC reports and a test message from each stream, not from DNS.

Three things that look wrong and aren't

send.send.example.com. Verify send.example.com with Resend and its default return-path label is applied beneath that, giving send.send.example.com. One send is your sending domain, the other is Resend's return path. Resend lets you pick a different label when you create a domain. Changing it later through the normal settings means re-adding the domain, though activating Forge sets up its own new return-path name on an existing domain.

Resend's 1024-bit DKIM key. RFC 8301 §3.2: signers "MUST use RSA keys of at least 1024 bits" and "SHOULD use RSA keys of at least 2048 bits." So a 1024-bit key meets the protocol minimum, though it falls short of the recommendation. Resend documents that it signs with 1024-bit keys and that the length can't be changed. A checker that flags it is right about the recommendation; it just isn't something your DNS can fix.

Google's "up to 10 include: tags." Google's SPF page simplifies the limit. The RFC counts every DNS-querying term evaluated, nested includes and a, mx, ptr, exists and redirect included, so a record with four includes can still exceed it.

See your own setup

Each service's setup verification tells you whether its own records are in place. It isn't built to show how those records combine with everyone else's.

Run your domain through dmarc.quest. The Names in your mail setup section shows the mail infrastructure we can find for your domain: which names have sending records, which service each belongs to, and what's wrong with them. Then point your DMARC reports at us to see which of those names are actually sending and passing, and send us a test email from your app to see the verdict a real receiver gave that message.