From 9b02f1f25f74fdd4bee8ff2b3b52675a042d069a Mon Sep 17 00:00:00 2001 From: Morre Date: Fri, 10 Jul 2020 11:33:03 +0200 Subject: [PATCH] Add bind_dn and bind_pw to saslauthd config --- templates/saslauthd.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/saslauthd.conf.j2 b/templates/saslauthd.conf.j2 index 961babc..885647d 100644 --- a/templates/saslauthd.conf.j2 +++ b/templates/saslauthd.conf.j2 @@ -1,6 +1,8 @@ {% if postfix.ldap.enable %} ldap_servers: {{ postfix.ldap.server.host }}/ ldap_version: 3 +ldap_bind_dn: {{ postfix.ldap.bind_dn }} +ldap_bind_pw: {{ postfix.ldap.bind_pw }} ldap_search_base: {{ postfix.ldap.search_base }} ldap_scope: sub ldap_filter: mail=%u