Re: [exim] Exim LDAP Domain alias router

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Graeme Fowler
Datum:  
To: exim-users
Betreff: 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