Skip to main content

Information security specialists Est. 2011

Schedule Consultation

Technical Resource Guide · TAAUS Secure Technologies

Email authentication: SPF, DKIM, and DMARC.

Updated

Implementing the three protocols that stop attackers from sending as your domain and close a major route to business email compromise — with configuration examples, a phased rollout plan, and what we find in real environments.

52%of funds transfer fraud insurance claims began with business email compromiseEmail is where wire fraud startsCoalition 2026 Cyber Claims Report
~$3.0Bin business email compromise losses reported to the FBI in 2025 — nearly 25,000 complaintsThe exact attack pattern DMARC enforcement preventsFBI IC3 Internet Crime Report, 2025
80%+of domains have no DMARC record or use a non-enforcing p=none policyNo enforcement = your domain can be spoofed right nowEasyDMARC 2025 DMARC Adoption Report

Why email authentication matters

Email spoofing and phishing attacks cost organizations billions annually, with attackers impersonating legitimate domains to deceive recipients. SPF, DKIM, and DMARC work together to verify sender legitimacy and prevent unauthorized use of your domain.

Without proper email authentication, attackers can send emails appearing to come from your domain — damaging your reputation and enabling successful phishing campaigns against your customers, partners, and employees. This guide covers the business impact, technical implementation, and a phased rollout approach, with configuration examples for Microsoft 365, Google Workspace, and common third-party platforms.

For business leaders

What this actually protects — in business terms.

Email authentication is often framed as a technical requirement. It's a business protection. Here's what's at stake without it.

Wire fraud and BEC prevention

Attackers can spoof your CFO’s exact address to redirect wire transfers or invoice payments. DMARC enforcement blocks exact-domain spoofing — look-alike domains and compromised mailboxes still get through, so pair it with impersonation protection and payment call-back verification.

Brand and domain reputation

If your domain is used in phishing campaigns, email providers flag it as a spam source. This damages deliverability for your legitimate outbound email — including investor and client communications.

Cyber insurance requirement

DMARC/SPF/DKIM are listed as required controls by most cyber insurance underwriters. Missing these can affect coverage approval or trigger claim denial after a BEC incident.

Email deliverability

Properly authenticated domains see better inbox placement for marketing, investor relations, and client outreach. Gmail and Outlook now require authentication for bulk senders.

⚠ What happens without this

A spoofed invoice — how domain impersonation leads to wire fraud.

This sequence plays out daily against organizations that haven't implemented DMARC enforcement. DMARC p=reject would have blocked the attack at Step 2.

Step 01

No DMARC enforcement.Your domain has p=none or no DMARC record. Anyone can send email appearing to be from your domain.

Step 02

Attacker sends spoofed invoice.Email appears to be from your CFO's exact address. Client sees the familiar name and domain.

Step 03

Client pays the invoice.Updated banking details in the fake invoice. Client wires funds to attacker's account.

Step 04

Discovery and damage.Your domain is now flagged as a phishing source. Deliverability drops. Client demands reimbursement.

Step 05

Insurance and legal exposure.Insurance claim reviewed. Lack of DMARC enforcement cited. Coverage disputed. Legal exposure for both parties.

TAAUS Field Insight

What we find in email authentication audits.

The most common finding isn't a missing record — it's a DMARC policy stuck at p=none for years, collecting reports nobody reads, providing zero enforcement.

Across Microsoft 365 and Google Workspace email authentication audits, these are the gaps we consistently find in SMB, legal, financial services, and healthcare environments.

Microsoft 365 DefenderGoogle WorkspaceMicrosoft PurviewProofpointdmarcianMimecastEasyDMARC

Multiple SPF records breaking validation

A domain can only have one SPF TXT record. We regularly find two or three — usually from different IT vendors adding their own. All of them fail silently.

Third-party senders excluded from SPF

Marketing tools, CRM systems, and helpdesk platforms send email on your behalf but aren't in your SPF record. Their emails fail authentication and often land in spam.

DMARC stuck at p=none indefinitely

The record was created, p=none was set for monitoring, reports were routed to an inbox nobody checks. It's been there for two years. Zero enforcement, zero visibility.

DKIM not configured on subdomains

DKIM is enabled on the primary domain (company.com) but not on the marketing subdomain (mail.company.com) or the client portal subdomain. Those emails fail authentication.

DMARC enforcement journey

The three stages of DMARC enforcement.

Never start with p=reject. The path from monitoring to full enforcement takes 4–8 weeks when done correctly. Each stage has a clear entry and exit criterion.

p=none

Stage 1: Monitor

Collect data. No emails are blocked or flagged. You see who is sending on your behalf and whether they're authenticating correctly.

Duration: 2–4 weeks minimum

  • Set up reporting addresses
  • Review daily aggregate reports
  • Identify all sending sources
  • Fix SPF and DKIM gaps
p=quarantine

Stage 2: Quarantine

Failing emails go to spam instead of inbox. Legitimate mail still gets through, just flagged. Move here when >90% of legitimate mail is passing.

Duration: 1–2 weeks

  • Monitor spam folders for false positives
  • Fix any remaining authentication gaps
  • Confirm all senders are passing
p=reject

Stage 3: Enforce

Failing emails are rejected outright — they never reach the inbox. Full protection against exact-domain spoofing. Move here when >95% pass rate confirmed.

Ongoing: Continue monitoring

  • Maximum spoofing protection
  • Expected by most cyber insurers
  • Monitor reports indefinitely
SPF

Sender Policy Framework

Specifies which mail servers are authorized to send email on behalf of your domain

In one sentence: SPF defines which servers are allowed to send email for your domain. If a server isn't on the list, the email fails.

What is SPF?

SPF is a DNS TXT record that lists the IP addresses and mail servers authorized to send email from your domain. When a receiving mail server gets an email claiming to be from your domain, it checks your SPF record to verify the sending server is authorized.

How SPF works

  • Receiving server extracts the sender's domain from the email envelope (MAIL FROM)
  • Server queries DNS for the domain's SPF record
  • Server compares the sending IP address against authorized IPs in the SPF record
  • Server returns Pass, Fail, SoftFail, Neutral, or TempError result
  • Receiving server decides whether to accept, reject, or flag the message

✓ Basic SPF record example

v=spf1 ip4:192.0.2.0/24 include:_spf.google.com include:spf.protection.outlook.com ~all

SPF record breakdown

  • v=spf1 — Version identifier (always starts with this)
  • ip4:192.0.2.0/24 — Authorizes specific IPv4 address range
  • include:_spf.google.com — Authorizes Google Workspace mail servers
  • include:spf.protection.outlook.com — Authorizes Microsoft 365 (Defender) mail servers
  • ~all — SoftFail for all other servers (recommended for initial deployment)
  • -all — HardFail for all other servers (use after testing)

✓ Complete SPF record for multiple services

DNS TXT Record — example.com
; Authorizes: Microsoft 365, Salesforce, HubSpot, and on-premise server
v=spf1 ip4:203.0.113.10 include:spf.protection.outlook.com include:_spf.salesforce.com include:_spf.hubspot.com -all

⚠ SPF record limitations

SPF has a 10 DNS lookup limit. Each "include" mechanism counts as one lookup. Exceeding this limit causes SPF to fail silently — one of the most common issues we find in audits. Use IP addresses directly where possible and consolidate include statements. Consider SPF flattening tools for complex configurations.


DKIM

DomainKeys Identified Mail

Uses cryptographic signatures to verify email authenticity and detect tampering

In one sentence: DKIM adds a cryptographic signature to your emails that proves they came from your authorized servers and weren't modified in transit.

What is DKIM?

DKIM adds a digital signature to email headers using public-key cryptography. The sending server signs the email with a private key, and the receiving server verifies the signature using the public key published in DNS. This proves the email came from an authorized server and hasn't been modified in transit.

How DKIM works

  • Sending mail server generates a cryptographic signature of the email content
  • Signature is added to the email header as "DKIM-Signature"
  • Receiving server extracts the DKIM signature from the header
  • Server queries DNS for the sender's DKIM public key (selector._domainkey.domain.com)
  • Server verifies the signature using the public key
  • Valid signature confirms email authenticity and integrity

✓ DKIM DNS record example

DNS TXT Record — default._domainkey.example.comv=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...

DKIM record breakdown

  • v=DKIM1 — Version identifier
  • k=rsa — Key type (RSA is standard; use 2048-bit minimum)
  • p=MII... — Base64-encoded public key
  • t=s — (Optional) Strict mode — domain must match exactly

✓ DKIM signature in email header

Email header example
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
  d=example.com; s=default; t=1640000000;
  h=from:to:subject:date;
  bh=2jmj7l5rSw0yVb/vlWAYkK/YBwk=;
  b=dzdVyOfAKCdLXdJOc9G2q8LoXSlEniSbav+yuU4zGkwjcOq...

