WIP: configure postfix to use SASL to auth senders

This commit is contained in:
Morre 2020-07-05 16:44:54 +02:00
parent 1ce9ef9640
commit c08931882a
No known key found for this signature in database
GPG key ID: 5D9B9B1B8F424BBC
12 changed files with 147 additions and 39 deletions

View file

@ -0,0 +1,10 @@
{% 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 %}