Home / Core Health / Set up SPF record to authenticate your sending domain
Email Deliverability · Scan Check Guide

Set up SPF record to authenticate your sending domain

20 min Impact: high Effort: medium ✓ Scan-verified — no manual checkbox

SPF (Sender Policy Framework) is a DNS record listing exactly which mail servers are authorized to send email on behalf of your domain — without it, anyone can send email that claims to be from you, and receiving mail servers have no way to tell the difference.

SPF tells mail servers which servers are authorized to send email from your domain. Without it, your emails land in spam AND anyone can spoof your domain to phish your customers.

The full picture

An SPF (Sender Policy Framework) record addresses a fundamental vulnerability in how email was originally designed — the core email protocol includes no built-in mechanism verifying that a message claiming to be from your domain actually originated from systems you control, meaning anyone can technically send email claiming to be from your domain without this record in place.

SPF closes this gap by publishing a DNS record explicitly listing which mail servers are authorized to send email on behalf of your domain — receiving mail servers can check incoming mail against this record, and messages claiming to be from your domain but originating from unlisted servers can be flagged as likely fraudulent or rejected outright.

Without a genuine, accurate SPF record, your domain remains vulnerable to email spoofing — attackers can send phishing or fraudulent messages that appear to come from your legitimate domain, potentially damaging your reputation and, more seriously, potentially deceiving your actual customers or contacts into trusting fraudulent communications.

The accuracy of this record deserves genuine, careful attention — an SPF record that's too restrictive can cause your own legitimate email to be incorrectly flagged or rejected by receiving servers, while one that's too permissive fails to provide meaningful spoofing protection, making accurate, complete listing of your actual legitimate sending sources essential to this record's genuine effectiveness.

How to fix it

  1. 1
    List every service that legitimately sends email as your domain
    Your main mail provider, plus any marketing tools, transactional email services, or CRMs that send on your behalf.
  2. 2
    Build the SPF record
    v=spf1 include:_spf.yourmailprovider.com include:othertool.com ~all — each legitimate sender gets an include, ending with ~all (soft fail) or -all (hard fail).
  3. 3
    Add it as a TXT record
    Add this exact string as a TXT record at your domain's root in your DNS settings.
  4. 4
    Verify it validates
    Use an SPF checker to confirm the record is syntactically correct — a broken SPF record can be worse than none at all.

Common mistakes

How you'll know it's done

A valid SPF record lists every legitimate sending service and ends with an appropriate all mechanism.

Tools that help

H.I.V.E. checks this automatically

Fix it, then re-scan — the check confirms itself. No manual checkbox, the scan is the truth.

Run this check in H.I.V.E. →