[Date Prev][Date Next]
Re: Search filter wackyness
Luke Pascoe wrote:
Our ldap database has objects with the following attributes (amongst
When I search with this filter "(email@example.com)" it matches
any record where:
a) mail = firstname.lastname@example.org
b) maildrop = email@example.com
c) mailacceptinggeneralid = firstname.lastname@example.org
Obviously there's some funky wildcard foo going on there, but all the
docs I can find suggest this is NOT normal behaviour.
Where do you get those whacky attributes from? To me it says: "Postfix".
But your filter isn't a Postfix filter.
For Postfix (and nothing else) I search attributes with variables like
%u, %s etc and all works as documented: "(email@example.com)" or
"(mail=%s)", the latter where the FQDN email.address.com has been
specified as 'domain' in the Postfix LDAP data search rule.
What client are you using for your lookups? What version, what Openldap
version? Me as up-to-date Openldap and Postfix snapshot as make no
If my mail server refuses your
mail (Swen attack), resend to: