SPF, DKIM, and DMARC : these three DNS records prove to email providers that your emails are indeed from you. Without them, your marketing emails risk ending up in spam folders or even being rejected. Since February 2024, Gmail and Yahoo have required full authentication for senders who send large volumes of emails. Here's how they work, how to configure them, and how to verify that they are in place.
SPF DKIM DMARC: the essentials

- SPF : the list of servers authorized to send.
- DKIM : a signature that proves the origin of the message.
- DMARC : the rule applied in case of failure, and reports.
- Gradual progression : p=none, then quarantine, then reject.
- Required : by Gmail and Yahoo for large senders.
SPF DKIM DMARC: What are they used for?
These three mechanisms complement each other. They are configured in the DNS zone of your domain name, with your registrar or hosting provider.
| Mechanism | What he checks | Where he is |
|---|---|---|
| SPF | The servers authorized to send emails for your domain | A TXT record on your domain |
| DKIM | The message has not been modified and is correctly signed by your domain | A public key in a TXT record (selector._domainkey) |
| DMARC | What the email service should do if SPF or DKIM fails, and to whom should the reports be sent? | A TXT record on _dmarc.yourdomain |

SPF: List of authorized senders
The Sender Policy Framework (SPF) declares which servers are authorized to send emails on behalf of your domain. Your domain should only have one SPF record; if you use multiple sending services, group them into the same record. A generic example for a domain sending via Google Workspace:
v=spf1 include:_spf.google.com ~all
For Microsoft 365, the usual inclusion value is include:spf.protection.outlook.com. Always use the exact value specified in your email provider's documentation.
DKIM: your message signature
DKIM (DomainKeys Identified Mail) adds an encrypted signature to each email. The recipient's email client verifies this signature using a public key published in your DNS. You generate this key from your provider's administration console (Google Workspace, Microsoft 365, etc.), then publish it in your DNS zone and enable the signature.
DMARC: The Rule of Conduct
DMARC tells email providers what to do with an email that fails its checks: let it through (p=none), mark it as spam (p=quarantine), or reject it (p=reject). It also allows you to receive reports on emails sent on your behalf. Generic starting example:
v=DMARC1; p=none; rua=mailto:dmarc@votredomaine.fr

