Guide5 min read
SPF, DKIM and DMARC, explained for business owners
Three DNS records decide whether your email reaches the inbox or spam. What each one does, in plain words, and how Ferry sets them up.
When you add your domain to Ferry, you're asked to add a few DNS records. Three of them, SPF, DKIM and DMARC, decide whether the world believes your email is really from you. Here's what they do, without the jargon.
The problem they solve
Anyone can write any address in the From line of an email, the same way anyone can write any return address on an envelope. Inboxes need a way to check. These three records are that check.
SPF: who may send for you
SPF is a list, published on your domain, of the servers allowed to send mail as you. When mail arrives claiming to be from your company, the receiving inbox looks at the list. Sent from a server on it? Good sign. Not on it? Suspicious.
DKIM: a signature on every message
DKIM adds an invisible signature to each email Ferry sends for you. The key to check it is in your DNS. If anyone changes the message on the way, the signature no longer matches. It proves the email really came from your domain and arrived as it was sent.
DMARC: what to do when a check fails
DMARC tells inboxes what to do with mail that fails SPF and DKIM: let it through (p=none), put it in spam (p=quarantine) or refuse it (p=reject). Start with none, and once you're sure all your real mail passes, move to quarantine and then reject. That stops others sending fake invoices in your name.
| Record | What it says | Without it |
|---|---|---|
| SPF | These servers may send as us | Mail is more likely to go to spam |
| DKIM | This message is signed by us | Inboxes can't tell it wasn't changed |
| DMARC | If a check fails, do this | Anyone can send mail that looks like yours |
| MX | Deliver our mail here | You don't receive mail at all |
How Ferry handles it
Ferry creates a separate DKIM key for every domain, shows the exact records to copy, and checks them every few seconds until they're right. If your domain is on Cloudflare, you can download all the records as one file to import.
Already have an SPF record for another service? A domain can have only one SPF record, so add Ferry to the existing one instead of creating a second. If you're unsure, ask us at support@ferry.et.