cPanel overwrites SPF settigns after adding new domain

piotrpawlowski

Member
PartnerNOC
Sep 6, 2008
12
0
51
Dear all,

In my cPanel account I have several domains. Becasue mail server is handled on different machine, I have custom SPF record in all my domain zones.
Now, the problem is, that when I add new domain to my account, cPanel overwrites SPF records for all my domains, and configure it in such way, that instead of my external mail servers IP addresses, I have IP address of cPanel server in SPF record.
I checked /var/cpanel/users/myaccount config and option "HASSPF" is set to "0".
Does anybody knows why this happens? How to fix it ?
Thank you in advance for any help.

Regards
Piotr