All Collections
Email Deliverability
🛡️SPF What, Why, and How to Set it up?
🛡️SPF What, Why, and How to Set it up?

What is SPF, Why SPF, How to Setup SPF, and How to Check if SPF is verified. It authorizes servers to send emails on your domain's behalf.

Naitik Chavda avatar
Written by Naitik Chavda
Updated over a week ago

Hello there, Saleshandy users! 👋


Firstly, the SPF record is part of your domain's DNS settings. You can find it in your domain provider's dashboard, whether you're using Google Domains, GoDaddy, Namecheap, or any other provider.

So, let's dive in and discover how setting up SPF records can get the best results for your campaigns, increasing the chances of your email reaching the inbox! 📧And don't fret; we're here to guide you through the process.

In this article, you'll find What SPF is, Why it is required, plus How-to-tutorials to set up DKIM and verify DKIM records.

Let's get started! 🚀

🛡️ SPF (Sender Policy Framework)

What is SPF?

SPF is like a superhero cape for your email. 🦸‍♂️ It's an email authentication protocol that lets domain owners say, "Hey, these are the trusted servers allowed to send emails on my behalf!" It's like a VIP list for email servers, ensuring that only the authorized ones get access to the email party. 💌

Why SPF?

SPF 🔒acts as the lock, specifying which authorized servers can send emails on your domain's behalf. Along with DKIM, it forms a robust defense against unauthorized email activity. 🔐✉️

When someone receives an email from your domain, their email server does a quick SPF check. It looks up your SPF record, which is like a secret decoder ring for email authenticity. 🕵️‍♂️ If the sending server's IP address matches one of the authorized servers in your SPF record, hooray! Your email gets a thumbs-up and is considered legit. But if an imposter tries to crash the party with an unauthorized server, SPF is there to block them at the door. 🚫

Hackers are constantly exploiting vulnerabilities in phishing attacks and email spam, which can have disastrous consequences like ransomware infections, data leaks, and unauthorized breaches.

So, let SPF be your trusted ally in the fight against email fraud and impersonation! 🔒

How to Set up SPF Records?

⚠️ Important: Setting the SPF record is not applicable if you use a free email account like gmail.com, outlook.com, or yahoo.com. You can set it up only using a business email with your domain attached (i.e., [email protected]).

Before implementing any changes, verifying your service provider's specific instructions and guidelines is crucial. It is recommended to consult their FAQ or support documentation for accurate and up-to-date information. ⚠️

📺 Video Guide

🪜Steps to Follow

If SPF records are missing, you will need to create a new TXT record. TXT records are a type of DNS record used to store text information for external sources unrelated to your domain. Hence, you will need access to your domain's DNS manager.

Note: Please note that the examples below assume that Google is your domain and mail provider.

  1. Sign in to your domain account (In our case, it's Google domains). In your case, this might be GoDaddy, Squarespace, Namecheap, etc.

  2. Go to the DNS page to update your domain’s DNS records, DNS Management, Name Server Management, or Advanced Settings.

  3. Please check with your IT and/or provider if your domain already has an SPF record. Find your TXT records and check if your domain has an existing SPF record. The SPF record starts with “v=spf1…”.

  4. Create a TXT record with these values:

    • Name/Host/Alias - Enter @ or leave blank

    • Time to Live (TTL) - Enter 3600 or leave the default.

    • Value/Answer/Destination - Enter v=spf1 include:_spf.google.com ~all

  5. The DNS manager should have only one SPF record, even if the user uses multiple Email service providers. So deleting the one that is already there is not always the best choice since it might cause issues with other tools you're using. Instead, you want to include more providers in your existing SPF.

Example: Let's say that you already have an SPF that includes Google at the moment.

v=spf1 include:_spf.google.com ~all

Again, be careful the example of value above will work only if Google is your email provider.

If your email provider is not Google, please double-check with your email provider what is the correct value to use; we cannot confirm on our end.

You want to include Zoho in this SPF since Zoho is your email provider. You want to modify the existing SPF, so it now looks like this

v=spf1 include:_spf.google.com include:_spf.zoho.com ~all

This can take up to 72 hours to take effect.

List of standard SPF values for some of the most common ESPs.

Gsuite

v=spf1 include:_spf.google.com ~all

Microsoft

v=spf1 include:spf.protection.outlook.com ~all

Zoho mail

v=spf1 include:zoho.com ~all

Sendgrid

v=spf1 include:sendgrid.net ~all

Godaddy

v=spf1 include:secureserver.net ~all

Amazon SES

v=spf1 include:amazonses.com ~all

Yahoo mail

v=spf1 include:_spf.mail.yahoo.com ~all

Yandex mail

v=spf1 include:_spf.yandex.net ~all

How to create a TXT record in the common DNS providers.

  • Click here to check for Godaddy.

  • Click here to check for Namecheap.

  • Click here to check for Google Domains.

  • Click here to check for Cloudflare.

  • Click here to check for Hostinger.

  • Click here to check for Hostgator.

How to check if an email account has SPF & DMARC set correctly?

Go to this website and enter the domain of that email address. If it shows a green checkmark next to SPF ✅, it means an SPF record has been added to that domain, but it doesn’t necessarily mean it is correct. You can click on SPF, and it will show the SPF value added in the DNS manager. You can review that value to check whether the SPF value is correct or not.

Alternatively, you can also check out How to check if an email account has DMARC set correctly?

Mission accomplished; you've successfully added SPF records. 👏

Wishing you a delightful experience! ❤️

Happy Selling. 🤝

Warmest regards,

Saleshandy Team

👉 Next Steps

Check out the below article If you want to know more about


💡 Tip

Don't hesitate to reach out if you have any questions. We're available on chat and ready to provide you with prompt assistance. 🤗

Did this answer your question?