SPF (Sender Policy Framework)
What is SPF (Sender Policy Framework): a TXT-type DNS record that authorizes which servers can send emails on behalf of your domain.
What is SPF (Sender Policy Framework)?
SPF (Sender Policy Framework) It is an email authentication protocol based on a TXT-type DNS record that explicitly states which servers and IP addresses are authorized to send messages on behalf of your domain. When a provider such as Gmail or Outlook receives an email from you, it checks that record to verify whether the source is legitimate or a spoof.
Why Your Work Emails End Up in Spam Without SPF
By design, the SMTP email protocol did not verify whether the sender of a message actually controlled the sender's domain. This allowed scammers to send fake emails impersonating any company.
Spam filters are strict these days: if a distributor in Bogotá sends electronic quotes and invoices from its domain without a valid SPF record—or if it added an email marketing platform without authorizing it there—the receiving servers flag those messages as suspicious and send them directly to the spam folder.
How an SPF Record Is Structured in Your DNS Zone
The SPF record is published as plain text within your DNS system following a specific syntax:
- Version (
v=spf1): It identifies the TXT record as a valid SPF policy; you should only have one SPF record per domain. - Authorized mechanisms: tags such as
ip4:oinclude:They list your mail server and external services such as newsletter tools or CRM systems. - Final grade (
~allo-all): specifies how to handle servers that are not included;~allindicates a minor error and-allIt explicitly rejects unauthorized issuers. - Limit of 10 DNS queries: exceed ten nested searches using multiple
includeinvalidates the entire record.
Common Errors and How to Supplement Your Authentication
The most common mistake made by small and medium-sized businesses is creating two TXT records with v=spf1 when connecting a new service, instead of merging them into a single line. This causes a persistent validation error.
SPF validates the sending server, but it must work in conjunction with DKIM to cryptographically sign each message. Follow this step-by-step tutorial on How to Set Up SPF and DKIM for Your Corporate Email and improve your deliverability.
More terms related to Cybersecurity
Phishing
What Is Phishing: A scam technique that uses fake emails or websites impersonating trusted brands to obtain passwords or banking information.
DKIM (DomainKeys Identified Mail)
What is DKIM (DomainKeys Identified Mail)? A cryptographic signature on outgoing emails that verifies domain authenticity and reduces spam.
DMARC
What is DMARC: a DNS policy that combines SPF and DKIM to tell receiving servers how to handle suspicious emails from your domain.
Data Encryption
What Is Data Encryption: A mathematical process that encodes sensitive information to prevent it from being read without the authorized key.
DDoS (Distributed Denial-of-Service Attack)
What is a DDoS attack: a coordinated attempt to overwhelm a server with massive amounts of traffic from multiple devices in order to take a website offline.
Malware
What Is Malware: malicious software or code designed to infiltrate websites, servers, or computers and steal or damage information.
SSL (Secure Sockets Layer)
What is SSL (Secure Sockets Layer): a cryptographic protocol that encrypts communication between the visitor's browser and your web server.
Firewall
What is a firewall: a system that monitors and filters incoming and outgoing network traffic according to defined security rules.
Resources and Support
We offer a variety of resources to help you become familiar with and understand your resources and opportunities, and to enjoy the benefits of having a digital infrastructure. In addition, we have social programs to support startups and projects with exclusive benefits.
