Re: [exim] Multi-valuied LDAP lookups in domain lists

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Stian Jordet
Dátum:  
Címzett: Jake Scott
CC: Exim Users
Tárgy: Re: [exim] Multi-valuied LDAP lookups in domain lists
søn, 03,.04.2005 kl. 16.27 +0100, skrev Jake Scott:

>    domainlist relay_to_domains = \
>            ${lookup ldap {user=LDAP_BIND pass=LDAP_PWD
>    \                          

>
>    ldaps:///cn=relayDomains,LDAP_CONFIG?associatedDomain?base?(associatedDomain=$domain)
>    }}


This is working very well for me:

domainlist local_domains = @:localhost:ldap;
\ldaps:://buick.jordet.net/sendmailMTAClassName=VirtHost
\,ou=domains,ou=exim,ou=services,dc=jordet?sendmailMTAClassValue
\?sub?sendmailMTAClassValue=$domain

(It's Evolution that's putting the \ on the start of the line, instead
of on the end of the earlier line) The reason I use
sendmailMTAClassValue and sendmailMTAClassName is that this is a
migrated sendmail ldap-directory.

Best regards,
Stian