On Wed, Nov 3, 2010 at 1:45 PM, Edward Carraro <[email protected]> wrote: > On Wed, Nov 3, 2010 at 12:36 PM, Reinaldo de Carvalho <[email protected]> > wrote: >> $ cat /etc/postfix/virtual > > $ cat virtual | grep -v "#" > server_host = ldap://ldapserver:389 > server_port = 389 > search_base = > query_filter = (mail=%s) > result_attribute = uid > version = 3 > start_tls = no > bind = yes > bind_dn = xxxxxx > bind_pw = xxxxxx > timeout = 30 >
1. Your first e-mail does not reflect the truth, with this setup that never worked. You must set a basedn. 2. You did not apply the changes I suggested >> >> IMO /etc/postfix/virtual isn't a good file name for sender login lookups. >> >> $ postmap -vq [email protected] ldap:/etc/postfix/virtual >> > > $ postmap -vq [email protected] ldap:/etc/postfix/virtual > ... > postmap: warning: dict_ldap_lookup: /etc/postfix/virtual: Search base '' not > found: 32: No such object > postmap: dict_ldap_close: Closed connection handle for LDAP source > /etc/postfix/virtual > You must set a basedn. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works" (myself)
