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.

Making Exim options stick

Discussion in 'General Discussion' started by mgorovoy, Nov 27, 2006.

  1. mgorovoy

    mgorovoy Member

    Joined:
    Mar 27, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    NYC
    As part of our exim configuration, we modify the following exim options.

    deliver_queue_load_max = 6
    #auto_thaw = 6d
    timeout_frozen_after = 4d
    ignore_bounce_errors_after = 1d

    They are not part of any edit boxes in WHM Advanced Configuration editor, and the only edit box that is available is located in the file earlier when the default versions of these settings. Is there a way to make this type of changes survive the cPanel updates? :confused:
     
  2. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    These type of entries can be added into the first box of the Exim Advanced Configuration editor where they will override the defaults (and not be overwritten during updates).
     
  3. mgorovoy

    mgorovoy Member

    Joined:
    Mar 27, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    NYC
    But since the same settings appear later in the exim.conf as part of the standard configuration, wouldn't they override the values we would enter into the first box? This seems to be completely counter-intuitive. ;) Since the settings in question are not easy to test, we would like to know for sure how it works before setting it up that way.
     
  4. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    I think this is more or less the way WHM does things - you don't edit the config file itself, you edit the config through the boxes on the page, which presumably are then checked when WHM / CPANEL / EXIM is updated. From my own experience it is definitely what is in the boxes that is active (once you've clicked save of course!)
     
  5. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    When you make manual entries through Exim's Advanced Editor in WHM, the directives are written to /etc/exim.conf.local

    Once you save the changes, entries from /etc/exim.conf.local are merged into a rebuild of /etc/exim.conf with values from /etc/exim.conf.local taking precedence.

    Take a look in both files before and after making a change and you'll see what's happening.
     
  6. mgorovoy

    mgorovoy Member

    Joined:
    Mar 27, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    NYC
    Duh...

    Now I see what is happening. Thanks a lot, RickG!
     
Loading...

Share This Page