Re: [exim] Exim LDAP Domain alias router

Góra strony
Delete this message
Reply to this message
Autor: Graeme Fowler
Data:  
Dla: exim-users
Temat: 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