SPF, DKIM and DMARC: getting your domain ready to send e-mails
The three DNS records that get your prospecting e-mails accepted, what the SPF, DKIM and DMARC dots of your sending mailboxes mean, and how to set them with Google Workspace or Microsoft 365.
On this page
When Saalz sends prospecting e-mails from your mailbox, the receiving mail services check that your domain really allows that sending. Three records set in your domain's DNS answer them. Without them your e-mails still go out, but land in spam more often.
The DKIM dot stays red ("missing")#
Saalz reads the most common DKIM selectors: google, selector1 and selector2 (Microsoft 365's), default, mail, k1, k2, dkim, s1, s2, smtp, mailo, and those of Brevo, Mandrill, Postmark, Zoho and Proton. Other hosts (OVH, Ionos...) give the key a name of your account's own, like ovhmo1234567-selector1: for a mailbox connected by SMTP, Saalz finds it by itself (next paragraph). For a Google or Microsoft mailbox whose selector has another name, the dot stays red ("missing") although everything is fine.
A mailbox connected by SMTP (OVH, Ionos, o2switch...): when no usual name answers, Saalz sends a short e-mail from the mailbox to itself, reads the key's name in its signature, checks the key in your DNS, then deletes the e-mail. This happens when the mailbox is connected and when you click Check DNS, and the name found then serves all your mailboxes on the same domain. The dot turns green if your e-mails are signed, red otherwise, with the reason under the dots: e-mails sent without a signature (turn DKIM on at your e-mail host; at OVH, in the customer area, on your e-mail offer's page), signed for another domain than yours, or the key not in your DNS.
With Microsoft 365, DKIM needs two things: the two CNAME records (selector1._domainkey and selector2._domainkey) created in your DNS, and signing enabled for the domain in Microsoft Defender (see below). Until signing is enabled, the dot stays red.
Once the change is made, wait for DNS to propagate (from a few minutes to a few hours), then click Check DNS (the menu of the mailbox's row).
The three records#
- SPF says which servers may send e-mails under your domain name. It is a TXT record on the domain itself.
- DKIM signs every e-mail with a key published in your DNS: the receiver checks the message was not altered on the way. The key is a TXT or CNAME record on a subdomain such as
selector._domainkey.yourdomain.com. - DMARC tells receivers what to do with an e-mail that fails the two checks above, and where to send you the reports. It is a TXT record on
_dmarc.yourdomain.com.
What Saalz checks, and the colour of the dots#
In Settings › Channels & connections, Prospecting tab, each sending mailbox carries three dots SPF, DKIM and DMARC; the Infrastructure tab, E-mail deliverability block, lists them for every mailbox. They say what Saalz found in the public DNS of your sending domain. The check runs again when you connect a mailbox and when you click Check DNS.
- Green ("ok"): the record is in place.
- Amber: "soft" for an SPF ending in
~all(accepted, stricter with-all), "monitoring" for a DMARC atp=none. - Red ("missing"): the record is missing, or the domain has two SPF records.
- Grey ("unknown"): the DNS could not be read, or the DKIM check e-mail has not come back yet; try again a little later.
No dot blocks the sending: Saalz still sends. Amber or red, your e-mails have less chance of reaching the inbox.
Where to set them#
These records are created at the DNS host of your domain: wherever you manage yourdomain.com (OVH, Gandi, Ionos, Cloudflare, GoDaddy…). They are set once for the whole domain, not per mailbox.
If you do not manage the DNS yourself, pass this page to the person who does: it says exactly what to create.
With Google Workspace#
- SPF: a TXT record on your domain with the value
v=spf1 include:_spf.google.com ~all. If an SPF already exists, addinclude:_spf.google.cominside it rather than creating a second one: a domain must carry a single SPF. - DKIM: in the Google Admin console, Apps › Google Workspace › Gmail › Authenticate email, generate the key, create the TXT record shown (
google._domainkey), then click Start authentication. - DMARC: a TXT record on
_dmarc, to begin withv=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com. You will tighten the rule (p=quarantine) once the reports look clean.
With Microsoft 365#
- SPF: TXT on your domain,
v=spf1 include:spf.protection.outlook.com -all(or merged into your existing SPF). - DKIM: in the Microsoft 365 Defender admin centre, Email & collaboration › Policies & rules › Threat policies › DKIM, pick the domain and enable signing; Microsoft gives you two CNAME records (
selector1._domainkeyandselector2._domainkey) to create in your DNS. - DMARC: the same
_dmarcrecord as above.
With another provider#
Your e-mail provider documents its SPF and DKIM values; DMARC does not depend on it. Search for "SPF", "DKIM" and your provider's name in its help.
After the change#
DNS takes from a few minutes to a few hours to propagate. Then come back to Settings › Channels & connections and click Check DNS: the dots update. With an SPF at ~all or a DMARC at p=none (the starting values above), the dot stays amber: that is normal, and it turns green when you tighten the rule.
What has no effect#
These records concern the domain of your sending mailboxes, not Saalz. The tracking domain is something else: it serves links and opens, not authentication.