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!

delay_unknown_hosts modify the default seconds

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

  1. diracuser

    diracuser Active Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. diracuser

    diracuser Active Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice