When you set up your email domain, Spoks asks you to add DNS records that tell inbox providers like Gmail and Outlook which emails really come from you. This article explains the DMARC record and its policy options, and how to change your SPF record without breaking email you already send.
SPF, DKIM and DMARC in short
SPF is a TXT record on your domain that lists the services allowed to send email for it, for example
include:sendgrid.netfor Spoks.DKIM adds a signature to each email that proves it was sent by an authorised service and was not changed on the way. The DKIM CNAME records Spoks generates set this up for your Spoks emails.
DMARC is a TXT record on
_dmarc.yourdomain.com. It tells inbox providers what to do with an email that has your domain in the From address but fails both SPF and DKIM, and where to send reports about it.
An email passes DMARC when SPF or DKIM passes for the same domain as the From address. Emails sent through Spoks pass through DKIM once your domain is verified.
The three DMARC policies
The p= part of the record is the policy.
Policy | What happens to an email that fails DMARC | When to use it |
| Delivered as normal. The inbox provider only reports it, if you asked for reports. | While you check which services send email from your domain. |
| Usually delivered to the spam folder. | Once every service that sends from your domain passes SPF or DKIM. |
| Refused, so it never reaches the recipient. | When quarantine has run for a few weeks without your own emails landing in spam. |
If your domain has no DMARC record, Spoks suggests v=DMARC1; p=none;. That is enough to verify your domain and meets the Gmail and Yahoo requirements for bulk senders, but it does not stop anyone from sending emails that pretend to come from your domain. Spoks accepts any policy, so your domain stays verified when you change it.
Does a stricter policy improve deliverability?
Not directly. Gmail, Yahoo and Outlook require bulk senders to have a DMARC record, and p=none meets that requirement. What a stricter policy does is protect your brand: phishing emails that use your domain, such as fake order or payment emails to your customers, go to spam or are blocked instead of reaching the inbox.
The risk is to your own email. With quarantine or reject, any service that sends from your domain without SPF or DKIM set up has its emails sent to spam or refused as well.
Before you change the policy
List every service that sends email with your domain in the From address, and make sure each one is authenticated. Common ones are:
Your mailbox provider, such as Google Workspace or Microsoft 365
Shopify order and shipping notifications, if they are sent from your own domain
Your helpdesk, such as Gorgias, Zendesk or Intercom
Invoicing, accounting and review tools
Spoks and any other marketing email tool
Each service has its own guide for adding its SPF include or DKIM records. Look for "domain authentication" in its help center.
If you are not sure what sends from your domain, add a report address to the record for a couple of weeks: v=DMARC1; p=none; rua=mailto:[email protected]. Inbox providers then send daily reports listing every source that sent email as your domain and whether it passed. Many reports arrive every day as XML files, so send them to a dedicated mailbox or a DMARC report service that turns them into a readable dashboard, not to your support inbox.
Moving to quarantine and reject
Keep
p=nonewith a report address until every service you recognise passes.Change the record to
v=DMARC1; p=quarantine;. To start carefully, apply the policy to part of the failing email first, for examplev=DMARC1; p=quarantine; pct=25;, and raise it to 100 later.When a few weeks pass without your own emails landing in spam, change it to
v=DMARC1; p=reject;.
Keep a single DMARC record. When a domain has two v=DMARC1 records, inbox providers ignore both.
A DMARC record on your main domain also covers its subdomains, such as the subdomain you send Spoks emails from. You do not need a separate record for it.
How to edit SPF without breaking it
SPF mistakes are the most common reason emails start failing after a DNS change.
One SPF record only. Your domain can have exactly one TXT record that starts with
v=spf1. To add a service, add its include to the existing record instead of creating a new one. Two SPF records make SPF fail for every service.Keep what is already there. Every include in the record belongs to a service that sends for you. Removing one, for example
include:_spf.google.com, makes that service's emails fail.Add new includes before the ending. The record ends with
~allor-all, and anything after it is ignored:v=spf1 include:_spf.google.com include:sendgrid.net ~allStay under 10 lookups. SPF allows at most 10 DNS lookups, and every include counts, including the includes nested inside it. Above the limit SPF fails. Remove includes for services you no longer use, and check the record with a free SPF checker after each change.
~allor-all.~allmarks unlisted senders as suspicious and-allmarks them as not allowed. Once DMARC is set to quarantine or reject, the DMARC policy decides what happens to failing emails, so~allis fine for most stores.
For the full list of records Spoks needs and more examples of updated SPF records, see Set up your domain.