Before a mailbox provider such as Gmail or Outlook looks at your message, it asks a simpler question: is this email really from the domain it claims to be from? Three records in your domain's DNS settings answer that question. If they are missing or wrong, even a well-written email can land in spam or be rejected.
SPF: who may send for your domain
SPF (Sender Policy Framework) is a single line of text in your DNS that lists the servers allowed to send email for your domain. When a message arrives, the receiving server checks whether the sending server is on your list.
v=spf1 include:_spf.google.com ~all
This example says "Google's servers may send for this domain; treat anything else as suspicious". Three things go wrong most often:
- Two SPF records. A domain may have only one. If you add a second, both stop working. Merge them into one line.
- Too many lookups. SPF allows at most 10 DNS lookups. Piling on
include:entries for every tool you have ever used can push you over. - Forgetting a sender. If a newsletter tool or CRM sends as your domain and is not listed, its mail will fail.
DKIM: a signature that proves nothing was changed
DKIM (DomainKeys Identified Mail) adds a hidden digital signature to every email. Your provider signs the message with a private key, and publishes the matching public key in your DNS. The receiving server uses the public key to check that the message really came from you and was not altered on the way.
You do not write DKIM records by hand. Your email provider (Google Workspace, Microsoft 365 and others) gives you a record to copy into your DNS, and a button to switch signing on. The common mistake is copying the record but never switching signing on.
DMARC: what to do when checks fail
DMARC ties SPF and DKIM together and tells receivers what to do when a message fails both. It also sends you reports so you can see who is sending as your domain.
v=DMARC1; p=none; rua=mailto:dmarc@yourcompany.com
The p= part is the policy:
| Policy | Meaning | When to use it |
|---|---|---|
p=none | Only watch and report | Start here for the first weeks |
p=quarantine | Send failing mail to spam | Once reports show your real mail passes |
p=reject | Refuse failing mail | The strongest protection against someone faking your domain |
How to check yours in five minutes
- Send a test email from your mailbox to a Gmail address and open the message.
- Choose "Show original". Gmail shows PASS or FAIL next to SPF, DKIM and DMARC.
- If anything says FAIL, fix that record first, then test again. DNS changes can take up to a few hours to spread.
Use a separate domain for cold outreach
Many teams send cold email from a second domain that is close to their main one (for example a variation of the company name), so that the main domain, used for customers and invoices, is never put at risk. Set up all three records on the new domain too.
Try SilaSend free for 14 days
The $10 trial fee is only collected if you decide to continue. Company email addresses only.
Request a workspace