diff --git a/bundles/postfix/files/main.cf b/bundles/postfix/files/main.cf index 072d685..105077d 100644 --- a/bundles/postfix/files/main.cf +++ b/bundles/postfix/files/main.cf @@ -33,8 +33,8 @@ smtpd_sasl_auth_enable = yes smtpd_tls_security_level = may smtpd_tls_auth_only = yes -smtpd_tls_cert_file = /var/lib/dehydrated/certs/${node.metadata.get('mailserver/hostname')}/fullchain.pem -smtpd_tls_key_file = /var/lib/dehydrated/certs/${node.metadata.get('mailserver/hostname')}/privkey.pem +smtpd_tls_cert_file = /var/lib/dehydrated/certs/${hostname}/fullchain.pem +smtpd_tls_key_file = /var/lib/dehydrated/certs/${hostname}/privkey.pem smtp_tls_security_level = may smtpd_restriction_classes = mua_sender_restrictions, mua_client_restrictions, mua_helo_restrictions