Source

iredmail / iRedMail / samples / postfix / ldap / transport_maps_domain.cf

server_host     = 127.0.0.1
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = cn=vmail,dc=example,dc=com
bind_pw         = RBUuFDo31MJbLkJgrwkaKkmRg7Cldw
search_base     = PH_LDAP_BASEDN
scope           = one
query_filter    = (&(objectClass=mailDomain)(|(domainName=%s)(domainAliasName=%s))(accountStatus=active)(enabledService=mail))
result_attribute= mtaTransport
debuglevel      = 0