Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

delay_unknown_hosts modify the default seconds

Discussion in 'E-mail Discussions' started by diracuser, Oct 25, 2017.

  1. diracuser

    diracuser Active Member

    Joined:
    Oct 22, 2014
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,763
    Likes Received:
    1,710
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. diracuser

    diracuser Active Member

    Joined:
    Oct 22, 2014
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    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 ....
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,763
    Likes Received:
    1,710
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This file is only for the options available under the "Basic Editor" in "WHM >> Exim Configuration Manager".

    Thank you.
     
Loading...

Share This Page