Making Exim options stick

mgorovoy

Member
Mar 27, 2003
18
0
151
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:
 

RickG

Well-Known Member
Feb 28, 2005
238
2
168
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).
 

mgorovoy

Member
Mar 27, 2003
18
0
151
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.
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
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!)
 

RickG

Well-Known Member
Feb 28, 2005
238
2
168
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.