X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fpostfix%2Ftemplates%2Fmain.cf-header.erb;h=6f6cbe504e92db5e4959f24b25a670104ab478cd;hb=2835c1daf1a5f55ec56366fa5d534b6bfc7728cb;hp=4bbeba441088cfc89510ca3f8118614ed5b322e3;hpb=9b30e3a790b513ee65d8d0cb777db120dcf1560c;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