SPF email record

How an SPF record tells mail servers who may send email for your domain, and how to write one without breaking the 10-lookup limit.

What AuditX checks

The scan looks up the TXT records on your domain and checks that an SPF record, one starting with v=spf1, is published.

Why it matters

SPF lists the servers allowed to send email as your domain. Without it, receiving servers cannot check whether mail that claims to come from you was sent by an allowed server, so forged mail in your name is easier to deliver.

Gmail and Yahoo require SPF or DKIM from every sender, and both from bulk senders, so mail from a domain without SPF is more likely to land in spam.

How to fix it

  1. Find every service that sends mail as your domain: your mailbox provider, newsletter tool, web shop, invoicing software.
  2. Publish one TXT record on the domain that includes each of them, and end it with ~all or -all. Two separate v=spf1 records make both invalid.
  3. Keep the total of include, a, mx and redirect lookups at ten or fewer, which is the limit in the SPF standard.
  4. A domain that sends no email at all should publish v=spf1 -all, so nobody can send as it.
v=spf1 include:_spf.google.com include:sendgrid.net ~all

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.