SPF, DKIM and DMARC: what they are, the records to copy and how to check them in 5 minutes
The short answer
SPF, DKIM and DMARC are three lines in your domain’s DNS that tell Gmail, Outlook and Yahoo that emails sent in your name really are yours. SPF lists the servers allowed to send, DKIM signs every email, DMARC says what to do with emails that fail the checks. Without them your newsletters land in spam more easily; Gmail and Yahoo have required them from bulk senders since 2024, Outlook since 2025. You set them up once, in the panel where you bought your domain.
Why you need them, even if you send few emails
Anyone can type your address into the “From” field of an email. That is how scams that seem to come from a bank or a courier work. To protect people, Gmail, Outlook and the others look at the DNS of the sender’s domain: if they find your permissions and a matching signature, the email is credible. If they find nothing, they treat it with suspicion.
Since February 2024 Google and Yahoo ask every sender for at least SPF or DKIM, and anyone sending more than 5,000 emails a day for SPF, DKIM and DMARC together. Since May 2025 Outlook asks the same of bulk senders. Even if you send 300 emails a month today, fixing this now takes five minutes and saves you surprises when your list grows.
SPF: the list of who may send for you
SPF is a TXT record on your domain listing the services allowed to send with your address. An example for Google Workspace mail:
- Type: TXT · Name: @ (the domain itself) · Value: v=spf1 include:_spf.google.com ~all
With Microsoft 365 the part to include is include:spf.protection.outlook.com. The most common mistakes:
- One SPF record per domain. Two “v=spf1” records cancel each other out: merge the includes into one line.
- No more than 10 DNS lookups. Every include counts at least one: go over the limit and SPF stops working.
- ~all or -all at the end. ~all asks receivers to be suspicious of anyone not listed, -all to reject them. If you are not sure you listed everything, start with ~all.
DKIM: a signature on every email
DKIM adds a digital signature to every email. The receiving server checks it against a key published in your DNS, under a name ending in ._domainkey: if it matches, the email really came from a service you authorised and nobody changed it on the way.
The keys are generated by the sending service, not by you: it gives you records (often CNAMEs) to copy into your DNS. Every service that sends email in your name has its own: your mailbox, your newsletter tool, the software that sends your invoices.
In Spedito you find them under Settings › Senders and domain: press “Add domain”, type your domain and copy three CNAME records. Spedito checks them by itself and tells you when the domain is verified.
DMARC: what to do with fake emails
DMARC is a TXT record on the name _dmarc of your domain. It tells providers what to do with an email that uses your domain but fails SPF or DKIM, and where to send you reports. The simplest record, the right one to start with:
- Type: TXT · Name: _dmarc · Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.co.uk
- p=none for a few weeks: no email is blocked, but you get the reports and see who sends in your name.
- p=quarantine once you are sure all your services sign: fake emails go to spam.
- p=reject at the end: fake emails are refused.
DMARC passes when at least one of SPF and DKIM is valid and aligned, meaning it uses the same domain as the address in the “From” field. That is why the DKIM signature on your own domain matters most.
With Spedito: what you actually need
Two things are enough: the three DKIM CNAMEs and the DMARC record, both in the guide under Settings › Senders and domain. Leave your domain’s SPF as it is: Spedito’s emails leave with an Amazon SES return address that has its own SPF, and DMARC passes thanks to the DKIM signature on your domain.
If you already have a DMARC record, do not add a second one: only one counts. And before moving to p=quarantine or p=reject, check in the reports that your mailbox and your other services sign with your domain too.
Rather not touch your DNS? You can ask us to set everything up, domain included. For everything else about staying out of spam, read the guide on why newsletters land in spam.
Frequently asked questions
Where do I add SPF, DKIM and DMARC records?
In your domain’s DNS panel, where you bought it (GoDaddy, Namecheap, 123 Reg and the like) or where you manage DNS (Cloudflare, for example). Look for “DNS” or “Zone editor” and add each record with its type, name and value.
How long until they work?
Usually from a few minutes to an hour; in rare cases up to 48 hours. In Spedito the check is automatic: when the domain is verified you see it under Settings › Senders and domain.
Can I send from a Gmail or Outlook address without a domain?
No: a @gmail.com or @outlook.com address cannot be authenticated by another service, and Gmail rejects newsletters sent in its name by others. You need an address on your own domain, such as hello@yourshop.co.uk.
Could p=reject make me lose emails?
Yes, if a service sending in your name is not authenticated: its emails would be refused. That is why you start with p=none, read the reports and move up only when everything signs correctly.