Email Delivery Troubleshooting Guide

Comprehensive troubleshooting guide for email delivery issues. Learn how to diagnose and fix authentication problems, spam folder placement, and deliverability issues.

Email Delivery Troubleshooting Guide

When emails aren't reaching the inbox, authentication and deliverability issues are often the cause. This guide helps you diagnose and fix common email delivery problems.

Quick Diagnostic Checklist

Before diving deep, check these basics:

  • SPF record exists and is valid
  • DKIM is enabled and signing correctly
  • DMARC record is published
  • DMARC is passing (not failing)
  • Reverse DNS (PTR) records configured
  • Spam complaint rate below 0.3%
  • No blacklist entries
  • TLS encryption enabled

Common Delivery Issues

Issue 1: Emails Going to Spam Folder

Symptoms:

  • Emails consistently land in spam
  • Some recipients receive, others don't
  • Delivery is inconsistent

Diagnosis Steps:

  1. Check Authentication:

    # Check SPF
    dig TXT yourdomain.com | grep "v=spf1"
     
    # Check DKIM
    dig TXT default._domainkey.yourdomain.com
     
    # Check DMARC
    dig TXT _dmarc.yourdomain.com
  2. Send Test Email and Check Headers:

    • Look for Authentication-Results header
    • Verify SPF: pass
    • Verify DKIM: pass
    • Verify DMARC: pass
  3. Check Spam Score:

    • Use Mail-Tester.com
    • Send test email
    • Review spam score and issues

Common Causes:

  • ❌ Missing or invalid SPF record
  • ❌ DKIM not signing
  • ❌ DMARC failing
  • ❌ High spam complaint rate
  • ❌ Poor sender reputation
  • ❌ Blacklisted IPs

Solutions:

  1. Fix Authentication:

  2. Improve Reputation:

    • Only send to opted-in subscribers
    • Improve email content
    • Increase engagement rates
    • Remove inactive subscribers
  3. Check Blacklists:

    • Use MXToolbox blacklist checker
    • Request removal if listed
    • Investigate why listed

Issue 2: Authentication Failures

Symptoms:

  • SPF failures in DMARC reports
  • DKIM failures in headers
  • DMARC not passing

SPF Failures:

Diagnosis:

# Check SPF record
dig TXT yourdomain.com
 
# Test SPF from specific IP
spfquery -ip=203.0.113.100 yourdomain.com

Common Causes:

  • Sending IP not in SPF record
  • Missing service in SPF includes
  • SPF record syntax errors
  • Too many DNS lookups (>10)

Solutions:

  1. Identify failing source from DMARC reports
  2. Add missing service to SPF:
    v=spf1 include:_spf.google.com include:sendgrid.net -all
  3. Add IP address if needed:
    v=spf1 include:_spf.google.com ip4:203.0.113.100 -all
  4. Fix syntax errors
  5. Reduce DNS lookups if over limit

DKIM Failures:

Diagnosis:

# Check DKIM record
dig TXT default._domainkey.yourdomain.com
 
# Send test email and check headers
# Look for: dkim=fail (reason=...)

Common Causes:

  • DKIM not enabled on mail server
  • Public key not published in DNS
  • Selector mismatch
  • Key expired or rotated
  • Signature tampering

Solutions:

  1. Enable DKIM on mail server
  2. Publish public key in DNS
  3. Verify selector matches DNS record name
  4. Check key hasn't expired
  5. Regenerate keys if needed

DMARC Failures:

Diagnosis:

  • Check DMARC reports in MailSentinel
  • Review failure reasons
  • Check alignment issues

Common Causes:

  • SPF alignment failure
  • DKIM alignment failure
  • Both SPF and DKIM failing
  • From: domain mismatch

Solutions:

  1. Fix SPF Alignment:

    • Ensure envelope sender matches From: domain
    • Use same domain or subdomain
  2. Fix DKIM Alignment:

    • Ensure DKIM signing domain matches From: domain
    • Configure DKIM to sign with correct domain
  3. Fix Both Failures:

    • Ensure at least one (SPF or DKIM) passes and aligns
    • Fix underlying SPF/DKIM issues first

Issue 3: Emails Bouncing

Symptoms:

  • Bounce messages received
  • Emails rejected by receiving server
  • 5xx error codes

Common Bounce Reasons:

550 5.7.1 - SPF Failure:

550 5.7.1 Message rejected due to SPF failure

Solution:

  • Fix SPF record
  • Add missing sending IPs
  • Verify SPF record syntax

550 5.7.1 - DMARC Failure:

550 5.7.1 Message rejected due to DMARC policy

Solution:

  • Fix SPF/DKIM alignment
  • Ensure DMARC passes
  • Check DMARC policy (may be too strict)

550 5.7.26 - Authentication Required:

550 5.7.26 This message does not pass authentication checks

Solution:

  • Set up SPF and DKIM
  • Configure DMARC
  • Ensure authentication passes

554 5.7.1 - Blacklisted:

554 5.7.1 Sender IP is blacklisted

Solution:

  • Check blacklist status
  • Request removal
  • Investigate why listed

Issue 4: Inconsistent Delivery

Symptoms:

  • Some emails delivered, others not
  • Delivery varies by recipient
  • Some providers accept, others reject

Diagnosis:

  1. Check Provider-Specific Issues:

    • Gmail: Check Postmaster Tools
    • Outlook: Check SNDS
    • Yahoo: Check Sender Hub
  2. Review DMARC Reports:

    • Check which providers are failing
    • Identify patterns
    • Review failure reasons
  3. Test Across Providers:

    • Send to Gmail, Outlook, Yahoo
    • Check delivery to each
    • Compare results

