Small Business Security Templates
Home › SPF, DKIM and DMARC setup

SPF, DKIM and DMARC setup for small business, in plain English

By William Todd, IT support and cybersecurity engineer · Updated 2026-11-21

SPF, DKIM and DMARC are three DNS records that tell other mail servers which senders are allowed to use your domain and what to do with mail that fails the check. Set up SPF and DKIM for every service that sends as your domain, publish a DMARC record at p=none to collect reports, then tighten it to p=quarantine and p=reject once legitimate mail passes. Done right, it makes it much harder for scammers to send invoices, gift card requests or "new bank details" emails from your exact address.

It also helps your own mail get delivered. Google and Yahoo have required SPF, DKIM and DMARC from bulk senders (more than 5,000 messages a day to their users) since 2024, Microsoft began enforcing similar rules for Outlook.com and Hotmail in 2025, and authenticated mail is treated better by mail filters generally.

What each record does

RecordWhat it saysAnalogy
SPFWhich mail servers may send mail for your domainA list of approved couriers
DKIMA digital signature on each message, checked against a public key in your DNSA tamper-evident seal
DMARCWhat receivers should do when a message fails SPF and DKIM alignment (nothing, spam folder, or reject), and where to send reportsThe instructions for the front desk

Step 1: list everything that sends as your domain

Before touching DNS, list every service that sends email using your domain: Microsoft 365 or Google Workspace, your website's contact form, your newsletter tool, invoicing and accounting software, your booking system, your CRM, and any copier that scans to email. Each one needs to be covered by SPF or DKIM, or its mail will start failing when you tighten DMARC. Your IT asset inventory is a good starting point.

Step 2: SPF

Publish one TXT record at the root of your domain. Typical examples:

Add an include: for each other sender, using the value its documentation gives you. Rules that trip people up:

Step 3: DKIM

Menus change from time to time; if a path has moved, search the provider's help for "DKIM".

Step 4: DMARC, gradually

Publish a TXT record at _dmarc.yourdomain.com. Start in monitoring mode:

v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com

The rua address receives daily aggregate reports from big mail providers. They're XML files, so use a dedicated mailbox and a DMARC report reader (several have free tiers) rather than your own inbox.

StagePolicyHow longMove on when
1. Monitorp=none2–4 weeksReports show every legitimate sender passing SPF or DKIM
2. Quarantinep=quarantine; pct=25, then 1002–4 weeksNo complaints about missing legitimate mail
3. Rejectp=rejectOngoingReview reports monthly and when you add a new email tool

p=none on its own satisfies the bulk sender rules but doesn't stop spoofing. The protection comes from quarantine and reject.

Common mistakes

What DMARC doesn't stop

DMARC stops mail that pretends to be from your exact domain. It doesn't stop lookalike domains (yourcompany-invoices.com), free webmail accounts using your name, or mail from a genuinely hacked account. Those need staff training, verification habits for payment changes (see bank detail changes and direct deposit changes), and MFA on email (MFA rollout plan).

Cyber insurers increasingly ask about email authentication; see the insurance questionnaire guide. Check your other basics with the free 5-minute security self-assessment.

Cyber Insurance Readiness Pack $29

Includes a cyber insurance questionnaire worksheet, an MFA rollout plan, a backup test log and a phishing handout for staff.

Get the templates

Frequently asked questions

What is the difference between SPF, DKIM and DMARC?

SPF lists which servers may send email for your domain, DKIM adds a signature to each message that receivers check against your DNS, and DMARC tells receivers what to do with mail that fails those checks and sends you reports.

Should I start DMARC with p=reject?

No. Start with p=none to collect reports, make sure every legitimate sender passes, then move to p=quarantine and finally p=reject over several weeks.

Does DMARC stop all email impersonation?

No. It stops mail using your exact domain. Lookalike domains, free webmail accounts using your name, and hacked accounts need staff training, payment verification and MFA.

Related guides