delay_unknown_hosts modify the default seconds

diracuser

Active Member
Oct 22, 2014
41
1
8
cPanel Access Level
Root Administrator
Hi.
I want to customize in Exim configuration the "delay_unknown_hosts" parameter.
I can't change it in "Advanved Exim Congiruation Manager", so I read that I can do it modifying exim.conf.local...
My question is : Can someone help me how to change the delay seconds in this file ? How is the syntax?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello,

One workaround would be to setup a cron job to automatically replaces all instances of "delay = 20s" to "delay = XXs" in the /etc/exim.conf file. Here's an example of the commands you could use in a custom script configured to run on a cron job:

Code:
replace "delay = 20s" "delay = 15s" -- /etc/exim.conf
/scripts/restartsrv_exim
You could also set up the script to run after each cPanel update using the proof of concept example on the following post:

/scripts/upcp does not display output from postupcp

Thank you.
 

diracuser

Active Member
Oct 22, 2014
41
1
8
cPanel Access Level
Root Administrator
Thaks for your response, but I wonder to make the modifications into exim.conf.local, because in Cpanel documentation recommends modify this file for custom configuration ....