Email Authentication Audit: How to Check Your SPF, DKIM and DMARC Like a Pro
Email authentication is not a one-time setup task. SPF records get edited when someone adds a new tool, DKIM keys age quietly in DNS for years, and DMARC policies that were supposed to be temporary have a habit of becoming permanent. Meanwhile, your deliverability slowly degrades and nobody can say exactly when it started or why. An email authentication audit is how you find out where you really stand: a structured check of every record, key and alignment path that decides whether receiving servers trust your mail.
This guide walks you through a complete audit the way a deliverability professional would run one: inventory first, then SPF, DKIM and DMARC in detail, then live-message testing, and finally a repeatable schedule so the audit becomes a habit rather than an emergency. You do not need expensive tools. A DNS lookup utility, a mailbox you control, and the headers of your own messages will take you surprisingly far.
Why Authentication Drifts (and Why Audits Matter)
Most authentication problems are not caused by a single dramatic failure. They accumulate. Marketing installs a new email platform and adds an include to the SPF record, pushing it closer to the lookup limit. A developer sets up a helpdesk on a subdomain and never configures DKIM for it. The CRM sends invoices from your domain through a third party whose signing was never aligned. Each change is small and reasonable in isolation; together they produce mail that partially authenticates, and partial authentication is exactly what modern spam filters are designed to treat with suspicion.
Large mailbox providers have also raised the bar. Bulk senders are now expected to have SPF, DKIM and DMARC in place, with DMARC enforcement strongly encouraged. If your records were configured years ago to the standards of the time, they may technically exist while falling well short of what receivers currently reward. An audit closes that gap between "we set that up once" and "this is verifiably correct today".
Step 1: Inventory Every Sending Source
Every useful audit starts with a list. Before you touch DNS, write down everything that sends email using your domain or its subdomains. Go through each category deliberately:
- Your mail server or SMTP service — the primary platform sending campaigns and transactional mail.
- Your website — contact forms, order confirmations, password resets sent by WordPress or your store software.
- Marketing and automation tools — newsletters, abandoned-cart flows, onboarding sequences.
- Sales and support tools — CRMs, helpdesks and ticketing systems that send as your domain.
- Billing and operations — invoicing software, monitoring alerts, backup notifications.
- People — staff mailboxes on Google Workspace, Microsoft 365 or your own server.
For each source, note the sending IP addresses or service, the exact From domain it uses, and whether it sends on your root domain or a subdomain. DMARC aggregate reports are a goldmine here: the rua reports you receive contain the sources receivers actually see, including the ones your team forgot. If you are not receiving aggregate reports yet, setting them up is your first audit finding.
Step 2: Audit the SPF Record
SPF is a DNS TXT record that lists which servers may send for your domain. Pull the current record for every sending domain and subdomain and examine it line by line.
Check the mechanics
- Exactly one SPF record per name. Two TXT records starting with v=spf1 at the same name invalidate SPF entirely — a surprisingly common finding after mergers of DNS zones.
- Count the DNS lookups. Each include, a, mx and redirect costs a lookup, and the limit is 10. Count nested includes too, because services include other services. If you are at 9 or 10, you are one vendor change away from PermError, which receivers treat as a fail.
- Check the ending. The record should end in -all (hard fail) once you are confident every legitimate source is listed. A record ending in ~all or ?all tells receivers to be lenient with unauthorised senders, which weakens the whole point.
- Remove dead sources. Old platforms you no longer use should come out. Every stale include is an open door: if a former vendor's infrastructure is ever compromised, it can send as you.
- Watch for typos and deprecated mechanisms. The ptr mechanism should not be used, and syntax errors are easy to miss in a long record. Validate with an SPF checker after any edit.
Check what SPF actually proves
Remember that SPF authenticates the envelope sender (the Return-Path), not necessarily the From address your readers see. For DMARC, SPF only counts when the Return-Path domain aligns with the From domain. Many third-party tools send with their own bounce domain by default, which means your SPF can pass perfectly while contributing nothing to DMARC. Note every source where that happens; fixing the bounce domain to a subdomain of your own domain is usually a settings change, not a migration.
Step 3: Audit DKIM
DKIM signs each message with a private key so receivers can verify it was not altered and genuinely came from a holder of your domain's key. Auditing DKIM means checking keys for every sending source on your inventory list.
Selectors and key strength
DKIM keys live at selector._domainkey.yourdomain. You cannot enumerate selectors from DNS, so collect them from each platform's settings and from the headers of real messages (the s= tag in the DKIM-Signature header). For every selector you find, check:
- Key length. 2048-bit RSA keys are the current standard. A 1024-bit key still verifies, but it is below modern best practice and some receivers view it as a weakness. Plan an upgrade if you find one.
- The record is intact. Long keys are split into multiple strings in DNS; a copy-paste error that drops a chunk produces intermittent failures that are miserable to debug.
- Testing flags. A t=y flag in the record tells receivers the key is in testing mode. It is often left behind from the original setup.
- Revoked or empty keys. An empty p= value means the key has been revoked — fine if deliberate, alarming if the platform using that selector is still sending.
Signing coverage and rotation
Confirm that every source on your inventory actually signs. Unsigned sources that rely on SPF alone are fragile, because SPF breaks when mail is forwarded. Then check your rotation practice: keys should be rotated periodically, which means introducing a new selector, switching the platform to it, waiting for old messages to clear, and only then retiring the old key. If nobody at your organisation can describe how your keys are rotated, that is an audit finding in itself.
Step 4: Audit DMARC
DMARC ties SPF and DKIM together with alignment and tells receivers what to do when both fail. Audit it in layers.
Policy and coverage
- Does a record exist for the root domain and every subdomain? Subdomains inherit from the root unless they publish their own record or the root sets an sp= policy. Check the subdomains you actually send from individually.
- What is the policy? p=none only monitors. p=quarantine and p=reject enforce. If you have been at p=none for more than a few months with clean reports, your audit action is to move up — enforcement is where the protection (and much of the deliverability benefit) actually lives.
- Is pct set below 100? A leftover pct=10 from a cautious rollout means 90 percent of failing mail is exempt from your policy.
- Alignment mode. adkim and aspf default to relaxed, which is right for most senders. Know which you are using and why.
- Reporting addresses. rua should point to a mailbox or service that somebody reads. Check the reports are arriving, are being parsed, and show no unauthorised sources. Also confirm external reporting domains have the required verification records.
Read the reports like an auditor
Aggregate reports group your mail by source IP and show authentication results. In an audit, scan at least a month of reports for three things: legitimate sources that fail (fixable configuration), sources you do not recognise (possible spoofing or a forgotten tool), and volume changes that suggest a new sender appeared without going through your process. Your DMARC record is only as good as the attention paid to its reports.
Step 5: Test With Real Messages
DNS records tell you what should happen; message headers tell you what does happen. From every source on your inventory, send a real message to a mailbox you control at a major provider and inspect the Authentication-Results header. You want to see spf=pass, dkim=pass and dmarc=pass, with the domains shown being yours — not the vendor's. Pay attention to alignment: the d= value in DKIM and the Return-Path domain for SPF must match your From domain (or its subdomains, in relaxed mode).
Test the edge cases too. Forward a message to another account and re-check: DKIM should survive forwarding while SPF usually does not, which is exactly why both matter. Check a mailing-list or helpdesk reply path if you use one. And test from every subdomain that sends, not just the root — subdomain authentication is where audits most often find silent gaps, because each subdomain's records are separate.
Common Audit Findings and How to Fix Them
- SPF over the lookup limit: remove dead includes, replace nested chains, or move heavy senders to dedicated subdomains with their own lean records.
- Third-party mail failing alignment: configure the vendor's custom bounce domain and custom DKIM signing with your domain — every reputable platform supports both.
- DMARC stuck at p=none: review reports for two to four weeks, fix failing legitimate sources, then step to quarantine and reject.
- 1024-bit DKIM keys: generate a 2048-bit key under a new selector, switch the sender, then retire the old selector.
- Forgotten senders: add them to the inventory and authenticate them, or stop them sending as your domain.
- Nobody reads the reports: route rua to a monitored mailbox or a DMARC reporting service and assign an owner.
Turn the Audit Into a Schedule
A single audit fixes today's problems; a schedule stops them coming back. A practical rhythm: review DMARC aggregate reports monthly, run the full record-by-record audit quarterly, and re-audit immediately whenever a new sending tool is adopted, a platform is migrated, or deliverability drops without an obvious cause. Keep a simple change log for DNS — who changed what, when and why — because the next auditor (probably you, in six months, at a stressful moment) will be grateful.
Audit the Supporting Records Too
SPF, DKIM and DMARC are the headline act, but a thorough audit checks the supporting cast as well, because receivers look at the whole picture. Start with your MX records: mail servers that cannot receive bounces and replies at the addresses they send from look incomplete, and every sending domain should be able to accept mail or deliberately publish a null MX if it truly never receives any. Next, check reverse DNS for your sending IPs — the subject of a whole guide in its own right — because a generic or missing PTR record undermines the identity your authentication works to establish. Confirm that the HELO/EHLO name your server presents matches a real hostname in your domain with a valid forward DNS record; mismatched greetings are a small but telling sign of a neglected setup.
Then look at transport security. Check whether your server supports TLS for outbound delivery and whether the certificates on your mail hostnames are valid, unexpired and match the names they are presented for. Receivers increasingly record and reward encrypted transport, and an expired certificate on your mail hostname is the kind of basic hygiene failure that suggests deeper neglect. Finally, if your brand uses BIMI to display its logo in supporting inboxes, verify the BIMI record, the SVG logo file it points to, and any trademark certificate requirements — BIMI only works on top of enforced DMARC, which makes it a useful end goal for the whole audit.
Score Your Audit So Progress Is Visible
Professionals finish an audit with findings graded by severity, and you should too, even if the document is only for yourself. A simple scheme works well. Mark as critical anything that causes legitimate mail to fail authentication or leaves the domain open to direct spoofing: a broken SPF record, a missing DMARC record, a revoked DKIM key still in use. Mark as high the issues that weaken trust without breaking delivery today: 1024-bit keys, a policy stuck at p=none, third-party senders passing on their own domains instead of yours. Mark as medium the hygiene items: stale includes, unrotated keys, reports nobody reads, subdomains nobody has checked. Fix in severity order, re-test after every change, and keep the scored list with your change log. When you repeat the audit next quarter, the shrinking list is your proof that the process works — and when a deliverability problem appears, that same list tells you exactly where to look first.
Authentication is also the foundation everything else stands on. Warm-up, list hygiene and content quality all work better when receivers can verify, beyond doubt, that your mail is really yours. If your audit reveals that your current sending platform cannot give you aligned SPF and DKIM, dedicated IPs with correct records, and full control of your DNS settings, the platform is the problem. A dedicated SMTP server puts all of that under your control: your IPs, your keys, your records, configured properly from day one. Explore goIX's dedicated SMTP plans and start your next audit from a position of strength.