Save time: official updates, summarised for youGet practical IT and digital marketing tips from SOLUX in a short email. No spam; leave any time. Subscribe free
SPF lists who may send for your domain, DKIM signs each message, and DMARC tells receivers what to do when checks fail; roll them out in that order and move DMARC to enforcement gradually.
What are SPF, DKIM and DMARC and why do they matter?
SPF, DKIM and DMARC are email authentication standards published in your domain's DNS. SPF states which servers may send mail for your domain, DKIM adds a cryptographic signature that proves a message was not altered and came from an authorised system, and DMARC tells receiving servers what to do when a message fails those checks. Together they make it much harder for criminals to send convincing emails that appear to come from your company.
They matter for two reasons. They protect your customers and partners from impersonation, and they improve the chance that your genuine emails reach the inbox rather than the spam folder. Large mailbox providers increasingly expect senders to have them in place.
SPF: who is allowed to send for your domain?
Sender Policy Framework (SPF) is a single DNS TXT record that lists the systems allowed to send email using your domain in the envelope sender. A receiving server checks the sending server's address against that list.
An example record looks like this: v=spf1 include:mail.example.net ip4:203.0.113.10 ~all. The include entry authorises your mail provider, the ip4 entry authorises a specific server, and the ending states what to do with everything else.
- Include every legitimate sender: your mailbox provider, your website forms, marketing tool, invoicing system and CRM.
- Publish only one SPF record per domain. Two records cause failures.
- SPF allows a maximum of ten DNS lookups, so avoid piling up includes.
- The ending ~all (soft fail) is a common starting point and -all (hard fail) is stricter. Move to the stricter option when you are confident the list is complete.
DKIM: signing every message
DomainKeys Identified Mail (DKIM) attaches a digital signature to each outgoing message. The sending system holds a private key, and you publish the matching public key in DNS under a name called a selector. The receiver uses that public key to check the signature, which proves the message came from a system you authorised and was not changed in transit.
- Enable DKIM in your mailbox platform and in every other service that sends on your behalf.
- Publish the DNS records the service gives you, usually CNAME or TXT records.
- Use strong key lengths recommended by your provider, and rotate keys when advised.
- Send a test message and check the headers to confirm the DKIM result says pass.
Each sending service usually has its own selector, so you may end up with several DKIM records. That is normal.
DMARC: the policy and the reports
Domain-based Message Authentication, Reporting and Conformance (DMARC) ties SPF and DKIM together. It checks that the domain visible in the From address aligns with the domain that passed SPF or DKIM, and it publishes your instruction for failures. It also asks receivers to send you reports, which show who is sending mail as your domain.
| Policy | Meaning | When to use |
|---|---|---|
| p=none | Monitor only, deliver as normal | First weeks, while collecting reports |
| p=quarantine | Send failing mail to spam | Once legitimate senders are all passing |
| p=reject | Block failing mail | Final goal for most businesses |
A starting record might be v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com. Use a reporting mailbox or a reporting service, because the raw reports are in XML and are hard to read by eye.
A safe rollout plan
The usual mistake is jumping straight to a strict policy and blocking your own invoices or newsletters. A staged rollout avoids that.
- Inventory senders: list every system that sends email with your domain.
- Publish SPF and enable DKIM for each one.
- Start DMARC at p=none and read the reports for a few weeks.
- Fix failures: add missing senders, correct alignment, retire old systems.
- Move to quarantine, then to reject, ideally in steps by percentage if your platform supports it.
- Review regularly, especially when you adopt a new marketing or billing tool.
Also protect parked and unused domains by publishing a record that says no mail is sent from them. For help with related controls, see our email solutions service and network security page.
Common problems and what these records do not do
Typical issues include forgotten senders such as a website contact form, too many SPF includes, forwarded mail that breaks SPF, and DKIM that is enabled in one tool but not another. Mailing lists can also alter messages and affect results, so test them separately.
Remember that these standards authenticate the domain; they do not scan content, stop phishing from other lookalike domains, or protect inboxes from malware. You still need email filtering, multi-factor authentication, user awareness and a habit of confirming payment changes by phone. Standards and mailbox provider requirements change, so check current guidance from your email provider when you configure them.
How SOLUX can help
SOLUX can audit your current DNS records, identify every system sending as your domain, set up SPF, DKIM and DMARC, and monitor reports while moving to enforcement without disrupting mail. If you only want a second opinion first, book a free consultation and we will review your setup with you.
Frequently asked questions
Do I need SPF, DKIM and DMARC all together?
Yes, they work best together. SPF and DKIM authenticate the message, and DMARC adds a policy and reporting on top of them.
Will DMARC break my email?
Not if you start with p=none, review the reports and fix legitimate senders before moving to quarantine or reject.
How many SPF records can a domain have?
Only one. If you use several services, combine them into a single record, and keep within the limit of ten DNS lookups.
Does this stop phishing completely?
No. It stops others from spoofing your exact domain, but not lookalike domains or phishing sent from compromised accounts. Combine it with filtering and staff awareness.
Related services
Want this done for your business?
Tell us about your team and goals. We reply on WhatsApp within two hours on working days.
