From 00bc5ad0b2be00b1c09118416c2a9537a02736b7 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Thu, 7 May 2009 01:12:07 +0100 Subject: [PATCH] Right. For some reason, they're strings, not booleans Signed-off-by: Stephen Gran --- modules/exim/templates/eximconf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 8c0e5ec40..81c7ec470 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -119,7 +119,7 @@ domainlist mailhubdomains = lsearch;/etc/exim4/manualroute hostlist reservedaddrs = <%= nodeinfo['reservedaddrs'] %> <%= out = "" -if exim_ssl_certs == true +if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true" out = "tls_certificate = /etc/exim4/ssl/thishost.crt tls_privatekey = /etc/exim4/ssl/thishost.key tls_try_verify_hosts = * @@ -211,7 +211,7 @@ remote_sort_domains = *.debian.org:*.debian.net pipelining_advertise_hosts = !* <%= out = "" -if has_variable?("exim_ssl_certs") && exim_ssl_certs == true +if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true" out = 'tls_advertise_hosts = *' end out -- 2.20.1