/Field Notes

SPF, DKIM and DMARC: how to set them up so your email reaches the inbox.

Three free DNS records decide whether Gmail and Outlook trust email from your business, and whether anyone else can send it in your name. What each one does, how to add them, and how to tighten DMARC without losing a single invoice.

SPF, DKIM and DMARC setup: a brass padlock on a sealed envelope beside a laptop showing an email inbox, with a coffee and a plant on a grey desk

The short answer: SPF, DKIM and DMARC are three short text records you add to your domain’s DNS. Together they prove to Gmail, Outlook and Yahoo that an email claiming to be from your business really came from you. Without them, your quotes and invoices are more likely to land in spam, and anyone can send email that looks like it came from your address. Setting all three up takes about an hour, costs nothing, and you do it once.

Records to add
3
SPF, DKIM and DMARC, all in DNS
Google’s bulk line
5,000
messages a day to Gmail, where all three become required
Spam reports
<0.3%
the rate Google says never to reach
What it costs
$0
the records are free to add

What are SPF, DKIM and DMARC?

Email was built without any way to check who sent a message. Anyone can type your address into the “from” line. These three records are how the big mailbox providers check it now:

RecordWhat it saysWhat it looks like
SPFWhich services are allowed to send email for your domainv=spf1 include:_spf.google.com ~all
DKIMA public key that matches a signature your email service adds to every messageA long key your email provider gives you
DMARCWhat a receiver should do when a message fails the first two, and where to send reportsv=DMARC1; p=none; rua=mailto:[email protected]

SPF and DKIM do the checking. DMARC ties them to the address people actually see in the “from” line, and tells the receiver whether to deliver, quarantine or reject mail that fails.

Do small businesses actually need them?

Yes, even if you send a handful of emails a day. Google’s email sender guidelines require every sender to have SPF or DKIM. Anyone sending more than 5,000 messages a day to Gmail addresses must have all three, plus a one-click unsubscribe on marketing email. Yahoo has the same rules, and Microsoft started enforcing similar ones for Outlook.com, Hotmail and Live addresses on May 5, 2025.

You may never get near 5,000 a day. Your newsletter tool, your booking system and your Shopify store all send in your name, though, and mail that cannot prove where it came from is the first to be filtered. The other reason is fraud. The Canadian Centre for Cyber Security’s guidance on email domain protection names SPF, DKIM and DMARC together as the way to stop your domain being spoofed. That is the trick behind the fake invoice that asks a client to pay a new bank account.

How do I check what my domain has now?

Send an email from your business address to a Gmail account, open it, and choose Show original from the three-dot menu. Gmail lists SPF, DKIM and DMARC at the top, each marked PASS, FAIL or missing. That one screen tells you where you stand. Free lookup tools from the DMARC vendors will also read your records if you type in your domain.

How do I set up SPF?

  1. List everything that sends email as you. Your mailbox (Google Workspace or Microsoft 365), plus every tool that emails customers: newsletter, invoicing, booking, your online store, your website’s contact form.
  2. Find each one’s SPF include. Each service’s help pages give you a line such as include:_spf.google.com for Google Workspace or include:spf.protection.outlook.com for Microsoft 365.
  3. Write one record. At your domain registrar or DNS host, add a single TXT record on the root of your domain: v=spf1, then each include, then ~all.
  4. Keep it to one. A domain may have only one SPF record. Two records, or more than ten lookups in total, make SPF fail for everything. Add new services to the existing record rather than starting another.

How do I set up DKIM?

DKIM is switched on inside each service that sends for you, not written by hand. In Google Workspace it is under Apps, Gmail, Authenticate email. In Microsoft 365 it is in the Defender portal under email authentication settings. Each one generates a key and tells you exactly which DNS record to add, usually a TXT or CNAME record with a name such as google._domainkey. Add it, wait for DNS to update, then go back and turn signing on.

Do the same in your newsletter and store tools. Most have a “verify your domain” or “authenticate your domain” page that hands you the records to copy.

The one most people miss

The contact form on your website. If it sends from your address through the web host’s server, it is not covered by your mailbox’s SPF or DKIM, and those enquiries are exactly the email you cannot afford to lose. Have it send through your email service, or through a sending service you have authenticated. If someone else looks after your site, ask them, or have us look at it through website care.

How do I set up DMARC without breaking my email?

Start in watch mode, and tighten it once the reports are clean.

  1. Publish a monitoring record. Add a TXT record named _dmarc with v=DMARC1; p=none; rua=mailto: followed by an address that will receive reports. p=none changes nothing about delivery; it only asks receivers to tell you what they see. Google’s sender FAQ treats this as the minimum.
  2. Read the reports for two to four weeks. They arrive as files that are hard to read raw; free tiers of DMARC report tools turn them into a list of who is sending as you. Anything legitimate that is failing gets fixed in SPF or DKIM.
  3. Move to quarantine. Change p=none to p=quarantine. Mail that fails now goes to spam instead of the inbox.
  4. Then reject. When nothing legitimate has failed for a few weeks, change it to p=reject. Forged mail in your name is now refused outright.

Skipping straight to reject is how businesses lose their own invoices for a week. The reports are what make the last two steps safe.

What to do this week

  1. Run the Gmail “Show original” check on an email from your business address.
  2. Write down every service that sends email in your name.
  3. Fix SPF so there is one record that includes all of them.
  4. Turn on DKIM in your mailbox and in each sending tool.
  5. Publish DMARC at p=none with a reporting address, and put a reminder in your calendar for a month from now to tighten it.
  6. If you send newsletters, check your spam rate in Google’s Postmaster Tools and make sure every marketing email has a one-click unsubscribe.

Three lines of text decide whether a client sees your quote or your spam folder does.

Questions we are hearing

What is the difference between SPF, DKIM and DMARC?

SPF lists the services allowed to send email for your domain. DKIM adds a signature to each message that receivers check against a key in your DNS. DMARC ties both to the visible from address and tells receivers what to do with mail that fails.

Do I need DMARC if I only send a few emails a day?

Google requires every sender to have SPF or DKIM, and all three only above 5,000 messages a day. DMARC is still worth adding at any size, because it is what stops other people sending email that looks like it came from your domain.

Will setting up DMARC stop my email from being delivered?

Not if you start with p=none. That setting only asks receivers to send you reports. Move to quarantine and then reject once the reports show every legitimate sender passing.

Can I have two SPF records?

No. A domain can have only one SPF record. Two records make SPF fail, so add each new service to the existing record instead.

This guide reflects Google’s and Microsoft’s published sender requirements and the Canadian Centre for Cyber Security’s guidance as they stood on December 1, 2026. Your email provider’s help pages have the exact steps for its current screens.

If you would rather have it done for you, it is a short job we can do alongside a new website or website care. For the other half of being found, our guide to a Google Business Profile in Calgary covers the map listing. If you would rather ask a question than fill in a form, Atlas answers directly, or you can get in touch.

Emails going to spam, or someone sending as you?

Send us your domain. We will check your records and tell you exactly what to add.

Start a conversation