server_host = ldap.example.com server_port = 389 bind = yes bind_dn = cn=mailsystem,dc=example,dc=com bind_pw = geheim search_base = ou=kunden,dc=example,dc=com # Matcht auf alle Domains, deren "mailhost" unseren Hostnamen enthält: query_filter = (&(dc=%s)(pfMailHost=*myownhostname.example.com*)) result_attribute = pfMailHost # Egal, welches Ergebnis zurückkommt: Sofern eine Domain auf # "query_filter" passte, wird als Ergebnis "dovecot:" gesetzt. result_filter=dovecot: