Also search on the domain name for the virtual domain name in the ldap (Solves: #638) (#642)

Added test to check email delivery for a other domain then the primary
of the mailserver.
This commit is contained in:
Johan Smits 2017-08-19 10:32:00 +02:00 committed by Thomas VIAL
parent 9e7959fafe
commit 04904e77c4
7 changed files with 89 additions and 3 deletions

View file

@ -0,0 +1,8 @@
bind = yes
bind_dn = cn=admin,dc=domain,dc=com
bind_pw = admin
query_filter = (&(|(mail=*@%s)(mailalias=*@%s))(mailEnabled=TRUE))
result_attribute = mail
search_base = ou=people,dc=domain,dc=com
server_host = mail.domain.com
version = 3