X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fexim%2Ftemplates%2Feximconf.erb;h=d7648fc010876bba251d48da5a1fa39b96121000;hb=1f37c1198a12c740639535f69d3f42b841c0aca5;hp=0f8f0cc5ae239a7a5ce139892c052f4e4ef74cdb;hpb=e2f93fb62ddc29710878f9a708cbbc448bdf4455;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 0f8f0cc5a..d7648fc01 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -409,7 +409,7 @@ check_helo: accept verify = certificate <%- end -%> -<%- unless @smarthost -%> +<%- unless @use_smarthost -%> # These are in HELO acl so that they are only run once. They increment a counter, # so we don't want it to increment per rcpt to. @@ -817,7 +817,7 @@ check_recipient: accept local_parts = +postmasterish domains = +virtual_domains : +bsmtp_domains -<%- unless @smarthost -%> +<%- unless @use_smarthost -%> deny message = host $sender_host_address is listed in $dnslist_domain; see $dnslist_text dnslists = ${if match_domain{$domain}{+virtual_domains}\ {${if exists {${extract{directory}{VDOMAINDATA}{${value}/rbllist}}}\ @@ -837,7 +837,7 @@ check_recipient: domains = +handled_domains !hosts = +debianhosts : WHITELIST -<%- unless @smarthost -%> +<%- unless @use_smarthost -%> deny domains = +handled_domains local_parts = ${if match_domain{$domain}{+virtual_domains}\ {${if exists {${extract{directory}{VDOMAINDATA}{${value}/callout_users}}}\ @@ -1083,7 +1083,7 @@ ipliteral: transport = remote_smtp ignore_target_hosts = +reservedaddrs -<%- if @smarthost -%> +<%- if @use_smarthost -%> smarthost: debug_print = "R: smarthost for $local_part@$domain" driver = manualroute @@ -1571,14 +1571,14 @@ remote_smtp: tls_certificate = /etc/exim4/ssl/thishost.crt tls_privatekey = /etc/exim4/ssl/thishost.key -<%- if @smarthost -%> +<%- if @use_smarthost -%> remote_smtp_smarthost: debug_print = "T: remote_smtp_smarthost for $local_part@$domain" driver = smtp delay_after_cutoff = false port = <%= @smarthost_port %> tls_tempfail_tryclear = false - hosts_require_tls = <%= scope.lookupvar('deprecated::nodeinfo')['smarthost'] %> + hosts_require_tls = <%= @smarthost %> tls_certificate = /etc/exim4/ssl/thishost.crt tls_privatekey = /etc/exim4/ssl/thishost.key <%- end -%>