Glossary
SPF Record

What Is an SPF Record?

An SPF (Sender Policy Framework) record is a DNS TXT record that specifies which mail servers are authorized to send email on behalf of your domain. When a receiving server gets a message claiming to be from your domain, it checks your SPF record to verify the sending server is on the authorized list. Messages from unauthorized servers can be flagged, quarantined, or rejected.

How SPF authentication works

When your server sends an email, the receiving server extracts the domain from the MAIL FROM (envelope sender) address and queries DNS for that domain's SPF record. The SPF record contains a list of IP addresses, IP ranges, and included domains that are allowed to send for you.

The receiving server checks whether the sending server's IP appears in that list. If it matches, the SPF check passes. If it does not match, the result is either a soft fail (~all) or a hard fail (-all), depending on your SPF record's policy. Most properly configured domains use -all to indicate that any server not in the list is definitely not authorized.

Why SPF matters for deliverability

Without SPF, anyone can send email that appears to come from your domain. Spammers and phishers exploit this to send malicious messages using your brand, which generates spam complaints and blocks against your domain even though you never sent the messages. SPF prevents this by giving receiving servers a way to verify legitimacy.

SPF is also a prerequisite for DMARC, which combines SPF and DKIM results to provide a complete authentication policy. Major providers like Gmail and Yahoo now require SPF and DMARC for bulk senders. Domains without these records face increasingly aggressive filtering.

SPF in the context of disposable email detection

SPF records can be a signal in disposable email analysis. Legitimate email providers typically have well-configured SPF records that list their mail infrastructure. Some disposable providers have minimal or missing SPF configuration because they are not concerned about outbound reputation — they primarily receive rather than send.

However, SPF alone is not a reliable disposable indicator. Many disposable providers do configure SPF properly, and some legitimate small providers have incomplete setups. SPF is most useful as one data point within a broader domain analysis that includes MX records, domain age, and provider reputation databases.

Frequently asked questions

What happens if I do not have an SPF record?

Without an SPF record, receiving servers cannot verify your authorized senders. Your messages are more likely to be filtered to spam, and your domain is vulnerable to spoofing.

Can I have multiple SPF records?

No. A domain must have exactly one SPF record. Multiple SPF records cause authentication failures. If you need to authorize multiple services, combine them into a single record using include mechanisms.

What does the 10 DNS lookup limit mean?

SPF evaluation allows a maximum of 10 DNS lookups (include, a, mx, redirect mechanisms). Exceeding this limit causes a permanent error (permerror), which means SPF authentication fails for all your mail.

Try It

Check any email address for free

Test whether an email is from a disposable provider instantly, or integrate the check into your application with the free API.

Related terms

DKIM (DomainKeys Identified Mail) is an email authentication method that attaches a cryptographic signature to outgoing messages. The sending server signs specified headers and the message body with a private key, and the corresponding public key is published in the sending domain's DNS. Receiving servers use this public key to verify the signature, confirming the message was sent by an authorized server and was not modified in transit.

Domain reputation is a score that email service providers assign to your sending domain based on your email sending history, bounce rates, spam complaints, engagement patterns, and authentication configuration. It determines whether your messages reach the inbox, land in spam, or get blocked entirely.

Email deliverability is the measure of how successfully your outbound emails reach recipients' inboxes rather than being filtered to spam, bounced, or silently dropped. It depends on sender reputation, authentication, content quality, list hygiene, and the receiving server's filtering policies.

An MX (Mail Exchange) record is a type of DNS record that specifies which mail servers are responsible for accepting email on behalf of a domain. When someone sends an email to user@example.com, the sending server looks up the MX records for example.com to find out where to deliver the message.

Related articles

View all posts
rate limiting as an anti-spam tool

Rate Limiting as an Anti-Spam Tool

A practical guide to using rate limiting for anti-spam defense across outbound email, account creation, and disposable email abuse patterns.