diff --git a/templates/virtual-aliases.cf.j2 b/templates/virtual-aliases.cf.j2 index 8f6e1cf..0f1896b 100644 --- a/templates/virtual-aliases.cf.j2 +++ b/templates/virtual-aliases.cf.j2 @@ -1,9 +1,11 @@ {% if postfix.ldap.enable %} server_host = {{ postfix.ldap.server.host }} server_port = {{ postfix.ldap.server.port }} +bind_dn = {{ postfix.ldap.bind_dn }} +bind_pw = {{ postfix.ldap.bind_pw }} search_base = {{ postfix.ldap.search_base }} query_filter = {{ postfix.ldap.filter }} -result_attribute = {{ postfix.ldap.result_attributes.aliases }} +result_attribute = {{ postfix.ldap.result_attributes.maildrop }} {% else %} # LDAP is not configured for this server. {% endif %}