[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 "(firstname.lastname@example.org)" it matches
any record where:
a) mail = email@example.com
b) maildrop = firstname.lastname@example.org
c) mailacceptinggeneralid = email@example.com
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: "(firstname.lastname@example.org)" 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: