]> git.openstreetmap.org Git - chef.git/commitdiff
Reduce connection timeout for outgoing SMTP connections
authorTom Hughes <tom@compton.nu>
Fri, 26 Nov 2021 11:17:11 +0000 (11:17 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 26 Nov 2021 11:17:11 +0000 (11:17 +0000)
cookbooks/exim/templates/default/exim4.conf.erb

index 7b0afac410d889d77fb6e49af331ea7a51f0db4c..e022dd378108b6e47ed4f14d6b3d86515703f377 100644 (file)
@@ -725,6 +725,7 @@ remote_smtp:
 
 signed_smtp:
   driver = 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}
   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}