Preventing changes of mailhelo

webmasteryoda

Well-Known Member
Apr 3, 2013
98
7
58
Serbia
cPanel Access Level
Root Administrator
Hi

I am sending my emails through several dedicated IPs.

I had to edit /etc/mailhelo to change helo to be the same as my hostname.

But

Everytime the cPanel updates or upgrades this file resets to default.

Can I prevent changes to mailhelo?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Yes, per the document in my last response, regarding the "Send mail from account's dedicated IP address" option:

f you select this option, cPanel & WHM uses the /usr/local/cpanel/scripts/updateuserdomains script to automatically configure Exim, and overrides any manual changes in the following files:

/etc/mailhelo
/etc/mailips
/etc/mail_reverse_dns
Thus, disabling this option ensures you can manually alter these files and the changes are not overwritten after enabling:

Reference /etc/mailhelo for outgoing SMTP HELO
Reference /etc/mailips for outgoing SMTP connections


Thank you.