Improving Email Deliverability: Preventing Blocks & Spam Placement

How Email Delivery Works

When you send an email, your mail server uses SMTP to hand off the message to the recipient’s mail server. That server checks:

Common Delivery Issues

SPF (Sender Policy Framework)

SPF lets you declare which mail servers may send on behalf of your domain. Add a TXT record in DNS like:

v=spf1 ip4:1.2.1.2/24 include:mail.example.com -all

DKIM (DomainKeys Identified Mail)

DKIM adds a cryptographic signature to outgoing messages. Steps:

  1. Generate an RSA key pair on your mail server.
  2. Publish the public key in a TXT record (e.g., default._domainkey.yourdomain.com):
  3. v=DKIM1; k=rsa; p=PUBLIC_KEY_STRING
  4. Configure your MTA (Postfix, Exim, etc.) to sign outgoing mail with the private key.

DMARC (Domain-based Message Authentication)

DMARC builds on SPF and DKIM to give you control and reporting. Create a TXT record at _dmarc.yourdomain.com:

v=DMARC1; p=quarantine; rua=mailto:reports@yourdomain.com; pct=100

Best Practices

Additional Tips