rligg

Well-Known Member
Sep 16, 2003
275
0
166
Should spf ip be the server ip or the shared ip? I ask because I believe cpanel sets the mail server ip to the shared ip by default. However, it sets the spf ip to the server ip tied to the server hostname.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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 account for the possibility the account is assigned a dedicated IP address.

Thank you.
 

rligg

Well-Known Member
Sep 16, 2003
275
0
166
Doesn't this assume the main server ip and designated shared ip are the same? What if they are not?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Doesn't this assume the main server ip and designated shared ip are the same? What if they are not?
No, it's going to use the main server IP address (e.g. default eth0 IP), not the main shared IP address, or a shared IP address assigned to the account.

Thank you.