EmailJanuary 31, 2026 9 min read

How to Test Email Deliverability and DMARC Configuration

Learn how to test your email deliverability and verify DMARC, SPF, and DKIM configuration. Ensure your emails reach the inbox and not the spam folder.

WizStatus Team
Author

Poor email deliverability means your important messages end up in spam. Here's how to test and monitor your email authentication (SPF, DKIM, DMARC) to ensure inbox delivery.

Understanding Email Authentication

The Three Pillars

ProtocolPurposeWhat It Does
SPFSender authorizationLists servers allowed to send email for your domain
DKIMMessage integrityCryptographically signs emails
DMARCPolicy enforcementTells receivers what to do with failed checks

How They Work Together

Email sent from your domain
        ↓
Receiving server checks SPF → Pass/Fail
        ↓
Receiving server checks DKIM → Pass/Fail
        ↓
DMARC policy applied based on results
        ↓
Email delivered, quarantined, or rejected

Testing Your Configuration

Step 1: Check SPF Record

# Query SPF record
dig TXT example.com | grep spf

# Or use nslookup
nslookup -type=txt example.com

Expected result:

v=spf1 include:_spf.google.com include:sendgrid.net -all

Step 2: Check DKIM Record

# Replace 'selector' with your DKIM selector
dig TXT selector._domainkey.example.com

Finding your selector:

  • Check email headers for DKIM-Signature: ... s=selector
  • Common selectors: google, default, s1, mandrill

Step 3: Check DMARC Record

dig TXT _dmarc.example.com

Expected result:

v=DMARC1; p=reject; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com; pct=100

Online Testing Tools

Comprehensive Tests

Send a test email to these services:

mail-tester.com:

  1. Visit mail-tester.com
  2. Copy the unique email address
  3. Send an email from your domain
  4. Get a score out of 10

MXToolbox:

  • SPF Checker
  • DKIM Validator
  • DMARC Inspector
  • Email health report

Authentication Headers Check

Send yourself an email and check headers:

Gmail:

  1. Open the email
  2. Click three dots → "Show original"
  3. Look for authentication results
ARC-Authentication-Results:
  dkim=pass header.d=example.com
  spf=pass smtp.mailfrom=example.com
  dmarc=pass action=none header.from=example.com

DMARC Reports Setup

Configure Report Recipients

_dmarc.example.com. IN TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com; ruf=mailto:dmarc-forensic@example.com"

Report Types

ReportPurposeFrequency
RUA (Aggregate)Summary statisticsDaily
RUF (Forensic)Individual failuresReal-time

Analyzing Reports

DMARC reports are XML files. Use a parser:

import xml.etree.ElementTree as ET

def parse_dmarc_report(xml_file):
    tree = ET.parse(xml_file)
    root = tree.getroot()

    for record in root.findall('.//record'):
        source_ip = record.find('.//source_ip').text
        spf = record.find('.//spf').text
        dkim = record.find('.//dkim').text

        print(f"IP: {source_ip}, SPF: {spf}, DKIM: {dkim}")

Common Issues and Fixes

SPF Too Many Lookups

SPF has a 10 DNS lookup limit.

Fix:

# Use ip4/ip6 instead of includes where possible
v=spf1 ip4:192.168.1.0/24 include:_spf.google.com -all

DKIM Alignment Failure

Domain in DKIM signature doesn't match From domain.

Fix:

  • Configure your email service to sign with your domain
  • Check DKIM selector configuration

DMARC Not Enforcing

Starting with p=none is fine for monitoring, but escalate:

Week 1-4: p=none (monitor only)
Week 5-8: p=quarantine; pct=25
Week 9-12: p=quarantine; pct=100
Week 13+: p=reject

Monitoring Deliverability

Key Metrics to Track

MetricTargetAlert Threshold
Inbox rate>95%<90%
Bounce rate<2%>5%
Spam complaints<0.1%>0.3%
Authentication pass100%<99%

Set Up Continuous Monitoring

  1. DMARC report analysis - Daily automated parsing
  2. DNS record monitoring - Alert on changes
  3. Blacklist monitoring - Check spam blocklists
  4. Seed testing - Regular test emails to seed accounts

Email Deliverability Checklist

  • SPF record configured and valid
  • DKIM signing enabled
  • DKIM record published
  • DMARC record published
  • DMARC reports configured
  • Test email scored 9+/10
  • Authentication passing in headers
  • Not on any blacklists
  • Monitoring configured
  • Team trained on email practices
WizStatus monitors your SPF, DKIM, and DMARC records continuously. Get alerted instantly if authentication fails or records change unexpectedly.

Related Articles

BIMI Implementation Guide: Display Your Logo in Inboxes
Tutorials

BIMI Implementation Guide: Display Your Logo in Inboxes

Implement BIMI to show your brand logo in email clients. Requirements, VMC certificates, and setup steps for visual email authentication.
11 min read
Cold Email Deliverability: Avoid Spam Filters in 2026
Best Practices

Cold Email Deliverability: Avoid Spam Filters in 2026

Improve cold email deliverability with proven strategies. Domain warmup, authentication, content tips, and sending practices that work.
12 min read
DKIM Configuration Tutorial: Email Signing Setup Guide
Tutorials

DKIM Configuration Tutorial: Email Signing Setup Guide

Complete DKIM setup tutorial with key generation, DNS configuration, and verification steps. Ensure email integrity with cryptographic signatures.
12 min read

Start monitoring your infrastructure today

Put these insights into practice with WizStatus monitoring.

Try WizStatus Free