OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Working Postfix-Ldap-Config?

Victor.Duchovnimorganstanley.com
Date: Mon Jun 02 2003 - 09:32:11 CDT


On Sun, 1 Jun 2003, Timo Boettcher wrote:

> Hi,
>
> does somebody have a working postfix config, with ldap (resolving
> alias -> address -> mailbox) and willing to send it to me?
> Thanks for input.
>

This problem can be broken down into two parts:

1. Does anyone have a working Postfix config that uses aliases?

2. Does anyone know how to replace "alias_maps = hash:/etc/aliases" with
"alias_maps = ldap:ldap_aliases"?

Once you have step 1 working, add appropriate "ldap_aliases_... = ..."
settings to main.cf and test the map with:

        postmap -q alias ldap:ldap_aliases

When the map returns sensible answers proceed to step 2.

If the problem is in LDAP schema design, the issue is often much broader
than Postfix, since LDAP is often used by multiple applications, Postfix
is very flexible in regard to the LDAP schema you decide what queries to
make and which attributes to return. Search the list archives for pointers
to "standard" schemas.

--
        Viktor.