diff options
3 files changed, 33 insertions, 0 deletions
diff --git a/ansible/roles/postfix/templates/ldap/ldap-registeredaddress.cf.j2 b/ansible/roles/postfix/templates/ldap/ldap-registeredaddress.cf.j2 new file mode 100644 index 0000000..99fc105 --- /dev/null +++ b/ansible/roles/postfix/templates/ldap/ldap-registeredaddress.cf.j2 @@ -0,0 +1,11 @@ +# Ansible Managed + +server_host = {{ postfix_bind_server }} +bind = yes +bind_dn = {{ postfix_bind_user }} +bind_pw = {{ postfix_bind_password }} +search_base = {{ postfix_bind_search_base }} +query_filter = (mail=%s) +result_attribute = registeredAddress +result_format = %s +version = 3 diff --git a/ansible/roles/postfix/templates/ldap/ldap-relay-recipients.cf.j2 b/ansible/roles/postfix/templates/ldap/ldap-relay-recipients.cf.j2 new file mode 100644 index 0000000..d2b7f29 --- /dev/null +++ b/ansible/roles/postfix/templates/ldap/ldap-relay-recipients.cf.j2 @@ -0,0 +1,11 @@ +# Ansible Managed + +server_host = {{ postfix_bind_server }} +bind = yes +bind_dn = {{ postfix_bind_user }} +bind_pw = {{ postfix_bind_password }} +search_base = {{ postfix_bind_search_base }} +query_filter = (mail=%s) +result_attribute = mail +result_format = %s +version = 3 diff --git a/ansible/roles/postfix/templates/ldap/ldap-uid.cf.j2 b/ansible/roles/postfix/templates/ldap/ldap-uid.cf.j2 new file mode 100644 index 0000000..638e23a --- /dev/null +++ b/ansible/roles/postfix/templates/ldap/ldap-uid.cf.j2 @@ -0,0 +1,11 @@ +# Ansible Managed + +server_host = {{ postfix_bind_server }} +bind = yes +bind_dn = {{ postfix_bind_user }} +bind_pw = {{ postfix_bind_password }} +search_base = {{ postfix_bind_search_base }} +query_filter = (mail=%s) +result_attribute = uid +result_format = %s@localhost +version = 3 |