ansible-role-postfix/templates/saslauthd.conf.j2
2020-07-05 19:04:03 +02:00

10 lines
265 B
Django/Jinja

{% if postfix.ldap.enable %}
ldap_servers: {{ postfix.ldap.server.host }}/
ldap_version: 3
ldap_search_base: {{ postfix.ldap.search_base }}
ldap_scope: sub
ldap_filter: mail=%u
ldap_auth_method: bind
{% else %}
# LDAP is not configured for this server.
{% endif %}