Viktor Dukhovni [2016-08-03 22:28 +0000] :

> On Thu, Aug 04, 2016 at 12:16:48AM +0200, Niklaas Baudet von Gersdorff wrote:
> 
> > > > Funny thing is that `postmap -q m...@niklaas.eu <ldap-config>`
> > > 
> > > Instead of anecdotal re-interpretation of this claim, send the
> > > actual command you used, and the actual output.
> > 
> > -- $ postmap -q m...@niklaas.eu 
> > ldap:/usr/local/etc/postfix/ldap/smtpd_sender_login_maps.cf
> >   n...@niklaas.eu
> 
> This is a query for "m...@niklaas.eu".
> 
> > > >    6    Aug  3 20:16:00 mx postfix/submission/smtpd[82701]: 
> > > > dict_ldap_lookup: 
> > > > /usr/local/etc/postfix/ldap/smtpd_sender_login_maps.cf: Searching with 
> > > > filter 
> > > > (&(objectClass=postfixUser)(mailacceptinggeneralid=m...@nikaas.eu))
> 
> This is not.
> 
> > I use the same lookup table and lookup key (see above) and get no
> > result when postfix queries OpenLDAP.
> 
> Evidently the lookup keys are not the same.

Wow, thanks a lot for spotting that! I guess it was too late when
I worked on this yesterday.

    Niklaas

Reply via email to