Postfix

メモ
http://www.zimbra.com/forums/administrators/32502-local_recipient_maps-ldap-search-postfix-server-before-zimbra.html

So here is my config on the relay serveur (postfix postfix-2.1.5-5) :

  • in the main.cf

local_recipient_maps = ldap:/etc/postfix/ldap-localusers.cf

  • in the ldap-localusers.cf

server_host = zimbra.pcsol.be
search_base = ou=people,dc=pcsol,dc=be
query_filter = (&(mail=%s)(zimbraMailStatus=enabled))
result_atribute = uid
version = 3