From: Tom Hughes Date: Fri, 26 Nov 2021 11:17:11 +0000 (+0000) Subject: Reduce connection timeout for outgoing SMTP connections X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/9ad5a4e981788c7254fd2975adfab84c3c2cbe2f?ds=sidebyside Reduce connection timeout for outgoing SMTP connections --- diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index 7b0afac41..e022dd378 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -725,6 +725,7 @@ remote_smtp: signed_smtp: driver = smtp + connect_timeout = 1m dkim_domain = ${lookup{${domain:$h_from:}}partial-lsearch{/etc/exim4/dkim-domains}{$value}} dkim_selector = ${lookup{$dkim_domain}lsearch{/etc/exim4/dkim-selectors}{$value}} dkim_private_key = /etc/exim4/dkim-keys/${dkim_domain}