mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-14 03:14:56 +02:00
Add ldap auth for postfix and dovecot (#352)
* Add ldap support for postfix and dovecot * Add SASLAUTHD * Update README.md * Add necessary packages to dockerfile * Add config files for ldap * Add tests for ldap auth
This commit is contained in:
parent
5298271bfd
commit
3ec1fb202d
20 changed files with 468 additions and 18 deletions
8
test/config/postfix-ldap-users.cf
Normal file
8
test/config/postfix-ldap-users.cf
Normal file
|
@ -0,0 +1,8 @@
|
|||
bind = yes
|
||||
bind_dn = cn=admin,dc=my-domain,dc=com
|
||||
bind_pw = admin
|
||||
query_filter = (&(mail=%s)(mailEnabled=TRUE))
|
||||
result_attribute = mail
|
||||
search_base = ou=people,dc=my-domain,dc=com
|
||||
server_host = mail.my-domain.com
|
||||
version = 3
|
Loading…
Add table
Add a link
Reference in a new issue