The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

upcp overwrites exim.conf

Discussion in 'General Discussion' started by gservat, Sep 28, 2004.

  1. gservat

    gservat Registered

    Joined:
    Sep 21, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I've made a modification to exim.conf to handle aliased domains. Anyway, the problem I'm having is that every time I run upcp, it seems to restore the dist version of exim.conf (ie. any changes get thrown out). Any ideas?

    Thanks
     
  2. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    umm... so just make your changes in all the exim.conf* files... or in the small addon file it uses for custom stuff entered from WHM.
     
  3. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    You can fix this by doing chattr -i /etc/exim.conf. This will make it so it isn't overwritten. I would suggest using the exim.conf editor in WHM to add your changes though. Seems anything added there isn't overwritten with updates.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Unfortunately, you cannot do that anymore. The /scripts/exim4 script reverses the operation before installing a new version of exim :(

    Also, it's chattr +i to make it immutable ;)
     
  5. HostIt

    HostIt Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    151
    Likes Received:
    1
    Trophy Points:
    18
    Are these changes that you're able to make in the WHM exim config editor? If they're made there, they won't be overwritten.
     
  6. gservat

    gservat Registered

    Joined:
    Sep 21, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thanks to everyone who replied. Pretty impressive response times!

    Editing exim.conf through WHM did the trick.
     
Loading...

Share This Page