Enabling DKIM in Microsoft 365 and Google Workspace

  • Microsoft 365: Defender portal → Email & collaboration → Policies & rules → Threat policies → Email authentication settings → DKIM. Publish the two selector CNAME records Microsoft provides (selector1 and selector2), then enable signing
  • Google Workspace: Admin Console → Apps → Google Workspace → Gmail → Authenticate email
  • Both platforms generate the key pair and DNS records for you — no manual key generation needed
  • Also enable DKIM in any third-party platforms that send email on your behalf (Mailchimp, HubSpot, Salesforce, etc.)

DKIM key rotation best practices

Rotate DKIM keys annually or after any security incident. Use 2048-bit RSA keys minimum (1024-bit is deprecated). Maintain multiple selectors to enable seamless key rotation without service interruption. Microsoft 365 does not rotate keys on its own — use Rotate DKIM keys in the Defender portal or Rotate-DkimSigningConfig in Exchange Online PowerShell. Its two selectors let the new key go live while the old one still validates.


DMARC

Domain-based Message Authentication, Reporting and Conformance

Ties SPF and DKIM together with policy enforcement and reporting

In one sentence: DMARC is the policy layer that tells receiving servers what to do when SPF or DKIM fail — and sends you reports on everything happening with your domain's email.

What is DMARC?

DMARC builds on SPF and DKIM by adding policy enforcement and visibility. It tells receiving mail servers what to do when SPF or DKIM checks fail, and provides aggregate and forensic reports on email authentication results. DMARC is the critical final layer that actually prevents domain spoofing — but only when set to p=quarantine or p=reject.

How DMARC works

  • Email arrives at receiving server claiming to be from your domain
  • Server checks SPF and DKIM authentication
  • Server verifies domain alignment (From: header matches SPF/DKIM domains)
  • Server queries your DMARC policy from DNS (_dmarc.domain.com)
  • Server applies your policy: none (monitor), quarantine (spam), or reject
  • Server sends aggregate and forensic reports to your specified addresses

✓ DMARC policy progression — recommended implementation path

; Phase 1: Monitor mode - collect data without enforcement
v=DMARC1; p=none; rua=mailto:
; Phase 2: Quarantine mode - failing emails go to spam (add t=y while you validate)
v=DMARC1; p=quarantine; rua=mailto:
; Phase 3: Reject mode - unauthorized emails are blocked entirely
v=DMARC1; p=reject; np=reject; rua=mailto:

DMARC record components

  • v=DMARC1 — Version identifier (required)
  • p=none|quarantine|reject — Policy for emails that fail authentication (required)
  • rua=mailto:address — Email address for aggregate reports (daily XML summaries)
  • ruf=mailto:address — Address for failure reports (optional). Many large mailbox providers don’t send them, and those that do may include message content — send them only to a mailbox you control
  • sp=none|quarantine|reject — Policy for subdomains (optional)
  • np=none|quarantine|reject — Policy for subdomains that don’t exist, a common spoofing trick (optional)
  • t=y|n — Testing flag: tells receivers the policy is still being validated (optional)
  • adkim=r|s — DKIM alignment mode; relaxed is the default and the right choice for most domains
  • aspf=r|s — SPF alignment mode; relaxed is the default

The May 2026 DMARC update (RFC 9989–9991) removed the pct, rf, and ri tags and added np and t. Receivers now ignore pct=; use t=y instead for a staged rollout.

✓ Production DMARC record — full enforcement

DNS TXT Record — _dmarc.example.comv=DMARC1; p=reject; sp=reject; np=reject; rua=mailto:

⚠ Never start with p=reject

Begin with p=none to monitor for 2–4 weeks. Analyze DMARC reports to identify all legitimate email sources. Fix any authentication issues before moving to p=quarantine. Only implement p=reject after achieving 95%+ pass rates and confirming all legitimate senders are authenticated. Jumping to p=reject without monitoring first can block legitimate outbound mail.

Bulk sender requirements

Gmail and Yahoo (since February 2024) and Outlook.com (since May 5, 2025) require domains sending more than 5,000 messages a day to their users to pass SPF and DKIM, publish a DMARC record (p=none at minimum) aligned with the From domain, and include a working unsubscribe for marketing mail. Non-compliant mail is filtered or rejected.

✓ Parked domains — domains that never send email

