How to Configure SPF, DKIM, and DMARC for Email Deliverability

How to Configure SPF, DKIM, and DMARC for Email Deliverability

If your emails are constantly landing in the spam folder, chances are your domain authentication isn’t properly set up. In 2025, email providers like Gmail, Outlook, and Yahoo rely heavily on SPF, DKIM, and DMARC records to decide if your message is genuine or suspicious.

This guide will walk you through exactly how to configure SPF, DKIM, and DMARC, even if you’re not a technical expert.


🔍 What Are SPF, DKIM, and DMARC?

ProtocolPurposeWhere It’s Set
SPF (Sender Policy Framework)Verifies who’s allowed to send email on your domain’s behalfDNS TXT record
DKIM (DomainKeys Identified Mail)Adds a digital signature to email headersDNS TXT record & email server
DMARC (Domain-based Message Authentication, Reporting & Conformance)Tells mailbox providers what to do if SPF/DKIM failDNS TXT record

✅ Step 1: Set Up SPF Record

SPF allows only authorized servers to send emails using your domain.

How to Set Up:

  1. Login to your domain DNS panel (GoDaddy, Cloudflare, Namecheap, etc.).
  2. Create or edit a TXT record.
  3. Enter the SPF syntax:
txtCopyEditv=spf1 include:your-email-provider.com ~all

✅ Example for Inboos:

txtCopyEditv=spf1 include:smtp.inboos.com ~all

🔹 ~all = Soft fail (mark suspicious, don’t block)
🔹 -all = Hard fail (reject unauthorized sources)
🔹 ?all = Neutral (no policy)

Tips:

  • You can only have one SPF record per domain.
  • Combine services if using more than one provider.

✅ Step 2: Configure DKIM Record

DKIM signs each outgoing message with a private key and lets receivers verify it with a public key.

How to Set Up:

  1. Inside your email provider or SMTP platform (like Inboos), generate DKIM keys.
  2. You’ll receive:
    • Selector (e.g., default)
    • Public Key (long string)
  3. Add a TXT record to your domain:
TypeHost/NameValue
TXTdefault._domainkey.yourdomain.comv=DKIM1; k=rsa; p=MIGf...

✅ Example:

txtCopyEditv=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDh...

Tips:

  • TTL can be left default (usually 3600 seconds).
  • Some providers offer auto DKIM configuration via CNAME instead of TXT.

✅ Step 3: Publish DMARC Record

DMARC tells receivers how to handle unauthenticated mail and lets you receive reports.

How to Set Up:

  1. Add a new TXT record in your DNS settings.
  2. Use the following format:
txtCopyEditv=DMARC1; p=quarantine; rua=mailto:reports@yourdomain.com; ruf=mailto:forensics@yourdomain.com; fo=1

✅ Breakdown:

  • p= = policy: none, quarantine, or reject
  • rua= = email for aggregate reports
  • ruf= = email for forensic reports
  • fo=1 = send a report if either SPF or DKIM fails

Example:

TypeNameValue
TXT_dmarc.yourdomain.comv=DMARC1; p=quarantine; rua=mailto:reports@yourdomain.com; fo=1

📊 Table: Sample DNS Setup for Inboos Users

Record TypeHostValuePurpose
SPF@v=spf1 include:smtp.inboos.com ~allAllow Inboos to send
DKIMinboos._domainkeyv=DKIM1; k=rsa; p=MIGf...Authenticate Inboos emails
DMARC_dmarcv=DMARC1; p=quarantine; rua=mailto:you@domain.comProtect domain reputation

🚨 Common Mistakes to Avoid

MistakeProblemFix
Multiple SPF recordsInvalidates all SPFCombine into one record
Missing DKIM recordFails authenticationEnable in sending platform
No DMARC policyNo protectionSet p=none to start
Wrong syntaxDNS failsUse online validation tools

🛠 Recommended Tools

  • MXToolbox – DNS record checker
  • Google Postmaster Tools – Monitor deliverability
  • DMARC Analyzer – Visualize DMARC reports
  • Inboos Dashboard – Built-in record tester & alerts

💼 Why You Need This Setup in 2025

Mailbox providers now require domain authentication. Without it, your emails:

  • Will land in spam
  • Get blocked silently
  • Damage your IP/domain reputation
  • Reduce open and click rates

🚀 Need Help? Let Inboos Do It for You

At Inboos, we don’t just provide an email platform — we ensure every email you send is fully authenticated and optimized for inbox delivery.

🔹 Free SPF/DKIM/DMARC Setup
🔹 Real-time DNS status in dashboard
🔹 Auto-warmup and deliverability boosting
🔹 AI-powered domain rotation + IP control
🔹 Built for mass emailing, cold outreach, and transactional APIs

👉 Visit Inboos.com to get started — and stop guessing if your emails land.