[exim] local_domains in ldap

Top Page
Delete this message
Reply to this message
Author: Timo Boettcher
Date:  
To: exim-users
Subject: [exim] local_domains in ldap
Hi,

I am trying to setup exim with vitual users and domains in ldap.
However, I have been failing to setup local_domains with ldap

exim -be seems to return good data
> ${lookup ldapm{user=cn=exim,ou=daemons,o=myhost pass=*secret*
> ldap://localhost:389/ou=domains,o=myhost?dc?one}}

mydomain1
mydomain2
mydomain3

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.

I use

domainlist local_domains = ${lookup ldapm{user=LDAP_USER
pass=LDAP_PASSWORD ldap://localhost:389/ou=domains,LDAP_BASE?dc?one}}

to set local_domains. Any help appreciated.

Timo