ansible-role-postfix/templates/virtual-senders.cf.j2
2020-07-03 14:25:56 +02:00

11 lines
305 B
Django/Jinja

{% if postfix.ldap.enable %}
bind = yes
# bind_dn =
# bind_pw =
server_host = {{ postfix.ldap.server_host }}
search_base = {{ postfix.ldap.senders.search_base }}
query_filter = {{ postfix.ldap.senders.query_filter }}
result_attribute = uid
{% else %}
# LDAP is not configured for this server.
{% endif %}