|Main Archive Page > Month Archives > postfix-users archives|
On Oct 8, 2010, at 8:11 AM, Frank Bonnet wrote:
> 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
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