Back to all articles
Deliverability March 25, 2026 9 min read

Why Your Emails Land in Spam: The Ultimate SPF, DKIM & DMARC Setup Guide (2026)

A practical engineering guide to getting 99.8%+ inbox placement. Learn how Google and Yahoo's strict DMARC enforcement works and how to fix email deliverability.

Umar Farooq

Umar Farooq

Founder & Infrastructure Lead

Sendport Deliverability Team

Why Do Emails Go to Spam in 2026?

Email deliverability has undergone a massive transformation. Google Gmail, Yahoo, Microsoft 365, and Apple Mail now immediately reject or quarantine messages from domains that do not have **100% cryptographic authentication alignment**.

If your emails are landing in the Spam or Promotions folder, 90% of the time it is due to one of three missing DNS records: 1. **Missing or Incomplete SPF (Sender Policy Framework)** 2. **Unsigned or 1024-bit DKIM (DomainKeys Identified Mail)** 3. **Missing DMARC Policy (Domain-based Message Authentication, Reporting & Conformance)**

Let's fix all three in under 10 minutes.

---

Step 1: SPF (Sender Policy Framework)

SPF tells receiving mail servers which IP addresses are authorized to send email on behalf of your domain name.

The Correct Record: Add a **TXT** record at your root domain (`@` or `yourdomain.com`):

| Record Type | Host | Value | TTL | | :--- | :--- | :--- | :--- | | **TXT** | `@` | `v=spf1 include:mail.getsendport.com ~all` | 3600 |

> **Crucial Rule**: Never create more than one SPF record on a single domain. If you already have Google Workspace, combine them: > `v=spf1 include:_spf.google.com include:mail.getsendport.com ~all`

---

Step 2: 2048-Bit RSA DKIM

DKIM attaches a cryptographic digital signature to every outbound email header. When the recipient server receives the email, it pulls your public key from DNS to verify that the message was not tampered with during transit.

In Sendport, go to **Dashboard → Domains → Add Domain**. Sendport will generate a 2048-bit key pair.

Add the TXT record to your DNS (e.g. Cloudflare, Namecheap, GoDaddy):

| Record Type | Host | Value | | :--- | :--- | :--- | | **TXT** | `sendport._domainkey.yourdomain.com` | `v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...` |

---

Step 3: DMARC Policy

DMARC is the policy rulebook. It tells Gmail and Yahoo what to do if an incoming email fails SPF or DKIM.

Without DMARC, Gmail flags your domain as untrusted.

| Record Type | Host | Value | | :--- | :--- | :--- | | **TXT** | `_dmarc.yourdomain.com` | `v=DMARC1; p=none; rua=mailto:dmarc@getsendport.com; sp=none; aspf=r;` |

What the tags mean: - `v=DMARC1`: DMARC Version 1 protocol. - `p=none`: Monitor mode (safe for setup without bouncing legit mail). Once verified, upgrade to `p=quarantine` or `p=reject`. - `rua`: Aggregate XML report destination to track spoofing attempts.

---

Summary Checklist for 99.8% Inbox Placement

- [x] SPF record present with zero syntax errors. - [x] RSA-2048 DKIM key published on selector `sendport._domainkey`. - [x] DMARC record added on `_dmarc`. - [x] MX records aligned for inbound bounces. - [x] One-click unsubscribe header included in all non-transactional dispatches.

#Deliverability#DKIM#SPF#DMARC#DNS Setup
High-Throughput Dispatch Engine

Start sending with 99.8% inbox placement today

100 free emails every single day. No credit card required. Instant RSA-2048 DKIM setup.

Create Free Account →