Email deliverability
Three email senders on one domain, without breaking SPF
Three systems, one domain, and a reputation problem in any one of them must not touch the other two. The layout is simple; the reason it works is DMARC relaxed alignment.
The problem with one SPF record
The instinctive move is to add every provider to the root SPF record:
v=spf1 include:zohomail.com include:_spf.resend.com include:spf.leadconnectorhq.com include:mailgun.org ~all
Two things go wrong. First, SPF allows a hard maximum of ten DNS lookups during evaluation, and each include: can expand into several. Exceed it and the result is permerror, which strict receivers treat as a failure — so adding a fourth provider can silently break the first three.
Second, and worse: every sender now shares one reputation. A marketing campaign that collects spam complaints degrades the domain that carries your invoices and your replies.
The layout
Give each system its own subdomain and let the root do one job.
| Domain | Owner | Job |
|---|---|---|
example.com (root) | Zoho | The actual inbox — holds MX |
send.example.com | Resend | Transactional: contact form, receipts |
go.example.com | Marketing platform | Campaigns and outreach |
Each subdomain carries its own SPF, its own DKIM key and its own DMARC record. Three small records instead of one overloaded one, and none of them can exhaust another's lookup budget.
Why the From address can still be @example.com
This is the part that trips people up. You are sending through go.example.com, but you want the message to come from hello@example.com so replies land in your real inbox. Does that not fail alignment?
No — because DMARC's default alignment mode is relaxed, and relaxed alignment compares organizational domains, not exact hostnames. A DKIM signature from go.example.com and a From header of hello@example.com share the organizational domain example.com, so they align and DMARC passes.
Relaxed alignment is what makes subdomain isolation practical. Under aspf=s; adkim=s this entire arrangement fails.
Most platforms expose this as a “dedicated header”, “custom From” or “sender identity” setting. Set it to the address you actually read.
The records
For the marketing subdomain, all DNS-only — never proxied, or the MX and TXT lookups break:
| Type | Name | Value |
|---|---|---|
| TXT | go | the provider's SPF include list |
| TXT | krs._domainkey.go | the DKIM public key |
| CNAME | email.go | the provider's tracking host |
| MX | go | the provider's inbound hosts |
| TXT | _dmarc.go | v=DMARC1; p=none; rua=mailto:you@example.com |
Start the subdomain DMARC policy at p=none with reporting on. You want the aggregate reports before you enforce anything.
Add the records by hand
Most platforms offer to configure your DNS automatically. On Cloudflare that means granting the vendor OAuth write access to the entire zone — every record, including the MX that delivers your mail and the records that serve your site. A marketing tool does not need the ability to repoint your root domain.
Copy the five records manually. It takes four minutes and the blast radius of a vendor mistake stays at zero.
Regression-check the root
After adding a sending subdomain, confirm you have not disturbed the system that holds your actual mail:
dig +short MX example.com
dig +short TXT example.com
dig +short TXT _dmarc.example.com
Then send one real message through each path and confirm arrival. The failure mode here is quiet: mail keeps flowing for the sender you tested and stops for the one you did not.
One trap worth knowing
Verifying a sending domain inside a platform does not mean the platform uses it everywhere. Several marketing tools apply the verified sending identity to campaigns but default one-off messages sent from a contact record to the account owner's personal address, with whatever display name the account happens to carry. Send yourself a test from every surface that can send, not just from the campaign builder.
Stuck on something like this?
Northstar HQ builds and repairs production web software. Fixed price against a fixed scope, and you own the code.
Start a project