Common Causes:

  • Provider-specific reputation issues
  • Different authentication requirements
  • Provider-specific filtering
  • Volume-based throttling

Solutions:

  1. Fix authentication for all providers
  2. Monitor provider-specific tools
  3. Improve sender reputation
  4. Reduce sending volume if throttled

Issue 5: High Spam Complaint Rate

Symptoms:

  • Spam rate above 0.3%
  • Emails going to spam
  • Reputation declining

Diagnosis:

  1. Check Spam Rates:

    • Google Postmaster Tools
    • Microsoft SNDS
    • Yahoo Sender Hub
  2. Review Email Practices:

    • Opt-in process
    • Email content
    • Unsubscribe process
    • List hygiene

Common Causes:

  • Sending to non-opted-in subscribers
  • Poor email content
  • Hidden unsubscribe links
  • Purchased email lists
  • Low engagement rates

Solutions:

  1. Improve List Quality:

    • Use double opt-in
    • Remove inactive subscribers
    • Don't purchase lists
    • Clean lists regularly
  2. Improve Email Content:

    • Relevant, valuable content
    • Clear sender identification
    • Professional design
    • Avoid spam trigger words
  3. Make Unsubscribe Easy:

    • Prominent unsubscribe link
    • One-click unsubscribe headers
    • Process requests immediately
    • Honor preferences
  4. Increase Engagement:

    • Segment lists
    • Send relevant content
    • Personalize emails
    • Test send times

Diagnostic Tools

MailSentinel

Features:

  • DNS record validation
  • DMARC report analysis
  • Authentication monitoring
  • Alert system

How to Use:

  1. Add domain to MailSentinel
  2. Run DNS scan
  3. Review authentication status
  4. Monitor DMARC reports
  5. Set up alerts

Mail-Tester

Features:

  • Spam score analysis
  • Authentication checks
  • Blacklist checking
  • Header analysis

How to Use:

  1. Go to https://www.mail-tester.com
  2. Send email to provided address
  3. Review spam score
  4. Fix identified issues

MXToolbox

Features:

  • SPF record checker
  • DKIM validator
  • DMARC lookup
  • Blacklist checker

How to Use:

  1. Go to https://mxtoolbox.com
  2. Enter domain
  3. Run checks
  4. Review results

Provider-Specific Tools

Google Postmaster Tools:

Microsoft SNDS:

Yahoo Sender Hub:

Step-by-Step Troubleshooting Process

Step 1: Gather Information

Check Current Status:

  • SPF record exists
  • DKIM enabled
  • DMARC published
  • Authentication passing
  • Spam rates acceptable
  • Not blacklisted

Review DMARC Reports:

  • Check pass/fail rates
  • Identify failing sources
  • Review failure reasons
  • Check alignment issues

Step 2: Identify the Problem

Common Problems:

  1. Authentication not configured
  2. Authentication misconfigured
  3. Alignment issues
  4. High spam rates
  5. Blacklist entries
  6. Reputation issues

Step 3: Fix the Issue

For Authentication Issues:

For Alignment Issues:

  • Fix SPF alignment
  • Fix DKIM alignment
  • Ensure From: domain matches

For Reputation Issues:

  • Improve email practices
  • Reduce spam complaints
  • Increase engagement
  • Clean email lists

Step 4: Verify the Fix

Test After Changes:

  1. Send test emails
  2. Check headers
  3. Verify authentication passes
  4. Monitor DMARC reports
  5. Check spam scores

Wait for Propagation:

  • DNS changes: 15-60 minutes
  • DMARC reports: 24-48 hours
  • Reputation changes: Days to weeks

Step 5: Monitor Ongoing

Regular Monitoring:

  • Check DMARC reports weekly
  • Monitor spam rates
  • Review authentication status
  • Track deliverability trends

Provider-Specific Issues

Gmail Issues

Common Problems:

  • Emails in Promotions tab
  • Authentication failures
  • High spam rate

Solutions:

  • Set up Postmaster Tools
  • Fix authentication
  • Improve engagement
  • Reduce spam complaints

Outlook Issues

Common Problems:

  • Emails in Junk folder
  • Authentication required
  • IP reputation issues

Solutions:

  • Register in SNDS
  • Fix authentication
  • Improve sender reputation
  • Monitor complaint rates

Yahoo Issues

Common Problems:

  • Delivery failures
  • Authentication required
  • Spam filtering

Solutions:

  • Review Sender Hub requirements
  • Fix authentication
  • Follow best practices
  • Monitor deliverability

Prevention Best Practices

1. Proper Authentication Setup

  • Set up SPF correctly
  • Enable DKIM signing
  • Configure DMARC properly
  • Monitor authentication status

2. Maintain Good Reputation

  • Only send to opted-in subscribers
  • Maintain list hygiene
  • Honor unsubscribe requests
  • Monitor spam rates

3. Follow Best Practices

  • Use double opt-in
  • Send relevant content
  • Make unsubscribe easy
  • Segment email lists
  • Test before sending

4. Regular Monitoring

  • Check DMARC reports weekly
  • Monitor spam rates
  • Review authentication status
  • Track deliverability trends

5. Quick Response

  • Fix issues immediately
  • Investigate failures promptly
  • Update configurations as needed
  • Stay compliant with requirements

Getting Help

MailSentinel Support

  • Documentation: Check our guides
  • Dashboard: Review domain status
  • Alerts: Set up notifications
  • Support: Contact support team

Additional Resources

Next Steps

After troubleshooting:

  1. Monitor Authentication - Track ongoing status
  2. Set Up Alerts - Get notified of issues
  3. Review Best Practices - Improve deliverability
  4. Progressive DMARC Enforcement - Move toward full protection