]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Make clients only use tls with smarthost
authorStephen Gran <steve@lobefin.net>
Thu, 21 May 2009 22:02:27 +0000 (23:02 +0100)
committerStephen Gran <steve@lobefin.net>
Thu, 21 May 2009 22:02:27 +0000 (23:02 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index e0ac658bf09091de184e32a484c47481f667ba49..8038d0e6b4ace20c02f21ba63a3ad2e9b6157560 100644 (file)
@@ -1303,6 +1303,7 @@ remote_smtp_smarthost:
   out += nodeinfo['smarthost_port'].to_s + "\n"
   if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true"
     out += '  tls_tempfail_tryclear = false
+  hosts_require_tls = ' + nodeinfo['smarthost'] + '
   tls_certificate = /etc/exim4/ssl/thishost.crt
   tls_privatekey = /etc/exim4/ssl/thishost.key
 '