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.