SPF, DKIM and DMARC Explained for Small Business Email
If customers know your business by name, that name can also be borrowed. Someone can send a message that looks like it came from you — a fake invoice or a “please click this link” note — without ever touching your website. SPF, DKIM, and DMARC are public records that help receiving systems check whether that message was actually authorized. They will not stop every scam, but they are a practical foundation, and they are one of the things we look at in a Basic Security Check.
The short version
- SPF (Sender Policy Framework) publishes which services are allowed to send email for your domain.
- DKIM (DomainKeys Identified Mail) adds a digital signature so the receiver can check that the message is tied to your domain and was not altered in transit.
- DMARC (Domain-based Message Authentication, Reporting, and Conformance) tells receivers what to do when a message fails those checks, and can send you reports about mail that uses your domain.
DMARC.org’s overview describes this as a collaboration: the receiver checks whether the message “aligns” with what is known about the sender, then follows the domain owner’s published guidance for mail that does not.
Google’s email sender guidelines require authentication for mail sent to personal Gmail accounts — SPF or DKIM for all senders, and all three records for bulk senders — and recommend setting up SPF, DKIM, and DMARC. Authenticated mail is less likely to be rejected or marked as spam.
SPF: who is allowed to send as you
SPF is a DNS TXT record: a published list of services that may send email for your domain. RFC 7208 is the technical specification. Google’s SPF setup guide walks through a typical record, such as:
v=spf1 include:_spf.google.com ~all
That example authorizes Google’s mail servers and uses ~all as a soft “everyone else should not be sending.” M3AAWG (2020) recommends ending SPF records in ~all, authorizing only the services you actually use, and publishing a “no senders” record on domains that do not send mail.
The usual pitfall is an incomplete inventory. If you send from Google Workspace and also from an invoicing tool, newsletter platform, or booking system, each sender needs to be accounted for. Google’s guidance is to update SPF when you add or retire a mail service.
SPF has limits. It checks the “envelope” sender used in the mail transaction, which is not always the From address your customer sees. That is one reason DKIM and DMARC exist alongside it. A domain should also have one SPF record, not several competing ones.
DKIM: a signature that travels with the message
DKIM attaches a cryptographic signature to the message. The public key lives in DNS; the sending service keeps the private key and signs outbound mail. The receiving server can then verify the signature. RFC 6376 defines the standard, and Google’s DKIM setup guide explains the Workspace-specific steps.
For mail to personal Gmail accounts, Google requires a DKIM key of 1,024 bits or longer and recommends 2,048 bits when your domain host supports it. A signature can also survive forwarding in cases where SPF would fail. Each sending service still needs its own setup, and the signing domain should line up with the visible From address if you want the result to help with DMARC.
DMARC: your published policy, plus reports
DMARC does two jobs.
First, it requires alignment. To pass DMARC, a message must pass SPF with alignment, DKIM with alignment, or both — meaning the authenticated domain lines up with the From address the recipient sees. Google documents this in its DMARC setup guide.
Second, it publishes a policy for mail that fails:
p=none— monitor only. Receivers still deliver the message as they otherwise would, and you can learn from reports.p=quarantine— treat failing mail with suspicion, often by placing it in spam.p=reject— ask receivers not to deliver failing mail at all.
A typical starting record looks like this, adapted from examples used by CISA and Google:
v=DMARC1; p=none; rua=mailto:you@yourdomain.com;
The rua address is where aggregate reports can be sent. Replace the example with a mailbox you will actually review. This is an illustration, not a record to publish as-is.
Do not jump straight to a strict policy. A p=reject record added before every legitimate sender is signed and aligned can block real invoices, reminders, or contact-form messages. M3AAWG recommends p=reject where possible, or p=quarantine otherwise, treats p=none as a transitional state, and says every published record should include a rua tag so you can tell when it is safe to tighten the policy. CISA’s Binding Operational Directive 18-01, written for federal agencies, follows the same idea: start with monitoring and reporting, then work toward p=reject.
A careful rollout
Google’s recommended DMARC rollout is a good pattern for a small business too:
- Inventory every service that sends email using your domain.
- Set up SPF and DKIM first. Google advises waiting at least 48 hours after SPF and/or DKIM before turning on DMARC.
- Publish DMARC at
p=nonewith a report address you will actually read. - Review the reports, fix missing or misaligned senders, then move gradually toward quarantine and, when it is safe, reject.
How this shows up in a Reviseo security check
Our Basic Security Check is an outside-only, passive review. For email, we look at the public SPF, DKIM, and DMARC records and explain what we observed, why it matters, and who can usually make the change. Publishing records is not proof that real messages authenticate and arrive, and a missing record is an opportunity to reduce risk, not proof that your site has been hacked.
The regular price is $199. You can add the check with a free website review for $99.50, or use a 24-hour half-off link after a review call. After you have paid for the first full check, you may subscribe at $20 per month for ongoing rechecks. The subscription does not include the initial check. You can cancel anytime, with 30 days’ notice. We confirm any paid work before it begins.
Frequently asked questions
If I publish these records, will my email stop going to spam?
Not necessarily. Authentication helps, and Google says authenticated messages are less likely to be rejected or marked as spam, but deliverability also depends on content and reputation. There is no guarantee.
Can I just copy a record from a template?
You should not. The right values depend on the services you actually use, and a strict DMARC policy can block legitimate mail if a sender is missing. Use your provider’s instructions and the official guides linked here.
Does a free website review include this check?
No. The free review looks at public pages and is not a security audit. Email authentication is part of the optional paid security check. How our website review works explains the difference.
Start with a free website review
If you would like an honest look at your public pages, request a free website review. If you also want us to review your public email-authentication records, ask us to add a Basic Security Check. Nothing is added or billed automatically. To see how we present these findings, visit the samples page. Questions? Email jasong@reviseotech.com.
Sources cited
- DMARC.org: Overview
- Google: Email sender guidelines
- Google Workspace Help: Set up SPF
- Google Workspace Help: Set up DKIM
- Google Workspace Help: Set up DMARC
- Google Workspace Help: Recommended DMARC rollout
- M3AAWG: Email Authentication Recommended Best Practices (September 2020)
- CISA: BOD 18-01, Enhance Email and Web Security
- IETF RFC 7208: Sender Policy Framework
- IETF RFC 6376: DomainKeys Identified Mail