How to set perfect SPF for domain?

Standard

Hello folks,

SPF is nothing but a Sender Policy Framework which helps to prevent outgoing spam mails from your domain. It’s generally specify a server or a IP address to your domain that authorized to send mails.

Here we’ll see which are the best SPF record that we can set for domain. It’s not too difficult, send one mail to your Gmail’s account and see the Original Headers of mail. Look for line mentioned below.


Received-SPF: neutral 


Here it is showing “neutral” for the values that you have set in SPF record in domain’s zone file. It should be “pass” otherwise your mail’s will land into spam/junk box or will be rejected sometimes.

To set Perfect SPF record check with your hosting provider for the server’s main IP address or mail server IP address. Once you get it, ask them to update your SPF record to which should include mail server IP looks like as below.

v=spf1 +a +mx +ip4:xxx.xxx.xxx.xx -all

You can enable SPF from cPanel >> Email >> Authentication.

That’s all.

Leave a comment