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 modifications

Discussion in 'General Discussion' started by hedgehog, Nov 12, 2004.

  1. hedgehog

    hedgehog Well-Known Member

    Joined:
    Nov 3, 2001
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Hello all,

    Does anyone know where to change those options in exim.conf that are not acessible through WHM?

    Would it be safe to chattr +i /etc/exim.conf or would that break anything?

    Thanks, : )

    Hedgy
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You have few options. Using chattr won't work as the exim4 script removes the immutable flag before it does anything to stop it breaking. You either have to use the Exim Configuration Editor, or you need to simply reapply any changes if exim.conf is updated by cPanel.
     
  3. hedgehog

    hedgehog Well-Known Member

    Joined:
    Nov 3, 2001
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Thanks : )

    The problem is that I am trying to edit a section that is not editable in the WHM editor...

    Where does the editor store the "edited" exim.conf version? Would it be possible to edit the file where the editor settings are saved?

    Hedgy
     
  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
    If you have a look in /etc you'll see the files used with:

    ls -la /etc/exim.*
     
  5. hedgehog

    hedgehog Well-Known Member

    Joined:
    Nov 3, 2001
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for your response.

    Have you ever tried using the -C option when starting exim?

    -C <filelist>

    This option causes Exim to find the run time configuration file from the given list instead of from the list specified by the CONFIGURE_FILE compile-time setting. Usually, the list will consist of just a single file name, but it can be a colon-separated list of names. In this case, the first file that exists is used. Failure to open an existing file stops Exim from proceeding any further along the list, and an error is generated.

    This way of dealing with exim lack flexibility. Is there any reason Cpanel has opted for this model instead of allowing it to run freely?

    Thanks again for your time. It is appreciated.

    Hedgy
     
Loading...

Share This Page