SPF or Sender Policy Framework is a published DNS record specifying domains or IP addresses authorized to send emails for a domain. Inbound emails that do not match the published SPF are spam. SPF records help authenticate the email sender against a list of authorized senders. This provides a safeguard against email spoofing.
The quantity of spam and level of sophistication in techniques used by spammers is increasing. Currently, 45% of all emails sent daily are spam, with some companies estimating the figure to be much higher (SpamLaws).
To combat nuisance & malicious emails, multiple layers of protection are in place, including SPF; which is becoming standard practice for mail. Some mail providers will automatically assign non-SPF custom domain emails to spam or junk folders. If you want to aid your overall email deliverability, you need an SPF record.
There are multiple ways to configure an SPF record. The easiest is using the suggested record provided or an SPF generator. By learning basic SPF record syntax, resolve SPF issues easily or add further configuration.
v=spf1 ip4:() include:192.168.0.1 +a +mx +ip include:servers.mail.net ~allExample SPF Record
In the above example, “v=spf1″ denotes this TXT record as an SPF record. This is because a domain can hold multiple TXT records. The remaining part of the record consists of qualifiers and mechanisms.
Qualifiers determine the action taken for defined mechanisms.
Mechanisms designate authorized outbound mailers for a domain.
Our cPanel hosting provides two methods for adding a record. The easiest, most user-friendly way is through the email deliverability tool, which configures a “default” record. Because SPF is essentially a TXT DNS record, the zone editor tool can also be used.
1. First, under the email section, click “email deliverability”. Because there are multiple themes or styles available, it may look different for you.
2. Afterwards, in the tool click on “manage” for the domain you want to add an SPF for
3. Finally, scroll down to the SPF area. From here you can see the suggested record, if you need to customize this record then click “install the suggested record”.
1. To add a record, scroll down in cPanel to the “domains” section and click on “zone editor”.
2. From here, click the manage button which coincides with your domain.
3. Afterwards, on the zone records page. Click add record and change the type to TXT.
4. Moving on, enter the domain name followed by a period (.). For example, if your domain is “yourdomain.tld” enter yourdomain.tld.
5. Finally, add your SPF record. And click “save record”.