SPF Configuration

Sender Policy Framework

Sender Policy Framework/ SPF is an Email validation system, to find out spoofed/ forged emails using a specific SPF record published for the domain with the details of hosts, that are permitted by the domain's administrators.

About SPF Records

Sender Policy Framework/ SPF Records is a type of DNS record published in the domain's DNS that identifies the email servers that are permitted to send emails using the particular domain name. The main purpose of SPF records is to help the receiving server identify the spam emails, sent using your domain name by spoofing/ forging the From email addresses. We highly recommend the organization users to publish the SPF records for your domain.

Configure SPF Records for Zoho Mail

When you send an email using you@yourdomain.com from Zoho Mail, the recipient servers refer the SPF records to check if the email sent from Zoho Mail is genuine. Some email servers reject the emails if there is a mismatch or if there are no valid SPF records for your domain. Generally, you can publish the SPF records as TXT records in the DNS Providers (Domain Registrars/ DNS Managers).

The Valid SPF records that need to be published are provided below:

v=spf1 include:zoho.com ~all

You can also publish the SPF record that uses -all instead of ~all. However, in some cases, it may result in delivery problems. 

Steps to add SPF TXT record in GoDaddy domain manager:

  1. Login to your GoDaddy DNS Manager. Select the My Account menu and choose Domains.
  2. Expand Domains and click the Manage DNS button for the domain you want to verify.
  3. The DNS Manager page will open with information about existing DNS records. 
  4. Scroll down to the Records section and click the Add button to add a DNS record
  5. Select TXT from the Type drop-down menu.
  6. In the Host field, specify @
  7. In the TXT Value field, enter v=spf1 include:zoho.com ~all
  8. Click Save.

In case you are using only Zoho Mail to send emails, remove all the other SPF record types from the DNS. Click 'Save Changes' again to save all the changes. Having multiple SPF records will interrupt the SPF check and hence the SPF validation may fail and the emails will end up as Spam in the recipient servers. 

SPF Verification 

You can check the SPF records for all the domains you have in the Organization from the SPF Verification section under Email Authentication. 

Steps to verify SPF Status for Domains: 

  1. Log in to Zoho Mail account as Administrator or Super Administrator. 
  2. In the Control Panel, select SPF section from the left pane. 
  3. All the domains in the organization will be listed. 
  4. Click Verify across each domain to validate the SPF records for the domain. 
  5. If the SPF records have been validated for all the domains, a message appears indicating the same.

Multiple SPF Records

Multiple SPF records are not considered valid according to the Sender Policy Framework.

When you add multiple TXT records of type SPF, it causes an interruption in the email delivery and your emails may end up being classified as Spam. As per the RFC Specifications for SPF records, a domain should not have multiple SPF records and this will cause the validation to select more than one record. 

In case you need to use multiple email servers for your domain, you can update the details in the same SPF record instead of multiple entries. 

Other IP Address and Zoho Mail

If you send emails from your multiple services with IP4 address, IP6 Address and a host name the Syntax of SPF record is as explained below.  

Example: If you send emails from your webhost, whose IP4 address is 192.168.20.25, from another automated server with IP6 range ip6:1080::8:800:68.0.3.1/96 and Zoho, the SPF record should be added like below: 

v=spf1 ip4:192.168.20.25 ip6:1080::8:800:68.0.3.1/96 include:zoho.com ~all

Incorrect Records 

Correct Records

 v=spf1 ip4:192.168.20.25 ~all

v=spf1 ip6:1080::8:800:68.0.3.1/96 ~all

v=spf1 include:zoho.com ~all

v=spf1 ip4:192.168.20.25  ip6:1080::8:800:68.0.3.1/96 include:zoho.com ~all

Other Host Names and Zoho Mail

Having multiple records with multiple records v=spf1 include:abc.com v=spf1 include:def.com is invalid as per the RFC specifications. In that case you need to add the SPF record in the format below:

 v=spf1 include:abc.com include:def.com include:zoho.com ~all.

Incorrect Records 

Correct Records

v=spf1 include:abc.com ~all

v=spf1 include:def.com ~all

v=spf1 include:zoho.com ~all

v=spf1 include:abc.com include:def.com include:zoho.com ~all

Share this post :

FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohomail.com