Insights / Web Design / mastering-spf-dmarc-email-authentication

Mastering Email Authentication: A Practical Guide to SPF and DMARC Setup

Email authentication can feel like alphabet soup—SPF, DKIM, DMARC... It's enough to make your head spin. But if you want your emails to reach inboxes (and not get…

Email Authentication, SPF, dkim, dmarcEmail authentication can feel like alphabet soup—SPF, DKIM, DMARC… It’s enough to make your head spin. But if you want your emails to reach inboxes (and not get flagged as spam or vanish into the void), it’s essential to get these records right. Failing to set them up properly can lead to poor deliverability, security risks, or worse—your domain being spoofed or worse with enough violations, balcklisted.

So let’s demystify it.

SPF and DMARC records are standard parts of ensuring consistent email delivery. Think of them as the bouncers of your email club, verifying who’s legit and who’s not. Let’s dive into what they are and how to set them up with popular email services.

First, the basics:

  • SPF (Sender Policy Framework): This is like a VIP list for your domain, specifying which mail servers are allowed to send emails on your behalf. Setting up an SPF record helps prevent spammers from impersonating you.
  • DMARC (Domain-based Message Authentication, Reporting, and Conformance): Building on SPF and DKIM (another email authentication method), DMARC tells receiving servers what to do if an email fails authentication—whether to accept it, quarantine it, or reject it outright. It also provides reports on email authentication status.

Email Service Configuration Cheat Sheet

1. Mailchimp

SPF: No DNS changes are needed. Mailchimp handles SPF internally.
DKIM:

  • Log in to Mailchimp
  • Navigate to: Website > Domains
  • Click Authenticate next to your domain
  • Add the two CNAME records shown to your DNS host
    DMARC:
  • After authenticating DKIM, use a DMARC record generator
  • Add a TXT record: _dmarc.yourdomain.com with the generated policy string

2. Zoho CRM

SPF:

  • Existing SPF? Add include:zoho.in (or zoho.eu for EU users)
  • No SPF? Add a new TXT record:
    v=spf1 include:zoho.in -all DKIM:
  • Navigate to Email Authentication in Zoho CRM
  • Generate a DKIM key and publish the TXT record to your DNS
    DMARC:
  • After SPF and DKIM, create a TXT record:
    Name: _dmarc.yourdomain.com
    Value: v=DMARC1; p=none; rua=mailto:you@example.com

3. Outlook (Microsoft 365)

SPF:

  • Add or update your SPF TXT record:
    v=spf1 include:spf.protection.outlook.com -all DKIM:
  • Visit Microsoft 365 Defender
  • Go to Email Authentication Settings
  • Enable DKIM and follow prompts to publish the two CNAME records
    DMARC:
  • After enabling SPF & DKIM, create a DMARC record:
    Name: _dmarc.yourdomain.com
    Value: v=DMARC1; p=quarantine; rua=mailto:you@example.com

4. Mailgun

SPF:

  • Already have SPF? Add: include:mailgun.org
  • No SPF? Add:
    v=spf1 include:mailgun.org ~all DKIM:
  • Go to Domains > Your Domain in Mailgun
  • Copy DKIM record under DNS settings
  • Publish the DKIM TXT record in your DNS DMARC:
  • After SPF and DKIM, add:
    v=DMARC1; p=reject; rua=mailto:dmarc@yourdomain.com

5. Constant Contact

SPF & DKIM:

  • Log in to Constant Contact
  • Navigate to Settings > Company Email Settings
  • Follow their guide to publish the SPF and DKIM records to your DNS DMARC:
  • Generate a record:
    v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@yourdomain.com; fo=1
  • Publish a TXT record:
    Name: _dmarc.yourdomain.com
    Value: [your policy string]
  • Review reports and refine policies as needed
    ???? Constant Contact Domain Authentication Help

How to Check That It’s All Working

After setting up SPF, DKIM, and DMARC for any of these services, you can verify that everything is functioning correctly using these free tools:

You can see which records are passing or failing by sending a test email to the tool or plugging in your domain.

Some Final Thoughts (and Common Pitfalls)

  • Avoid Multiple SPF Records:
    Your domain can only have one SPF TXT record. If you use multiple services (e.g., Mailchimp and Zoho), combine them like this:
    v=spf1 include:zoho.in include:mailgun.org include:spf.protection.outlook.com ~all
  • Prioritize Alignment:
    DMARC works best when SPF and DKIM are both aligned. This means the domain in your “From” address should match the domain authorized by SPF and DKIM.
  • Give It Time:
    DNS changes can take a few hours to propagate. Be patient when testing.
  • Monitor DMARC Reports:
    Tools like dmarcian or Postmark can help you parse and visualize the data from DMARC reports, making it easier to spot abuse.

TL;DR

Setting up SPF, DKIM, and DMARC may seem like a technical headache—but it’s 100% worth it. It keeps your emails out of spam folders, protects your domain from impersonation, and gives your customers confidence that what they’re receiving is from you.

With a little effort (and maybe a good DNS admin or partner), you’ll be well on your way to bulletproof email delivery.

Need Help? Let’s Do It Right Together

At Four Eyes, we’ve helped businesses of all shapes and sizes stop pulling their hair out over email authentication. Whether you’re on Zoho, Mailchimp, Outlook, or juggling five platforms, we’ll make sense of the madness and get your records correctly.

Let’s connect and make your emails land precisely where they should—in the inbox.

More on Google
LET'S TALK CHARLOTTE, NC · REMOTE NATIONWIDE

Let's build something worth keeping.

Most of our best engagements start when a previous build did not deliver. That is a comfortable conversation here, and we will write a plan around it.

IN PRACTICE SINCE
1998

Founded in DUMBO, Brooklyn. Practicing in Charlotte, NC. Twenty-eight years and counting.