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

Discussion in 'General Discussion' started by jeffheld, Aug 31, 2004.

  1. jeffheld

    jeffheld Active Member

    Joined:
    Jan 7, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    financial capital
    i would like to edit exim.conf and NOT have cpanel overwrite it when it updates. does anyone know the location of the exim.conf cpanel uses? so that i can edit directly to that in ssh, and not have to go thru whm.
    ty
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    The following will help you find it ;)

    locate exim.conf

    It's in /etc/exim.conf

    However, if you edit it, it will get overwritten on an exim upgrade (either through /scripts/exim4 or /scripts/upcp). Using chattr also won't work as the upgrade scripts automatically chattr -i the file before upgrading it :eek:

    So, the only way is to either:

    1. Using the Exim Configuration Editor in advanced mode through WHM

    2. Keep an eye on /etc/exim.conf and if it changes, do a diff on a copy of your existing one and the new one and merge your changes back in.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jeffheld

    jeffheld Active Member

    Joined:
    Jan 7, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    financial capital
    yes, i don't wanna do it thru whm, i want to automate the process thru ssh. trying to find out were 'cpanel' keeps whm/exim configuration data @.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    The cPanel Exim Configuration editor data is stored in:

    /etc/exim.conf.local
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jeffheld

    jeffheld Active Member

    Joined:
    Jan 7, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    financial capital
    great, this will work.. thankz. hey u know how to change the default cpanel port to something else?
     
    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