Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    2

    Default upcp overwrites exim.conf

    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. #2
    Member
    Join Date
    Sep 2004
    Posts
    529

    Default

    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. #3
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    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.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You can fix this by doing chattr -i /etc/exim.conf. This will make it so it isn't overwritten.
    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
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Feb 2003
    Posts
    191

    Default

    Quote Originally Posted by gservat
    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?
    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. #6
    Registered User
    Join Date
    Sep 2004
    Posts
    2

    Default

    Thanks to everyone who replied. Pretty impressive response times!

    Editing exim.conf through WHM did the trick.

Similar Threads & Tags
Similar threads

  1. upcp overwriting httpd.conf
    By thobarn in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-08-2009, 03:44 PM
  2. cPanel regularly overwrites awstats.conf
    By Funky Rob in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-22-2006, 09:04 PM
  3. [CentOS] upcp or nightly upcp overwrites issues
    By eos1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-16-2004, 10:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube