I am trying to configure exim to validate users against Exchange. I
have all the routers set up as per the article in the wiki. I could set
up a list of ldap servers to query as in the wiki article:
ldap_default_servers = <; dc1.domain.org:3268 ; dc2.domain.org:3268
I would, however, prefer to query the DNS for these servers with the
mechanis suggested in the wiki article:
${extract{4}{ }{${extract{1}{:}{${lookup dnsdb{>:
srv=_gc._tcp.nhm.ac.uk}}}}}}
However, I have 2 problems.
1. I cannot figure out how to use extract all the server from such a
query.
I have tried mutiple extracts but the results do not make sence to me
ie.
${extract{4}{ }{${extract{2}{:}{${lookup dnsdb{>:
srv=_gc._tcp.nhm.ac.uk}}}}}}:3268 ${extract{4}{
}{${extract{3}{:}{${lookup dnsdb{>: srv=_gc._tcp.nhm.ac.uk}}}}}}:3268
However this is not a full solution as I do not know in the general case
how many recoeds are going to be returned.
Can anyone assist with this, is this possible?
Regards
The wiki article in question is:
http://www.exim.org/eximwiki/MsExchangeAddressVerification?highlight=%28
exchange%29