You finally set up a professional email address on your own domain ([email protected]), send an invoice or quote to a new customer, and hear back three days later: “Oh, sorry—I just found your email sitting in my Spam folder.”
Nothing is broken with your writing. You hit the three acronyms every small business owner dreads seeing in a DNS dashboard: SPF, DKIM, and DMARC.
Email was invented in the 1970s with almost no identity checks—anyone on earth could type From: [email protected] on the outside of an envelope and drop it in the mail. SPF, DKIM, and DMARC are the three simple DNS TXT records (see how websites actually work) that finally let Gmail and Outlook tell the real you apart from a spammer.
The mailroom analogy
| Record | Mailroom analogy | What it proves | Where it lives |
|---|---|---|---|
| SPF | A list of approved post offices | “Only these mail servers are allowed to send mail for my domain.” | A TXT record on @ (root domain) |
| DKIM | A tamper-proof wax seal | “This exact email was signed by my mail server and nobody altered it in transit.” | A TXT (or CNAME) record provided by your email host |
| DMARC | Instructions for the receiving mailroom | “If a letter fails SPF and DKIM, here is what to do with it—and send me a report.” | A TXT record on _dmarc |
Together, they answer three questions for Gmail and Outlook: Who sent it? Was it tampered with? What should we do if it fails?
1. SPF: the approved senders list
An SPF (Sender Policy Framework) record is one short line in your DNS listing every service authorized to send email as @yourdomain.com.
For example, if you use Google Workspace for your inbox:
Host: @
Type: TXT
Value: v=spf1 include:_spf.google.com ~all
If you also send receipts or newsletters through a second tool (say, Postmark or Mailchimp), do not create a second SPF record—having two v=spf1 records invalidates both! Combine them into one line:
v=spf1 include:_spf.google.com include:spf.mtasv.net ~all
Keep SPF tidy: the standard allows at most 10 DNS lookups inside an SPF record. Adding six marketing tools without cleaning up old ones quietly breaks SPF for everyone.
2. DKIM: the digital wax seal
DKIM (DomainKeys Identified Mail) adds a hidden cryptographic signature to every outgoing email header.
You do not generate this math by hand. Inside your email provider’s admin settings (Google Workspace, Fastmail, Microsoft 365, Resend, Postmark), click “Authenticate domain / Turn on DKIM.” The provider gives you 1 to 3 DNS records to paste into your DNS dashboard.
Why DKIM matters even when you already have SPF: if a customer forwards your email to a colleague, SPF often breaks on forwarding, while DKIM survives as long as the message body was not modified.
3. DMARC: the enforcement rule
Without DMARC, SPF and DKIM are just suggestions—the receiving inbox still has to guess how strictly to treat a failed check.
DMARC lives on a TXT record named _dmarc and has three stages:
| Policy | What it tells Gmail / Outlook | When to use it |
|---|---|---|
p=none | “Deliver normally, just log/report what passes or fails.” | Week 1–2: while verifying all your tools |
p=quarantine | “Send failed emails to Spam.” | Week 3+: once all real senders pass |
p=reject | “Block fake emails completely before they reach any inbox.” | Final state: strongest protection against spoofing |
A safe starting record looks like this:
Host: _dmarc
Type: TXT
Value: v=DMARC1; p=none; rua=mailto:[email protected]Bonus tip: protect domains that do NOT send email
If you own extra domains (like typos or redirect domains that never send mail), publish these two lines so scammers cannot impersonate them:
@ TXT "v=spf1 -all"
_dmarc TXT "v=DMARC1; p=reject;"
That tells the entire internet: “No email from this domain is ever legitimate—reject all of it.”
How to verify your setup in 2 minutes
You do not have to guess whether it worked:
- Send a plain test email from your domain to a normal personal
@gmail.comaddress. - Open the email in Gmail on desktop, click the three dots (
⋮) → Show original. - Look at the top summary box. You want three crisp green-style words:
SPF: PASSDKIM: PASSDMARC: PASS
If any of the three says FAIL or SOFTFAIL, check that you pasted the exact host name without duplicating your domain (for example, _dmarc instead of _dmarc.yourdomain.com.yourdomain.com) and wait for your DNS TTL to expire.
Frequently asked questions
Why are my normal emails going straight to my customers’ Spam folder? Gmail, Yahoo, and Microsoft now require custom domains to prove who is allowed to send email for them. If your domain is missing valid SPF, DKIM, or DMARC DNS records—or if you send newsletters from a marketing tool you forgot to authorize in SPF—receiving servers treat your mail as suspicious.
Can I add two separate SPF records in my DNS?
No—this is one of the most common mistakes. A domain must have only ONE SPF TXT record. If you send email from both Google Workspace and a newsletter tool, combine both includes inside the same single v=spf1 line.
Should I set DMARC to p=reject right away?
No. Start with p=none (monitoring mode) for a couple of weeks to make sure none of your legitimate invoicing, contact-form, or newsletter tools fail checks. Once everything passes cleanly, tighten to p=quarantine and finally p=reject.