X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpostfix%2Ftemplates%2Fmain.cf-header.erb;h=6f6cbe504e92db5e4959f24b25a670104ab478cd;hb=d0c098685b92334a611a0c596a35f538b95ead47;hp=4bbeba441088cfc89510ca3f8118614ed5b322e3;hpb=c7afa6d04e06776ac94206451153d6c0c0572495;p=mirror%2Fdsa-puppet.git diff --git a/modules/postfix/templates/main.cf-header.erb b/modules/postfix/templates/main.cf-header.erb index 4bbeba441..6f6cbe504 100644 --- a/modules/postfix/templates/main.cf-header.erb +++ b/modules/postfix/templates/main.cf-header.erb @@ -4,12 +4,12 @@ mydomain = debian.org compatibility_level = 2 smtp_dns_support_level = dnssec -<%- if scope.lookupvar('site::nodeinfo')['smarthost'].empty? -%> +<%- if scope.lookupvar('deprecated::nodeinfo')['smarthost'].empty? -%> smtp_tls_security_level = dane <%- else -%> smtp_tls_security_level = dane-only # yes, do MX lookups on the relayhost, since those have TLSA records -relayhost = <%= scope.lookupvar('site::nodeinfo')['smarthost'] %>:submission +relayhost = <%= scope.lookupvar('deprecated::nodeinfo')['smarthost'] %>:submission <%- end -%> # tls stuff