From: Stephen Gran Date: Mon, 16 Nov 2009 00:43:41 +0000 (+0000) Subject: Instead of accepting mail from all over the internet and queueing it X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=45626e335240068131d0dce27b3f78b8a254c6bd;p=mirror%2Fdsa-puppet.git Instead of accepting mail from all over the internet and queueing it when the load is too high, back off and only accept mail from debian hosts when the load hits a threshhold. At the next threshhold, slightly higher, start also only queueing mail. Signed-off-by: Stephen Gran --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index a8b88ecf0..462daa849 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -214,7 +214,8 @@ delay_warning = <% if nodeinfo.has_key?('heavy_exim') and not nodeinfo['heavy_exim'].empty? %> queue_run_max = 50 deliver_queue_load_max = 50 -queue_only_load = 15 +queue_only_load = 35 +smtp_load_reserve = 20 <% else %> queue_run_max = 5 deliver_queue_load_max = 10