On Tue, Feb 02, 2010 at 09:13:36AM -0500, Wietse Venema wrote:

> spamv...@googlemail.com:
> > hi..
> > 
> > my postfix checks against openldap.
> > postfix first uses the ldap-aliases.cf to check if its a valid user
> > email, that works.
> > then i tried to use the same ldap-aliases.cf for smtpd_sender_login_maps
> > 
> > But that doesnt work.
> > I get a:
> > postfix/local[7683]: warning: dict_ldap_connect: Unable to bind to
> > server ldaps://ldap.example.com:636 as cn=postfix
> > server,ou=Server,dc=example,dc=com: -1 (Can't contact LDAP server)
> > 
> > [r...@testmail postfix]# postmap -q myn...@example.com
> 
> Don't run the test as root.
And, use "proxy:ldap:${config_directory}/ldap-aliases.cf", LDAP servers
typically don't like the connection concurrency that results from each
smtpd(8) and cleanup(8) using a separate connection. Don't do this,
however, with tables that are used by trivial-rewrite, specifically
at least:

        relay_domains
        mydestination
        virtual_mailbox_domains
        virtual_alias_domains
        transport_maps
        relocated_maps

-- 
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment.  If you are interested, please drop me a note.

Reply via email to