WIP: configure postfix to use SASL to auth senders
This commit is contained in:
parent
1ce9ef9640
commit
c08931882a
12 changed files with 147 additions and 39 deletions
10
templates/saslauthd.conf.j2
Normal file
10
templates/saslauthd.conf.j2
Normal 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue