On Mon, Nov 09, 2009 at 06:42:53PM +0100, Henri wrote: > I have also encountered the same situation : multiple results with one LDAP > query. I first think about the expansion_limit parameter, but it still gives > a lookup transport error. > I have no possibility in adding a parameter to ensure that the LDAP query > will only return one result. > > My ldap directory is quite large and we have several tools to ensure that > there won't be any entries having the same address email. > However it could still happens and I would really appreciate if you could > give us the "solution" to fix that. > > >It is "possible" to work-around the inevitable multiple result values, but > >I am loath to recommend it, so would prefer to not post such a "solution".
The best solution is to enforce primary key collisions when entries are added to LDAP. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.