aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2 b/ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2
index cc6330a..a0dc1c3 100644
--- a/ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2
+++ b/ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2
@@ -5,7 +5,7 @@ bind = yes
bind_dn = {{ postfix_bind_user }}
bind_pw = {{ postfix_bind_password }}
search_base = {{ postfix_bind_search_base }}
-query_filter = (mail=%[email protected])
+query_filter = (&(mail=%[email protected])(mail=%s))
result_attribute = uid
result_format = %s@localhost
version = 3