DNS records — parked-example.com
; SPF: nothing is authorized to send
parked-example.com.          TXT  "v=spf1 -all"
; DMARC: reject everything, including non-existent subdomains
_dmarc.parked-example.com.   TXT  "v=DMARC1; p=reject; sp=reject; np=reject"
; Null MX: the domain does not accept mail
parked-example.com.          MX   0 .

Beyond sender authentication: MTA-STS and TLS-RPT

SPF, DKIM, and DMARC prove who sent a message. MTA-STS requires sending servers to use verified TLS when delivering mail to your domain, and TLS-RPT sends you reports when that fails — closing off downgrade and interception attacks on inbound mail.

Why all three protocols are necessary.

SPF, DKIM, and DMARC work together — no single protocol provides complete protection:

  • →SPF alone is vulnerable to forwarding issues and doesn't protect the visible From: header
  • →DKIM alone doesn't prevent a domain from being spoofed by unauthorized parties
  • →DMARC alone requires SPF or DKIM to function — it enforces policy but doesn't authenticate
  • →All three together stop exact-domain spoofing at the policy level — look-alike domains need separate impersonation controls

6-step implementation guide.

Step 01

Audit current email infrastructure

Identify all systems and services that send email on your behalf.

  • Microsoft 365 / Google Workspace (primary)
  • Marketing platforms (HubSpot, Mailchimp, etc.)
  • CRM systems (Salesforce, etc.)
  • Transactional email services (SendGrid, Postmark)
  • Ticketing, support, and monitoring tools

TAAUS performs this audit as part of our email security assessment.

Step 02

Implement SPF

Create and publish your SPF record listing all authorized senders.

  • Start with ~all (SoftFail) for testing
  • Include all authorized mail servers and services
  • Keep under 10 DNS lookups
  • Test with MXToolbox SPF validator
  • Move to -all (HardFail) after validation

Step 03

Configure DKIM

Enable signing in Microsoft 365 Defender or Google Admin Console.

  • Enable DKIM in M365 Defender or Google Admin
  • Use 2048-bit RSA minimum
  • Enable DKIM in third-party sending platforms
  • Configure on all sending subdomains
  • Verify signatures with authentication testers

Step 04

Deploy DMARC in monitor mode

Start with p=none to collect data without enforcement.

  • Create _dmarc.domain.com TXT record
  • Set policy to p=none
  • Configure the rua reporting address (ruf is optional)
  • Use dmarcian or EasyDMARC to parse reports
  • Monitor for 2–4 weeks minimum

TAAUS configures and monitors DMARC reports as part of ongoing managed email security.

Step 05

Analyze reports and fix gaps

Review aggregate reports to identify authentication failures.

  • Identify legitimate senders failing authentication
  • Add missing senders to SPF record
  • Enable DKIM on platforms missing it
  • Document all authorized email sources
  • Monitor for spoofing attempts against your domain

Step 06

Enforce DMARC policy

Gradually increase enforcement once authentication is validated.

  • Move to p=quarantine when >90% pass rate achieved
  • Monitor for legitimate email in spam folders
  • Move to p=reject when >95% pass rate confirmed
  • Keep relaxed alignment unless every sender uses your exact domain
  • Add np=reject and lock down parked domains
  • Continue monitoring reports indefinitely

Reaching p=reject is the goal. Most organizations never get there without active management.

Testing and validation tools

  • MXToolbox — SPF, DKIM, and DMARC record validation and lookup
  • dmarcian / EasyDMARC — DMARC report parsing and visualization
  • mail-tester.com — Send test emails to verify authentication
  • Microsoft 365 Defender — Built-in DKIM management and email authentication reporting
  • Google Postmaster Tools — Monitor Gmail delivery and domain reputation
  • Proofpoint — Email security gateway with authentication enforcement, impersonation protection, and continuity

Email authentication implementation checklist.

Track your rollout progress. Click each item to mark it complete.

TAAUS Email Security

Let us validate and implement your email authentication.

TAAUS implements and validates SPF, DKIM, and DMARC configurations across Microsoft 365, Google Workspace, and third-party platforms — ensuring proper alignment, enforcement, and ongoing report monitoring.

Full email sender audit across all platforms
SPF, DKIM, and DMARC configuration and validation
Microsoft 365 Defender and Google Workspace setup
DMARC report monitoring and enforcement progression
Third-party platform authentication (Salesforce, HubSpot, etc.)
Documentation for cyber insurance applications

TAAUS Cybersecurity Framework

Six guides. A complete cybersecurity operating model.

From technical controls through architecture, delivery, compliance, response, and executive risk — each guide covers a distinct layer of your security posture.