Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 50244 invoked from network); 24 Jun 2009 19:31:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jun 2009 19:31:17 -0000 Received: (qmail 6059 invoked by uid 500); 24 Jun 2009 19:31:28 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 5988 invoked by uid 500); 24 Jun 2009 19:31:27 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 5978 invoked by uid 99); 24 Jun 2009 19:31:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 19:31:27 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [195.121.247.33] (HELO psmtp31.wxs.nl) (195.121.247.33) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 19:31:17 +0000 Received: from mail.daanemanz.nl (ip565d8282.direct-adsl.nl [86.93.130.130]) by psmtp31.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0KLR003M8CVKB2@psmtp31.wxs.nl> for users@directory.apache.org; Wed, 24 Jun 2009 21:30:56 +0200 (CEST) Received: from zarafa.daanemanz.lan (localhost.localdomain [127.0.0.1]) by mail.daanemanz.nl (Postfix) with ESMTP id 2B9021A2C8 for ; Wed, 24 Jun 2009 21:29:43 +0200 (CEST) Date: Wed, 24 Jun 2009 21:29:42 +0200 From: =?windows-1252?Q?Daan_van_den_Berg?= Subject: RE: ADS + Postfix integration To: users@directory.apache.org Message-id: MIME-version: 1.0 X-Mailer: Zarafa 6.20.7-15038 Content-type: multipart/alternative; boundary="Boundary_(ID_DRahgwqT6wqbpbfkNk26kw)" X-Priority: 3 (Normal) X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_DRahgwqT6wqbpbfkNk26kw) Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: quoted-printable =0D=0AOops, forgot to mention version numbers.=0D=0A=0D=0A=A0=0D=0A=0D=0A= ADS version 1.5.4=0D=0A=0D=0APostfix version 2.5.1=0D=0A=0D=0A=A0=0D=0A=0D= =0APostfix is running on Ubuntu JeOS 8.04.2, ADS on Ubuntu Server 8.04.2 = 64-bit.=0D=0A=0D=0A=A0=0D=0A=0D=0A-Daan=0D=0A=A0=0D=0A=0D=0A--=0D=0AD.M.J= =2E van den Berg, B.Sc.=0D=0Ae: daan@daanemanz.nl=0D=0Am: +31624894399=0D= =0A--=0D=0AThis e-mail was sent to you using open source products, such a= s Zarafa, Postfix and Ubuntu Linux. Please consider using open source pro= ducts, it will give you software freedom. Also consider the environment b= efore printing this email.=0D=0A=0D=0A=A0=0D=0A=A0=0D=0A-----Oorspronkeli= jk bericht-----=0D=0AVan: Daan van den Berg =0D=0AVerz= onden: wo 24-06-2009 20:50=0D=0AAan: users@directory.apache.org;=20=0D=0A= Onderwerp: ADS + Postfix integration=0D=0A=0D=0A=0D=0AHello,=0D=0A=0D=0A=A0= =0D=0A=0D=0Atoday I tried to test a setup in which I want to configure po= stfix such that it retrieves user information from ADS. The mail server c= an in fact retrieve this information from ADS, but postfix cannot.=0D=0A=0D= =0A=A0=0D=0A=0D=0AI configured postfix with the following options:=0D=0A=0D= =0A=A0=0D=0A=0D=0Aalias_maps =3D hash:/etc/aliases ldap:ldapsrc=0D=0Aalia= s_database =3D hash:/etc/aliases ldap:ldapsrc=0D=0A=0D=0Avirtual_alias_ma= ps =3D ldap:ldapsrc=0D=0A=0D=0Aldapsrc_server_host =3D =0D=0Al= dapsrc_server_port =3D 10389=0D=0Aldapsrc_search_base =3D ou=3DUsers,dc=3D= test,dc=3Dlan=0D=0Aldapsrc_query_filter =3D (|(mail=3D%s))=0D=0Aldapsrc_b= ind_dn =3D cn=3Dadmin,dc=3Dtest,dc=3Dlan=0D=0Aldapsrc_bind_pw =3D =0D=0Aldapsrc_version =3D 3=0D=0Aldapsrc_result_attribute =3D uid=0D= =0A=0D=0A=A0=0D=0A=0D=0ABut, unfortunately, I receive the following error= in /var/log/mail.err when sending an e-mail from one test user to the ot= her in my test setup:=0D=0A=0D=0A=A0=0D=0A=0D=0AJun 24 19:37:02 zarafa po= stfix/trivial-rewrite[4270]: fatal: ldap:ldapsrc(0,lock|fold_fix): table = lookup problem=0D=0A=0D=0A=0D=0AWhat might I be doing wrong here, anyone = able to help=3F I can query the database with ldapsearch as I could with = my (production) openLDAP setup, and in my production environment, everyth= ing works fine with these options configured in postfix.=0D=0A=0D=0A=A0=0D= =0A=0D=0AThanks in advance,=0D=0A=0D=0ADaan=0D=0A=0D=0A=A0=0D=0A=0D=0A--=0D= =0AD.M.J. van den Berg, B.Sc.=0D=0Ae: daan@daanemanz.nl=0D=0Am: +31624894= 399=0D=0A--=0D=0AThis e-mail was sent to you using open source products, = such as Zarafa, Postfix and Ubuntu Linux. Please consider using open sour= ce products, it will give you software freedom. Also consider the environ= ment before printing this email.=0D=0A= --Boundary_(ID_DRahgwqT6wqbpbfkNk26kw)--