How to setup SPF Records for your cPanel Linux Hosted account Print

  • SPF, SPF Record, Failed SPF
  • 0


SPF (Sender Policy Framework) is a standard that allows mail servers to recognize who are valid sender of every sending domain. It is considered one of the ways Mail providers can use to combat increased level of spam.

Sometimes your mail will be rejected by Gmail or other providers due to missing or wrong SPF records. You will likely encounter the error:


host []
SMTP error from remote mail server after end of data:
550-5.7.26 This message does not pass authentication checks (SPF and DKIM both
550-5.7.26 do not pass). SPF check for [] does not pass with
550-5.7.26 ip: [192.211.125.xx].To best protect our users from spam, the
550-5.7.26 message has been blocked. Please visit
550-5.7.26 for more
550 5.7.26 information. 12-20020a37030c000000b0073b9cead6f9si2114500qkd.76 - gsmtp

In this event, you can fix this problem by adding SPF records to your account. This can easily be done by login to the cPanel control panel for your account.


Then access the "Email Deliverability" option. If we host your DNS records then simply click on "Repair" next to the domain that requires the SPF record and our system will automatically generate SPF records for you.


If your DNS is hosted somewhere else like CloudFlare or another DNS provider, then you will need to add the SPF records manually at that provider's end. You can contact us to help you with doing this if we have control over your DNS servers.


Lastly, SPF records can have significant impact on how your mail is delivered. If the records are not setup correctly, your mail may go to the junkmail folder of your recipients. If you are sending email from servers outside of Mediumcube network, then you should add IP or hostname records of these providers (example, sending emails from QuickBooks, MailChimp, Constant contact...).


We hope these information help. Should you require further assistance, please open a ticket with our Cloud Support team and we will be happy to help you get things setup properly.

Was this answer helpful?

« Back

Powered by WHMCompleteSolution