Configure SPF, DKIM and DMARC step by step
- List your sending services : professional email, prospecting tool, email marketing tool, CRM. Each must be authorized.
- Create or correct the SPF record : a single TXT record that starts with v=spf1 and includes all your services.
- Enable DKIM in your email provider's console, publish the key in your DNS, and then initiate authentication.
- Publish a DMARC in observation mode (p=none) with a reporting address.
- Analyze the reports for a few weeks to identify any overlooked legitimate services.
- Gradually tighten the DMARC rule to p=quarantine, then p=reject, once all your submissions are authenticated.
DNS changes can take a few hours to propagate. Do not send any important campaigns immediately after a change.
The procedure according to your supplier
Menu titles change regularly: always follow your supplier's official documentation, which is authoritative.
Google Workspace
- SPF : Add include:_spf.google.com to your SPF record.
- DKIM : In the Admin console, open Applications > Google Workspace > Gmail > Authenticate emails, generate the key, publish the specified TXT record (google._domainkey by default), and then click "Start authentication".
- DMARC : publish your TXT record to _dmarc.yourdomain.
Microsoft 365
- SPF : Add include:spf.protection.outlook.com to your SPF record.
- DKIM : From the Microsoft Defender portal, in email authentication settings, publish the two provided CNAME records (selector1._domainkey and selector2._domainkey), then enable DKIM signing for your domain.
- DMARC : publish your TXT record to _dmarc.yourdomain.
OVHcloud
- DNS Zone : records are managed from the customer area, in the DNS zone of your domain name.
- SPF : OVHcloud offers a pre-filled SPF for its email offers (include:mx.ovh.com); add your other sending services to it.
- DKIM : depending on your OVHcloud email offer, activation is done from the customer area or via the provided DNS records; follow the OVHcloud guide corresponding to your offer.
- DMARC : Add a TXT entry for _dmarc.yourdomain in the DNS zone.
Check that everything works
- Send yourself a test email to a Gmail inbox, then open "View original": the SPF, DKIM and DMARC lines should show PASS.
- Use a DNS diagnostic tool (e.g., Google's Admin Toolkit or an online record checker) to check the syntax of your records.
- Monitor your DMARC reports to detect a service that might be sending emails without being authenticated.
Special cases in prospecting
You are using a dedicated domain or subdomain
Many teams send their prospecting emails from a domain closely related to their main domain (for example, entreprise-conseil.fr) to protect the latter's reputation. This dedicated domain must have its own SPF, DKIM, and DMARC records. It must also point to your main website and have reply-to addresses that are actually checked: a domain without a website or a monitored mailbox looks suspicious.
You send from multiple tools
Email, prospecting tools, email marketing tools, CRM: every service that sends emails on your behalf must be declared. SPF is limited to 10 DNS lookups; beyond that, it fails. If you are approaching this limit, remove services you no longer use or restrict certain tools to a subdomain.
Your emails have been forwarded
When a recipient automatically forwards their emails to another mailbox, SPF can fail because the server relaying the message is not in your list. This is one of the reasons why DKIM is essential: its signature remains valid after the forwarding.
Common mistakes to avoid
- Publishing two different SPF records on the same domain: the SPF becomes invalid.
- Forgetting a sending service (prospecting tool, CRM) in the SPF or DKIM.
- Going directly to p=reject without an observation phase: legitimate emails may be blocked.
- Configure authentication but neglect warm-up and the rate at which new addresses are sent.
Authentication is only one part of deliverability. To complete it, read our article on email deliverability, our guide to successfully warming up your emails , and our explanation of what spam. Also, monitor your bounce rate.
Set up your sending address in Magileads
Once your domain is authenticated, connect your sending address to your prospecting tool. In Magileads, the address connects via SMTP: you choose your provider (OVH Perso, OVH Pro, another provider or Mailgun), then you enter your email username, server, port and password.

On OVH Pro, Magileads reminds users that the server may differ from the pre-filled value: check the server name for your address in your OVH account. Also, remember to authorize this sending server in your SPF record.
The sending options complement authentication to protect your reputation:
- Open and click tracking : this can be disabled. Magileads specifies that disabling it can improve deliverability, but that open and click statistics will then no longer be reported.
- Delay between two sendings : you define a range (for example from 30 to 100 seconds) and the sending is done randomly between the two limits, for scheduled sendings.
- Daily limit : a sending limit is set day by day for the first fifteen days of the address, allowing for a gradual increase in load.
- Recommended volume : Magileads recommends not exceeding 100 emails sent per day via your SMTP.

Monitor your sending reputation after setup
Configuring SPF, DKIM, and DMARC once is not enough: your reputation is built send after send. After implementation:
- Monitor your complaint rate : Gmail asks high-volume senders to keep it below 0.3%, and recommends staying below 0.1%. Google Postmaster Tools allows you to track it for your domain.
- Monitor your bounces : an increasing bounce rate signals lists that need cleaning up.
- Ensure a gradual increase in load for each new sending address.
- Offer a simple unsubscribe option : a prospect who cannot easily unsubscribe is more likely to mark your emails as spam.
- Review your DMARC reports regularly, especially after adding a new sending tool.
Frequently Asked Questions
- Are SPF, DKIM, and DMARC mandatory? For senders sending large volumes to Gmail and Yahoo, yes, since February 2024. For all others, they are strongly recommended for deliverability.
- Should you use a dedicated domain for prospecting? It's a good practice: you protect the reputation of your main domain. This domain should also be authenticated.
- How long does it take to configure SPF, DKIM and DMARC? A few minutes of data entry, plus DNS propagation time and a few weeks of observation before hardening DMARC.
- Does my prospecting tool need to be registered with SPF? Yes, if your emails are sent from its servers. If it sends via your own email account, then your account configuration is what matters.
Prospect without sacrificing your deliverability
Magileads integrates email warm-up, sending address pools, IP rotation and sending timing to protect the reputation of your domains.