From 31764b14144e2b5ddce108a1548438d227eac3a4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 21 Sep 2019 18:23:07 +0200 Subject: [PATCH] And fix the smarthost template somewhat --- modules/exim/templates/eximconf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index c8be35121..83a630fa2 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -1584,7 +1584,7 @@ remote_smtp_smarthost: delay_after_cutoff = false port = <%= @marthost_port -%> tls_tempfail_tryclear = false - hosts_require_tls = ' + scope.lookupvar('deprecated::nodeinfo')['smarthost'] + ' + hosts_require_tls = <%= scope.lookupvar('deprecated::nodeinfo')['smarthost'] -%> tls_certificate = /etc/exim4/ssl/thishost.crt tls_privatekey = /etc/exim4/ssl/thishost.key <%- end -%> -- 2.20.1