Re: [Exim] exim exchange2000 ldap

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tabor J. Wells
Date:  
À: Bauer, Felix
CC: exim-users
Sujet: Re: [Exim] exim exchange2000 ldap
On Mon, Apr 05, 2004 at 04:24:57PM +0200,
Bauer, Felix <bauer@???> is thought to have said:

> I had a look at
> http://exim.planetmirror.com/exim-html-4.30/doc/html/C043.txt which


This is my config, although it was based on Exchange 5.5 at the time. Some
updates were necessary for Exchange2k (details are somewhere in the list
archive but I think I can sum up most of it below)

> 23497 lookup deferred: LDAP search failed - error 1: Operations
> error/000020D6: SvcErr: DSID-0310067F, problem 5012 (DIR_ERROR), data 0
> 23497


The first thing to check would be the value of your ldap_default_servers
One of the things I had to do is when querying AD, I had to use the LDAP
listener (Global Catalog I think it's called) on port 3268 rather than the
default LDAP port. So my ldap_default_servers looks like:

ldap_default_servers = 192.168.1.90::3268

where 192.168.1.90 is my AD server.

My routers changed to:

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}}

and the route_data file contains entries like:

example.com: 192.168.1.20
example.net: 192.168.1.20
...

where each IP is the exchange server that handles that domain's mail.

HTH,

Tabor

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