On 26 Oct 2015, at 08:31, mtrainer@??? wrote: > domainlist local_domains = ${tr {${lookup ldap{user=LDAPUSER
> pass=LDAPPASS
> LDAPS/LDAPBASE?domainName?sub?(&(objectClass=mailDomain)(domainName=$domain))}}}{n}{:}}
>
> I am not sure if adding an "OR domainAliasName=$domain" to the line
> above is the correct way to go.