How should a SaaS company set up DMARC?
DMARC for a SaaS company means giving every email stream (product notifications, password resets, billing and marketing) an aligned SPF or DKIM identity on a domain you control, separating those streams with subdomains, and then moving the policy from p=none to p=quarantine to p=reject. Never send as your customers' domains without their DKIM delegation.
SaaS businesses send more automated email per customer than most companies, and much of it is mail customers must trust: login codes, invoices, payment failures. That makes the brand an attractive target for phishing, and it makes deliverability a product problem. This guide covers the domain design, the provider setup, the mailbox provider rules and the rollout. For protocol background, start with the DMARC guide.
Key takeaways
- Separate streams by subdomain (for example
mail.example.comfor product mail andnews.example.comfor marketing) so one stream's reputation or policy problem does not sink the others. - Align every third-party sender with custom DKIM CNAMEs and, where offered, a custom return path. A provider's shared domain passes SPF but does not align.
- A "send as customer" feature must use DKIM keys the customer delegates to you through DNS. Putting a customer's domain in the From header without that is spoofing, and it fails once the customer enforces DMARC.
- Gmail treats a domain as a bulk sender once it sends close to 5,000 messages to personal Gmail accounts in 24 hours, counted across the primary domain and its subdomains. Microsoft's Outlook.com rules start above 5,000 emails per day.
- Under RFC 9989 there is no percentage ramp: publish
p=none, thenp=quarantine, thenp=reject, and setspandnpdeliberately.
Why is DMARC harder for SaaS companies than for a typical business?
Because a SaaS company has many more sending systems, and several of them are built or chosen by product engineers rather than IT. A typical estate includes the corporate mailbox platform, a transactional email service, a marketing platform, a CRM, a billing or invoicing tool, a support desk and internal alerting. Each one can put your domain in the From header.
DMARC (Domain-based Message Authentication, Reporting and Conformance) passes only when SPF (Sender Policy Framework) or DKIM (DomainKeys Identified Mail) passes for a domain that aligns with the visible From domain. RFC 9989 Section 4.4.1 explains why alignment is required: there is no generally accepted way for a domain owner to publish a list of authorised third-party signers. So each vendor must sign with your domain, or your mail fails DMARC once you enforce.
The risks you are protecting against are specific to SaaS:
- Account takeover phishing: fake "unusual sign-in" or "reset your password" mail that harvests credentials.
- Billing fraud: fake invoices or "update your card" messages that send payments to an attacker. The e-commerce and financial services guides cover similar patterns.
- Lost product mail: real login codes and invoices rejected or filed as spam because an unaligned sender fails authentication at Gmail, Yahoo or Outlook.com.
How should you split SaaS email streams across domains and subdomains?
Give each stream with a different risk profile its own subdomain, and keep the organisational domain for human mail. Transactional mail (login codes, receipts) should never share a reputation with marketing campaigns, because a bad campaign can then delay password resets. Subdomains also let you hand a vendor one zone without touching the rest.
| Stream | Example From address | Typical sender | How it should align | Notes |
|---|---|---|---|---|
| Staff mail | jane@example.com |
Microsoft 365 or Google Workspace | DKIM with d=example.com, SPF on the organisational domain |
Keep human mail on the root domain |
| Product notifications, password resets, login codes | no-reply@mail.example.com |
Transactional ESP (Amazon SES, Postmark, SendGrid, Mailgun) | Custom DKIM on mail.example.com plus a custom return path |
Highest priority; enforce early |
| Billing and invoices | billing@example.com or invoices@billing.example.com |
Billing platform or accounting tool | DKIM signed with your domain via the vendor's CNAMEs | Customers act on these, so phishers copy them |
| Marketing and lifecycle campaigns | news@news.example.com |
Marketing ESP (Klaviyo, Brevo, Mailchimp) | Branded sending domain with custom DKIM | Needs one-click unsubscribe |
| Support tickets | support@example.com |
Help desk (Zendesk and similar) | Vendor DKIM CNAMEs on your domain | Replies must thread correctly |
| Mail sent "as" a customer | orders@customer.co.uk |
Your platform, on the customer's behalf | Customer publishes CNAMEs to your DKIM keys | Only with customer-side DNS setup |
Two cautions apply. First, subdomains separate reputation but not bulk sender status. Google's sender guidelines FAQ states that messages sent from the same primary domain count towards the 5,000 limit, giving the example of 2,500 messages from a root domain plus 2,500 from a promotions subdomain. Second, every subdomain inherits the parent policy unless it publishes its own. See DMARC for subdomains and subdomain or separate domain for bulk email for the trade-offs.
How do you align third-party senders like Amazon SES, Postmark or SendGrid?
Publish the provider's DKIM records on your sending subdomain, and set a custom return path (also called MAIL FROM or bounce domain) on the same subdomain. DKIM gives you one aligned pass; the custom return path makes SPF align too, so mail survives if one mechanism breaks. Without them, most providers use their own domain in the envelope, so SPF passes for them, not for you.
Provider documentation shows the pattern:
- Amazon SES: the custom MAIL FROM documentation requires an MX record pointing to
feedback-smtp.<region>.amazonses.comwith preference 10 and a TXT recordv=spf1 include:amazonses.com ~all. The MAIL FROM domain must be a subdomain of the verified identity. Without it, SES uses anamazonses.comsubdomain. See the Amazon SES DMARC guide. - Postmark: the custom Return-Path article uses a CNAME, by default at
pm-bounces, pointing topm.mtasv.net. The full record set is in our Postmark SPF, DKIM and DMARC setup guide. Without it, the Return-Path ispm_bounces@pm.mtasv.net. - SendGrid: domain authentication runs from Settings > Sender Authentication and generates CNAME records for you. The SendGrid DMARC guide covers the records and common failures.
- Mailgun, Klaviyo and Brevo: each has its own records and quirks, covered in the Mailgun, Klaviyo branded sending domain and Brevo guides.
For a product stream on mail.example.com sent through Amazon SES, the zone might look like this (values illustrative, copy real ones from the console):
abc123._domainkey.mail.example.com. CNAME abc123.dkim.amazonses.com.
bounce.mail.example.com. MX 10 feedback-smtp.eu-west-1.amazonses.com.
bounce.mail.example.com. TXT "v=spf1 include:amazonses.com ~all"
With relaxed alignment, which RFC 9989 Section 4.7 makes the default for both adkim and aspf, a DKIM signature for mail.example.com aligns with a From address on mail.example.com. A return path on bounce.mail.example.com aligns too, because both share the organisational domain. The alignment guide has worked examples.
What about billing and invoice emails?
Treat billing mail as its own stream and check exactly which domain each billing tool signs with. Invoicing and accounting tools often send from their own domain by default, or put your address in the From header without a DKIM key for your domain. Both fail DMARC once you enforce. Use the vendor's custom domain or DKIM option, and if it has none, send from the vendor's domain rather than spoofing yours. The Xero invoice emails guide walks through one common case.
Should a SaaS platform send email as its customers' domains?
Only when the customer has delegated DKIM to you through their own DNS. If your platform puts orders@customer.co.uk in the From header and signs with your own domain, that message is indistinguishable from spoofing. It fails DMARC at the customer's domain and is rejected once the customer publishes p=reject. Google's email sender guidelines also say: "Don't impersonate other domains or senders without permission."
There are three safe designs, from simplest to most complete:
- Send from your own domain on the customer's behalf. Use a From address on your sending subdomain, put the customer's brand in the display name, and set Reply-To to the customer's address. This aligns with no customer DNS work.
- Delegate DKIM through CNAME records. The customer publishes CNAMEs at selectors on their domain that point to keys you host. Zendesk's DKIM article is a clear example: customers add
zendesk1._domainkeyandzendesk2._domainkeyCNAMEs pointing to Zendesk, which lets Zendesk rotate keys without customer changes. - Add a delegated return path as well. A CNAME from a subdomain of the customer's domain to your bounce host gives SPF alignment too, as Postmark's custom Return-Path shows.
Build verification into the product: do not enable "send as my domain" until your platform has checked the customer's CNAMEs resolve. Zendesk warns that enabling signing before the records are in place causes delivery failures.
What do Google, Yahoo and Microsoft require from SaaS bulk senders?
All three require DMARC with at least p=none and alignment for high-volume senders, plus low spam rates. Gmail's bulk threshold is close to 5,000 messages a day to personal Gmail accounts, Microsoft's applies above 5,000 emails a day to Outlook.com consumer addresses, and Yahoo does not publish a volume figure. A growing SaaS product crosses these thresholds quickly.
| Requirement | Gmail | Yahoo | Outlook.com |
|---|---|---|---|
| Who is in scope | Close to 5,000+ messages to personal Gmail accounts in 24 hours; status is permanent once reached | Bulk senders (no volume figure published) | Domains sending more than 5,000 emails per day |
| Authentication | SPF or DKIM for all senders; DMARC for bulk | Both SPF and DKIM for bulk | SPF and DKIM must pass |
| DMARC | Policy can be p=none; From must align with SPF or DKIM |
At least p=none, DMARC must pass, aligned |
At least p=none, aligned with SPF or DKIM (preferably both) |
| Unsubscribe | One-click (RFC 8058) for marketing and subscribed mail | One-click list-unsubscribe, honoured within 2 days | Functional unsubscribe links recommended |
| Spam rate | Below 0.3%, aim for below 0.1% | Below 0.3% | List hygiene recommended |
Sources: Google's sender guidelines and FAQ, Yahoo's Sender Best Practices and Microsoft's Outlook high-volume sender announcement. Microsoft states that non-compliant mail is rejected from 5 May 2025 with 550; 5.7.515 Access denied; see fixing 550 5.7.515. Google says it is ramping up enforcement on non-compliant traffic from November 2025.
Do transactional emails need one-click unsubscribe?
No. Google's FAQ states that one-click unsubscribe is required only for marketing and promotional messages, and that transactional messages such as password resets are excluded. Marketing streams need two headers, and RFC 8058 Section 3.1 requires an HTTPS URI and a valid DKIM signature covering both:
List-Unsubscribe: <https://news.example.com/u/8f3a2c>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
The one-click unsubscribe guide covers implementation, and the Google, Yahoo and Microsoft overview compares the rules in more depth.
How do you roll a SaaS domain out to p=reject?
Publish p=none with aggregate reporting, fix every failing legitimate source, then move to p=quarantine and finally p=reject. RFC 9989 Section 7.4 suggests publishing p=none for at least a month, then p=quarantine for a comparable period, comparing results before moving on. RFC 9989 removed the pct tag, so each step applies to all failing mail.
A practical order for SaaS estates:
- Inventory senders from reports. Aggregate reports (RFC 9990) show every source using your domain, including tools nobody told IT about. The client discovery guide explains the method.
- Fix the product stream first. Login codes and password resets matter most, and they usually run through one transactional provider.
- Enforce subdomains you control early. A dedicated transactional subdomain with one sender can often reach
p=rejectbefore the organisational domain. - Move the root domain last. It carries staff mail, forwarding and mailing list traffic, which RFC 9989 Section 7.4 flags as harder to enforce. The enforcement guide covers the checks.
How should you set sp and np?
Use sp for the policy on existing subdomains that publish no record of their own, and np for subdomains that do not exist at all. RFC 9989 Section 4.7 defines both. SaaS companies create subdomains constantly, so an explicit np=reject stops attackers inventing names like billing-secure.example.com.
_dmarc.example.com. TXT "v=DMARC1; p=quarantine; sp=reject; np=reject; rua=mailto:dmarc-reports@example.com"
_dmarc.mail.example.com. TXT "v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com"
A subdomain that publishes its own _dmarc record overrides sp, so a new marketing subdomain can start at p=none while the transactional one stays at p=reject. The np tag guide and new tags explained cover the details.
How should MSPs manage DMARC for SaaS clients?
Treat a SaaS client as several sending estates under one brand, and agree who owns each stream. The engineering team usually owns the transactional provider, marketing owns the campaign platform, and finance owns billing tools. An MSP (managed service provider) that only manages Microsoft 365 will miss most of that mail unless it watches aggregate reports.
A workable MSP routine:
- Map streams to owners in the client runbook: subdomain, provider, DKIM selectors, return path host and contact.
- Gate new vendors. Ask for custom DKIM support before a team signs up, and add the records through your change process. See handling third-party senders.
- Review "send as customer" features with the client's product team, because a spoofing design harms the client's own customers.
- Watch volumes against the bulk thresholds so the client is ready before Gmail or Outlook.com starts enforcing.
- Report per stream at review meetings, not just per domain.
DMARC AI gives MSPs multi-tenant aggregate report monitoring and uses AI to classify the sending sources in those reports, so a new unaligned provider shows up per client. Alerts can reach Autotask through DMARC AI notification emails.
Frequently asked questions
Do I still need DMARC if all my product email goes through one ESP?
Yes. An ESP (email service provider) authenticates mail with its own domain by default, which passes SPF without aligning with yours. You need your own DMARC record, custom DKIM on your sending domain and ideally a custom return path. Without your own policy, attackers can still spoof your domain from anywhere.
Should transactional and marketing email use different subdomains?
Yes, in most cases. Separate subdomains keep a poor campaign from hurting password resets and invoices, and let each stream have its own DMARC policy and DKIM keys. They do not reset Gmail's bulk sender count, which Google measures across the same primary domain, so both streams still need to meet the bulk rules.
Can our app send email from our customers' domains?
Only if each customer delegates DKIM to you, usually by publishing CNAME records that point to keys you host. Without that, your messages fail DMARC at the customer's domain and are rejected once they enforce. The safe default is to send from your own subdomain with the customer's name and Reply-To.
Does p=reject affect transactional email deliverability?
Enforcement itself does not hurt legitimate mail that passes DMARC through aligned SPF or DKIM. It removes spoofed copies, and Gmail, Yahoo and Outlook.com all expect DMARC from high-volume senders. The risk is enforcing before every legitimate sender aligns, which is why the rollout moves through p=none and p=quarantine first.
When should a SaaS startup set up DMARC?
Before the first production email. Adding custom DKIM and a return path while you have one or two providers takes minutes; retrofitting a dozen tools later takes weeks of report analysis. Start at p=none with reporting, and move to p=reject as soon as reports show every stream aligned.