What is SPF, and how to Create a SPF Record?
SPF is used to prevent spammers from using an email address on your domain as their sender address, known as email spoofing.
With SPF enabled all emails you send will be tagged to notify any receiving mail servers that they should only trust emails sent from your particular mail server. If any email has your domain as the originator's address this is the only mail server they should trust as being genuine.
This is a very useful anti-spam tool and is very hard for the "spammers" to forge. Therefore it gives a better level of confidence in any anti-spam software or processes that your email is genuine.
We Recommend you use SPF in conjunction with DKIM as Authentication for your emails for even greater levels of "anti-spam" Confidence.
Note: SPF is enabled by default on all Shared Hosting Accountsbut you can change this setting within cPanel under the "Email" section and click the "Email Deliverability" Icon. Only change these records in your DNS editor within cPanel if you understand the impact of what you are changing.
How does SPF work?
With SPF you can define the outgoing mail servers that are authorized to send email from your domain name. When an email is sent from your domain, the incoming server checks if the mail comes from an approved server, before delivering it to the recipient.
If the information doesn't match, the email is identified as unauthorized and will be rejected or delivered to the spam folder.
Unfortunately, not all incoming mail servers check for SPF records. So even though adding an SPF record will help, it cannot prevent all spoofing.
Create an SPF Record on your Domain
Follow the instructions below to add an SPF record to your domain.
- Log in to cPanel
- Choose the Zone Editor Link in Domains Tab than click on the Manage Link for the desired Domain.
- To Update your current SPF Record search for spf1 on the Page with Records and click on the Update Link.
- To Add a New SPF Record click on Add Record, than click Add "TXT" Record.
Domain Syntax:
v=spf1 include:_spf.ssdcloud.io mx ~all
IP Syntax:
v=spf1 +a +mx +ip4:127.0.0.1 -all
Test your SPF Record with the SPF Record Checker
Setting up the SPF Record is an essential part of your Technical Settings. Now test if you have set up your SPF Record correctly by using the SPF Record Checker.