- Gmail and Yahoo require every sender to use SPF or DKIM, and bulk senders to use SPF, DKIM and a DMARC record that passes with alignment.
- Outlook.com applies the same SPF, DKIM and DMARC rules to domains that send more than 5,000 emails a day.
- A DMARC policy of p=none is enough to meet the bulk sender rules; move to quarantine or reject only after the reports show every legitimate sender passes.
- Every service that sends as your domain, such as your store platform, email tool and help desk, must be in SPF or sign with DKIM for your domain.
- Bulk marketing email also needs one-click unsubscribe and a spam complaint rate below 0.3%.
To align store email with the new sender rules, authenticate every service that sends as your domain with SPF and DKIM, publish a DMARC record for the domain, and make sure the domain in the From address matches the domain that passed SPF or DKIM. Gmail and Yahoo have enforced these rules since February 2024, and Outlook.com since May 2025 for domains that send more than 5,000 emails a day. Mail that fails can land in spam or be rejected, which hurts order confirmations as much as campaigns.
This guide explains what SPF, DKIM and DMARC do, what each mailbox provider requires, how to check your current records, how to set them up, what to watch on Shopify, and what happens if you leave it.
SPF, DKIM and DMARC in plain words
| Record | What it does | Where it lives |
|---|---|---|
| SPF | Lists the servers allowed to send email for your domain | One TXT record on the domain itself |
| DKIM | Adds a signature to each email that receivers check with your public key, so they know it came from you and was not changed | A TXT or CNAME record at selector._domainkey.yourdomain.com, one per sending service |
| DMARC | Tells receivers what to do when an email fails SPF and DKIM alignment, and where to send reports | A TXT record at _dmarc.yourdomain.com |
Alignment is the key idea. An email passes DMARC when it passes SPF or DKIM and the domain that passed matches the domain in the From header. An email tool that signs with its own domain, not yours, can pass DKIM and still fail DMARC for your domain. That is why most email tools ask you to set up a branded sending domain.
What Gmail, Yahoo and Outlook require
| Requirement | Gmail: all senders | Gmail and Yahoo: bulk senders | Outlook.com: over 5,000 a day |
|---|---|---|---|
| SPF and DKIM | SPF or DKIM | SPF and DKIM | SPF and DKIM must pass |
| DMARC | Recommended | A DMARC record, at least p=none, and DMARC must pass | At least p=none, aligned with SPF or DKIM |
| Alignment | Recommended | From domain aligned with the SPF or DKIM domain | Aligned with SPF or DKIM, preferably both |
| Unsubscribe | Not listed as a requirement | One-click unsubscribe for marketing mail, plus a visible link in the body | Recommended: a clear, working unsubscribe link |
| Spam complaints | Below 0.3% | Below 0.3% | Recommended: list hygiene and consent |
| Infrastructure | Valid forward and reverse DNS, TLS | Valid forward and reverse DNS, TLS | Valid From and Reply-To addresses |
A small store may stay below 5,000 emails a day most of the year and cross it in one Black Friday send. Set up for the bulk rules from the start; they are also what keeps your order confirmations and shipping updates out of spam.
How to check your current records
- List every service that sends as your domain
Your store platform's notification emails, your email marketing tool, your help desk, your invoicing tool, Google Workspace or Microsoft 365, and any app that sends review requests or receipts.
- Look up SPF
Use a DNS lookup tool, or run dig TXT yourdomain.com in a terminal. Find the one record that starts with v=spf1 and check that it includes each sending service.
- Look up DKIM
DKIM records sit under a selector that each service chooses, such as selector._domainkey.yourdomain.com. Find the selector in each service's domain settings and look it up.
- Look up DMARC
Run dig TXT _dmarc.yourdomain.com. No answer means you have no DMARC record.
- Read a real email's headers
Send an email from each service to a Gmail address and choose Show original. The summary shows SPF, DKIM and DMARC as PASS or FAIL, and the domain that passed.
The header check is the one that counts: it shows what receivers actually see. A record can exist and still fail, for example when an email tool signs with its own domain instead of yours.
How to set up SPF, DKIM and DMARC
SPF
Publish one SPF record per domain. Add an include for each sending service, using the value from that service's help pages, and end with ~all (soft fail) or -all (hard fail). Two SPF records on the same domain make SPF fail, and SPF allows at most 10 DNS lookups, so remove services you no longer use.
yourdomain.com TXT "v=spf1 include:_spf.google.com include:sendgrid.net ~all"
DKIM
Your email tool or mail provider generates the key pair and shows you the DNS record to add, usually one or more CNAME or TXT records under its selector. Add them at your DNS host, then confirm in the tool that the domain is verified. Gmail requires a DKIM key of at least 1024 bits and recommends 2048.
DMARC
Start with a monitoring policy and an address for aggregate reports:
_dmarc.yourdomain.com TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com"
p=none changes nothing about delivery; it only asks receivers to send you reports. Read them for two to four weeks, or use a DMARC report tool, and check that every legitimate service passes with alignment. Then move step by step:
| Policy | What receivers do with failing mail | When to use it |
|---|---|---|
| p=none | Deliver as usual, send reports | First weeks: find every sender |
| p=quarantine | Put failing mail in spam | When reports show your services pass; start with pct=10 or 25 and raise it |
| p=reject | Refuse failing mail | When quarantine has run without legitimate mail failing |
Additional notes for Shopify stores
- Shopify notification emails. Order confirmations and shipping updates go out from Shopify. When the sender address is on your own domain, Shopify asks you to authenticate that domain and shows the DNS records to add. If your domain's DNS is managed in Shopify, you add or check them under Settings › Domains; otherwise at your DNS host.
- Your email marketing tool. Klaviyo, Omnisend, Mailchimp and similar tools each have a branded or dedicated sending domain setting. Set it up, so their DKIM signature uses your domain and aligns with DMARC.
- Other apps. Review apps, help desks and subscription apps often send as your domain too. Add each to SPF or DKIM, or let it send from its own domain.
- Start with p=none, read the reports, then tighten. Keep complaint rates below 0.3% in Google Postmaster Tools, and keep the unsubscribe link visible.
Before a big send such as Black Friday, check the headers of one email from each service again. Our BFCM tracking checklist covers the tracking side of the same weekend.
What happens if you don't update your DMARC policy
- Delivery problems. Gmail may mark unauthenticated mail as spam or reject it with a 5.7.26 error. Outlook.com sends non-compliant mail from high-volume domains to Junk and has said it will reject it with a 550 5.7.515 error.
- Spoofing. Without an enforced DMARC policy, anyone can send email that shows your domain in the From line, for example fake order or refund emails to your customers.
- Phishing in your name. Customers who receive a fake email with your name blame your brand, not the sender.
- Lost revenue from flows. Abandoned cart, welcome and post-purchase emails that land in spam stop earning, and the drop can look like a weak offer rather than a technical fault.
If email revenue suddenly drops while sends stay the same, check authentication and spam placement before you change the content. Tracking gaps can look similar; see GA4 tracking problems on Shopify for the analytics side.
Seeing what your email earns in ROASaurus
ROASaurus does not send email or manage DNS. It shows what your email earns, which is the number that drops first when deliverability slips. Marketing › Email & SMS puts two views side by side for each campaign and flow: the email tool's own numbers (recipients, opens, clicks and the revenue Klaviyo, Mailchimp or Omnisend credits) and ROASaurus's own: orders whose journey has an email click, credited under your attribution model, with revenue after refunds, contribution margin, new customers and profit after the email tool's monthly cost.
| Flow or campaign | Recipients | Orders (email click) | Revenue | Contribution | Profit after tool cost |
|---|---|---|---|---|---|
| Abandoned checkout flow | 3,840 | 212 | $18,450 | $7,560 | $7,180 |
| Welcome series | 5,120 | 164 | $11,980 | $4,310 | $3,820 |
| Black Friday launch campaign | 41,300 | 388 | $29,700 | $8,020 | $7,640 |
The Klaviyo integration also identifies Shopify checkout shoppers in Klaviyo so abandonment flows can start, and keeps customer segments in Klaviyo lists. How Klaviyo itself tracks Shopify events is explained in how the Klaviyo Shopify integration tracks events.
Sources
- Gmail Help: Email sender guidelines
- Yahoo Sender Hub: Sender requirements and recommendations
- Microsoft Defender blog: Outlook's new requirements for high-volume senders