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!

exim.conf editing via WHM

Discussion in 'E-mail Discussion' started by rhenderson, Mar 23, 2014.

  1. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    I understand to keep from changes being overwritten you need to edit the exim.conf via WHM, also I understand chattr +i does not do any good anymore since upcp reverses that. I have several things I need to add to the exim.conf, about half of what I want to add I can via WHM but there are few places I do not see where to change what I need changed:

    1. Just under perl_startup I need to add some lines
    2. Rewrite the interface and helo_data just under remote_smtp:
    3. Rewrite the interface and helo_data in the dk_remote_smtp:

    For now I just turned off updates.

    I suppose I could copy the exim.conf over somewhere else and run a postupcp script to copy it back over and restart exim, but I was looking for the "proper" way to do this.
    Any suggestions?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,531
    Likes Received:
    1,965
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You can also utilize the /etc/exim.conf.local file to ensure changes are preserved through updates. This is the the same file that the Advanced Editor for Exim in WHM uses.

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

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