Re: [exim] local_domains in ldap [solved]

Góra strony
Delete this message
Reply to this message
Autor: Timo Boettcher
Data:  
Dla: exim-users
Stare tematy: Re: [exim] local_domains in ldap
Temat: Re: [exim] local_domains in ldap [solved]
Hi Tony,


* Tony Finch <dot@???>, Wednesday, February 2, 2005, 11:40:12 AM:

> On Wed, 2 Feb 2005, Timo Boettcher wrote:
>>
>> but seeing "lowest numbered MX record points to local host" for a mail
>> I sent to myself, I guess the dnslookup router gets called for my
>> local domains, which makes me think that local_domains is not set
>> correctly.
>>
>> domainlist local_domains = ${lookup ldapm{user=LDAP_USER
>> pass=LDAP_PASSWORD
>> ldap://localhost:389/ou=domains,LDAP_BASE?dc?one}}


> The result of the ${lookup must be a valid list, i.e. colon-separated.

I was suspecting something like that, though I don't understand why
exim doesn't put it into that form on its own, if it gets multiple
results.

domainlist local_domains = ${tr {${lookup ldapm{ \
    user=LDAP_USER pass=LDAP_PASS \
    ldap://LDAP_HOST/ou=domains,LDAP_BASE?dc?one}}} {\n}{:}}


Works for me

Timo