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.

EXIM.CONF keeps changing?

Discussion in 'General Discussion' started by erick_paper, Jun 22, 2005.

  1. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I changed my EXIM config through WHM, applying rules from Chirpy etc.

    Couple of days later, the EXIM.CONF file is back to its original default version.

    What gives? How can I make sure that what changes I make are not modified by a Cpanel update or something?

    Thanks
     
  2. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    You can lock the file, I never knew what changes it all the time it does seem to change periodically so I just set it so no changes can be made.... chattr +i /etc/exim.conf
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Changing the attributes won't help that much as the cPanel scripts will remove the attributes as one of the first things they do. It could also break cPanel email if exim.conf gets out of sync with exim.pl and others.

    I have never had or seen the Exim Configuration Editor settings being overwritten, so long as you have not messed around with the attr of the exim files. If you can reproduce the problem, I'd suggest that you log it in bugzilla or raise a support ticket with cPanel.
     
  4. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hi chirpy

    No, I haven't messed with any "attr" of the exim files, nothing beyond rvskin's config suggestions . Would any of those config options be a problem?

    EP
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, they shouldn't have any affect on that at all.
     
  6. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    I have. I couldnt duplicate it, its done at random. I keep a spare exim.conf file in the event its overwritten so I can replace it easily.
     
  7. mar1skha

    mar1skha Registered

    Joined:
    Jun 29, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I too face this problem. When this happen, not only Exim conf been restored, but the folder permission too. Example, if /home/mydomain/public_html/ was set to 755, it will be reset back to 750. Now, the reason why the folder need to have 755 was because in Exim, a script need to be called which reside beyond /home/mydomain/public_html/ folder.

    Maybe, if we know which file CPanel use to restore Exim conf with, we can modify the default Exim conf that CPanel use to restore. So, every time CPanel restore, it will restore Exim conf file with the changes in it.
     
  8. shivamxp

    shivamxp Well-Known Member

    Joined:
    Jan 30, 2005
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Configuration file is /etc/exim.conf.buildtest
    `/etc/exim.conf.buildtest' -> `/etc/exim.conf'


    Is what i get when use whm o restart exim using exim config update...

    so i guess from this we can assume or guess that the file we need to edit is

    /etc/exim.conf.buildtest
    ???

    Not sure but a guess
     
  9. WESWAYS

    WESWAYS Registered

    Joined:
    Aug 3, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    is there an update

    is there an update regarding the Exim.conf file replaceing its self other then the instructions given are Cpanel going to do a Work around?
    Many Thanks Wesley
     
Loading...

Share This Page