From 9ad5a4e981788c7254fd2975adfab84c3c2cbe2f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 26 Nov 2021 11:17:11 +0000 Subject: [PATCH] Reduce connection timeout for outgoing SMTP connections --- cookbooks/exim/templates/default/exim4.conf.erb | 1 + 1 file changed, 1 insertion(+) 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} -- 2.39.5