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:
-
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 -
Send Test Email and Check Headers:
- Look for
Authentication-Resultsheader - Verify SPF: pass
- Verify DKIM: pass
- Verify DMARC: pass
- Look for
-
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:
-
Fix Authentication:
-
Improve Reputation:
- Only send to opted-in subscribers
- Improve email content
- Increase engagement rates
- Remove inactive subscribers
-
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.comCommon Causes:
- Sending IP not in SPF record
- Missing service in SPF includes
- SPF record syntax errors
- Too many DNS lookups (>10)
Solutions:
- Identify failing source from DMARC reports
- Add missing service to SPF:
v=spf1 include:_spf.google.com include:sendgrid.net -all - Add IP address if needed:
v=spf1 include:_spf.google.com ip4:203.0.113.100 -all - Fix syntax errors
- 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:
- Enable DKIM on mail server
- Publish public key in DNS
- Verify selector matches DNS record name
- Check key hasn't expired
- 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:
-
Fix SPF Alignment:
- Ensure envelope sender matches From: domain
- Use same domain or subdomain
-
Fix DKIM Alignment:
- Ensure DKIM signing domain matches From: domain
- Configure DKIM to sign with correct domain
-
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:
-
Check Provider-Specific Issues:
- Gmail: Check Postmaster Tools
- Outlook: Check SNDS
- Yahoo: Check Sender Hub
-
Review DMARC Reports:
- Check which providers are failing
- Identify patterns
- Review failure reasons
-
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:
- Fix authentication for all providers
- Monitor provider-specific tools
- Improve sender reputation
- Reduce sending volume if throttled
Issue 5: High Spam Complaint Rate
Symptoms:
- Spam rate above 0.3%
- Emails going to spam
- Reputation declining
Diagnosis:
-
Check Spam Rates:
- Google Postmaster Tools
- Microsoft SNDS
- Yahoo Sender Hub
-
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:
-
Improve List Quality:
- Use double opt-in
- Remove inactive subscribers
- Don't purchase lists
- Clean lists regularly
-
Improve Email Content:
- Relevant, valuable content
- Clear sender identification
- Professional design
- Avoid spam trigger words
-
Make Unsubscribe Easy:
- Prominent unsubscribe link
- One-click unsubscribe headers
- Process requests immediately
- Honor preferences
-
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:
- Add domain to MailSentinel
- Run DNS scan
- Review authentication status
- Monitor DMARC reports
- Set up alerts
Mail-Tester
Features:
- Spam score analysis
- Authentication checks
- Blacklist checking
- Header analysis
How to Use:
- Go to https://www.mail-tester.com
- Send email to provided address
- Review spam score
- Fix identified issues
MXToolbox
Features:
- SPF record checker
- DKIM validator
- DMARC lookup
- Blacklist checker
How to Use:
- Go to https://mxtoolbox.com
- Enter domain
- Run checks
- Review results
Provider-Specific Tools
Google Postmaster Tools:
- https://postmaster.google.com
- Spam rate monitoring
- IP reputation
- Domain reputation
Microsoft SNDS:
- https://sendersupport.olc.protection.outlook.com/snds/
- IP reputation
- Complaint rates
- Volume data
Yahoo Sender Hub:
- https://senders.yahooinc.com
- Best practices
- Requirements
- FAQs
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:
- Authentication not configured
- Authentication misconfigured
- Alignment issues
- High spam rates
- Blacklist entries
- 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:
- Send test emails
- Check headers
- Verify authentication passes
- Monitor DMARC reports
- 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
- SPF Setup Guide - Complete SPF configuration
- DKIM Setup Guide - Complete DKIM configuration
- DMARC Setup Guide - Complete DMARC configuration
- Microsoft Requirements - Microsoft compliance
- Google/Yahoo Requirements - Google/Yahoo compliance
Next Steps
After troubleshooting:
- Monitor Authentication - Track ongoing status
- Set Up Alerts - Get notified of issues
- Review Best Practices - Improve deliverability
- Progressive DMARC Enforcement - Move toward full protection