Re: [Exim] exim ldap lookups with exchange 200 against AD Gl…

Pàgina inicial
Delete this message
Reply to this message
Autor: Tabor J. Wells
Data:  
A: Chris Huff
CC: exim-users
Assumpte: Re: [Exim] exim ldap lookups with exchange 200 against AD Global Catalogue
On Mon, Jun 02, 2003 at 02:25:51PM -0700,
Chris Huff <chuff@???> is thought to have said:

>
> Im trying to get exim3 to do a ldap lookup against out Primary Active
> Directory controller but it doesnt seem to work. Is anyone doing this, could
> you please post and example of a director or somthing like that? Thanks.
>
> Heres what im trying
>
> ldap:://lombardi.corp.blah.com::389/dc=corp,dc=blah,dc=com?mail?sub?(proxyAd
> dresses=smtp\\:${local_part}@${domain}):\


First off I think you'll want to use port 3268 rather than 389.

Here's what I use for my Exchange 2000 Routers in Exim 4. Hopefully it's
enough for you to fit to Exim 3.

exchangeProxyAddressesLookup:
driver = redirect
data = ${lookup ldap
{ldap:///CN=Users,DC=example,DC=com?mail?sub?(proxy
Addresses=SMTP:${quote_ldap:$local_part}@${quote_ldap:$domain})}}
domains = dbm;/etc/exim/db/localdomains.db
verify_recipient
self = pass
pass_router = exchangeRoute
no_more

exchangeRoute:
driver = manualroute
transport = remote_smtp
route_data = ${lookup{$domain}dbm{/etc/exim/db/localdomains.db}}

My localdomains file contains entries like:

example.com: 10.0.0.5
example.net: 10.0.0.6
etc...

Tabor

--
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality