SPF record setup domain ip
Hi,
So I am trying to limit emails being sent out as spam by domain being used for registrations. currently the activation emails go in the spam box of new members gmail etc.
I read that enabling SPF under email authentication was a good idea. I have done so and the record was setup
ex. v=spf1 +a +mx +ip4:0.0.0.12 ~all
However this ip is the host server ip and not the the cpanel domain ip the spf record was enabled with (also domain sending the emails)
Is this normal and because this was enabled on the cpanel domain account, the domain ex. 0.0.0.13 is already considered ok? Or do I still need to add the 0.0.0.13 to the additional ip4 block list so that it ok to send mail?
Also I keep seeing that some records end with -all instead of ~all. Can someone explain the difference and which is better to use?
Thank you.
-
Maybe this helps: [url=http://www.openspf.org/SPF_Record_Syntax]SPF: SPF Record Syntax 0 -
Hello :) The SPF record configured by cPanel will use the main server IP address. This is by design. The use of "+a" and "+mx" in the SPF record accounts for the possibility the domain name is assigned a dedicated IP address. Thank you. 0 -
Ok that makes sense, great thank you. 0 -
[quote="cPanelMichael, post: 1555941">Hello :) The SPF record configured by cPanel will use the main server IP address. This is by design. The use of "+a" and "+mx" in the SPF record accounts for the possibility the domain name is assigned a dedicated IP address. Thank you.
Sorry just to be clear, if the customer has a dedicated IP and you have the server set to use dedicated IPs for sending mail. Would you still use the main shared IP in the SPF record? In this part: (v=spf1 +a +mx +ip4:12.123.123.12 ~all) Thanks!0 -
Yes, that's still a valid SPF record as long as either the A record or the MX record resolves to the dedicated IP address used for sending email. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments