Re: local_recipient_maps into an ldap

2009-09-04 Thread Victor Duchovni
On Fri, Sep 04, 2009 at 03:24:53PM +0200, Nicolas Michel wrote: >Here is the content of my ldap config file : > > server_host = ldap://zimbra.pcsol.be:389 > server_port = 389 > search_base = > query_filter = (mail=%s) > result_atribute = mail > version = 3 The w

Re: local_recipient_maps into an ldap

2009-09-04 Thread Victor Duchovni
On Fri, Sep 04, 2009 at 08:55:36AM +0200, Nicolas Michel wrote: >So I summarize. I have now that configuration into my ldap-localusers.cf : > > server_host = zimbra.pcsol.be > search_base = ou=people,dc=pcsol,dc=be > query_filter = (&(mail=%s)(zimbraMailStatus=enabled)) >

Re: local_recipient_maps into an ldap

2009-09-04 Thread Nicolas Michel
match ^^)? Message original ---- Sujet: Re: local_recipient_maps into an ldap Date: Fri, 04 Sep 2009 08:55:36 +0200 De: Nicolas Michel Pour :: postfix-users

local_recipient_maps into an ldap

2009-09-04 Thread Nicolas Michel
tmap -v -q "n...@pcsol.be" ldap:/etc/postfix/ldap-localusers.cf Someone know why I can't get a result from my search (that have 1 match ^^)? Message original Sujet: Re: local_recipient_maps into an ldap Date: Fri, 0

Re: local_recipient_maps into an ldap

2009-09-03 Thread Nicolas Michel
Victor Duchovni a écrit : On Thu, Sep 03, 2009 at 01:04:01PM +0200, Nicolas Michel wrote: In that file (ldap-localusers.cf), I set this : server_host = zimbra.pcsol.be search_base = ou=people,dc=pcsol,dc=be query_filter = (&(mail=%s)(accountStatus=active))

Re: local_recipient_maps into an ldap

2009-09-03 Thread Victor Duchovni
On Thu, Sep 03, 2009 at 01:04:01PM +0200, Nicolas Michel wrote: >In that file (ldap-localusers.cf), I set this : > > server_host = zimbra.pcsol.be > search_base = ou=people,dc=pcsol,dc=be > query_filter = (&(mail=%s)(accountStatus=active)) > result_atribute = uid > bi

Re: local_recipient_maps into an ldap

2009-09-03 Thread Nicolas Michel
Olivier Nicole a écrit : Nicolas, server_host = zimbra.pcsol.be Are you sure your server is running on port 389? Would you run TLS? >From your Postfix machine, can you access the LDAP server on zimbra machine (no firewall)? I would try ldapsearch command on the postfi

Re: local_recipient_maps into an ldap

2009-09-03 Thread Olivier Nicole
Nicolas, > server_host = zimbra.pcsol.be Are you sure your server is running on port 389? Would you run TLS? >From your Postfix machine, can you access the LDAP server on zimbra machine (no firewall)? I would try ldapsearch command on the postfix machine to make sure that all the parameters in

local_recipient_maps into an ldap

2009-09-03 Thread Nicolas Michel
Hello, I have a zimbra server for managing mail accounts. I have a postfix mail server before it. Mails from outdoor arrive on that server before being relayed to the zimbra server. I want to search from the postfix server into the ldap of zimbra the users/aliases to reject every mail destina