postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Aliases LDAP maps from the MX ?

Re: Aliases LDAP maps from the MX ?

From: donovan jeffrey j <donovan_at_nospam>
Date: Fri Oct 08 2010 - 12:40:07 GMT
To: Frank Bonnet <f.bonnet@esiee.fr>

On Oct 8, 2010, at 8:11 AM, Frank Bonnet wrote:

> Hello
>
> I would like to use LDAP ( OpenLDAP ) aliases from our MX server
> in order to forward emails to the internal mailhub.
>
> The MX use the transport utility to forward emails to the mailhub
> and does not perform local deliveries.
>
> Thanks for any infos

use ldap lookup for local user

local_recipient_maps = ldap:/etc/postfix/ldaplocal $alias_maps

#etc/postfix/ldaplocal
server_host = 127.0.0.1
search_base = dc=my,dc=ldap,dc=server,dc=com
query_filter = (mail=%s)
result_attribute = mail
#result_filter = uid
bind = no