Re: [exim] Exim LDAP Domain alias router

Top Page
Delete this message
Reply to this message
Author: Graeme Fowler
Date:  
To: exim-users
Subject: Re: [exim] Exim LDAP Domain alias router
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.


No, that isn't a valid LDAP filter.

It would become:

(&(objectClass=mailDomain)(|(domainName=$domain)(domainAliasName=$domain))

Graeme