The sending domain: SPF, DKIM and DMARC, step by step
A JEIKO site does not send its emails itself: it hands them to the email server set in Settings › Email — your email host's, most often OVH. That server signs them. What remains is to tell the world, in your domain's DNS zone, that it is allowed to. Three records, created once:
- SPF: the list of servers allowed to send for the domain.
- DKIM: a signature put on each message by the sending server, checked with a public key published in the DNS.
- DMARC: what a mailbox provider should do with a message that fails the first two, and where to send the report.
Without them, Gmail, Yahoo and Outlook put bulk sends in spam — or refuse them — and sometimes the others too. The Settings › Email screen and the newsletter's Settings tab say which are missing, with the value to create.
Where to click at OVH
OVHcloud customer area › Web Cloud › Domain names › your domain › DNS zone tab › Add an entry. Choose the type, fill in the subdomain and the value, confirm. Allow up to a few hours for the change to spread.
1. SPF
Type TXT (or “SPF” in the OVH wizard)
Subdomain (empty)
Value v=spf1 include:mx.ovh.com ~all
- Only one SPF per domain. If there is already one, edit it instead of adding a second: two SPF records cancel each other.
- Another service also sends for the domain (Google Workspace, Microsoft 365)? Add its
include: to the same record, before ~all.
2. DKIM
At OVH, there is no key to make: OVH generates it and signs your messages, you only need to enable DKIM. Customer area › Web Cloud › Emails (or Email Pro, Exchange, depending on your plan) › your domain, then the DKIM section: enable it.
Type CNAME
Subdomain ovhmo-selector-1._domainkey
Target ovhmo-selector-1._domainkey.….dkim.mail.ovh.net.
(and the same for ovhmo-selector-2)
- If the DNS zone is at OVH, both CNAME records are created automatically. Otherwise, copy them as the customer area shows them, at your zone's host.
- Two selectors: OVH signs with one and keeps the other ready to change keys without interruption. Delete neither.
- Another email host gives its own selector and key (a TXT or a CNAME): create them as it gives them.
3. DMARC
First, the address that will receive the reports: a redirect is enough. Customer area › Web Cloud › Emails › your domain › Redirections › add: dmarc@mydomain.com to your usual address. Free, nothing to check, no extra mailbox. Mailbox providers will send it a daily report (a compressed XML file): who sent in your domain's name, and whether SPF and DKIM passed. If the address does not exist, the reports bounce and are lost.
Type TXT
Subdomain _dmarc
Value v=DMARC1; p=none; rua=mailto:dmarc@mydomain.com
- Why a separate address rather than the sender's: a filter in your mailbox sorts the reports in one go, and they stay out of the mailbox that the CRM inbox and the bounce check read.
- Keep these reports to yourself: an online analysis service would see the list of your sends.
- Start with
p=none: nothing is blocked, you watch. After two to four weeks of unsurprising reports (everything you send passes), tighten: p=quarantine (to spam), then p=reject (refused). An impostor can then no longer send in your name. - A forgotten service sending for you (invoicing, a form hosted elsewhere) shows up failing in the reports: add it to the SPF before tightening.
Checking
- In JEIKO: Settings › Email, below the form, three ✓ lines. The DNS reading refreshes every hour. The getting-started checklist has its “Declare SPF, DKIM and DMARC” step.
- In a terminal:
dig +short TXT mydomain.com
dig +short CNAME ovhmo-selector-1._domainkey.mydomain.com
dig +short TXT ovhmo-selector-1._domainkey.mydomain.com
dig +short TXT _dmarc.mydomain.com
- On a received email: send a test to a Gmail address (the Test button in Settings › Email, or a newsletter test), then ⋮ › Show original. You should read
SPF: PASS, DKIM: PASS with the domain d=mydomain.com, and DMARC: PASS. In the raw headers, the Authentication-Results line says the same: spf=pass, dkim=pass header.d=mydomain.com, dmarc=pass.