Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change helo in /etc/mailhelo permanently

Discussion in 'E-mail Discussion' started by altinix, Jan 24, 2017.

  1. altinix

    altinix Member

    Aug 29, 2016
    Likes Received:
    Trophy Points:
    Tirana, Albania
    cPanel Access Level:
    DataCenter Provider
    Recently we made a change to our WHM in which every domain/account with static IP addresses to use its own IP address for sending emails. helo/smtp banner. (which was achieved by editing the exim.conf using the Advanced Editor to be permanently saved ). All the other domains use the shared IP for sending emails.
    Now, for one of the domains, I want to change the helo, to match the PTR and forward DNS for that domain; On /etc/mailhelo it is displayed as:
    but I want it to be:
    I can change them manually but it gets overwritten everytime cpanel updates.
    Is there any workaround to change only this line permanently?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    If you enable the Send mail from account's dedicated IP address setting in the Basic Editor section of WHM's Exim Configuration Manager interface (Home >> Service Configuration >> Exim Configuration Manager), the system will overwrite any manual changes that you subsequently make to the /etc/mailhelo and /etc/mailips files. This is documented at:

    How to Configure the Exim Outgoing IP Address - cPanel Knowledge Base - cPanel Documentation

    There's also a thread here you may find helpful:

    SOLVED - Easy FIX your SMTP banner, SMTP greeting and Reverse DNS for Dedicated IPs

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice