> > How can I override lookups that performs against target
> > e-mail address? For example, It is need to search only
> > against mail address, t.?. if address is [EMAIL PROTECTED],
> > search shoud only be done only for [EMAIL PROTECTED] and not
> > for @my.domain and so on.
>
> No, currently all lookups (SQL, LDAP, tables, etc.) use the
> same query key mechanism on which lookups are done.
>
> Why do you want to limit the lookups? What is the problem,
> issue you are trying to solve?


AMaViS brokes my LDAP filter which used for lookups. For 
example, if filter is (lookup going to be done against mail 
adress and its aliases):

(&(objectClass=amavisAccount)(|(mail=%m)(mailAlias=%m)))

and we are looking for [EMAIL PROTECTED], it expands to:

(&(objectClass=amavisAccount)(|(|([EMAIL PROTECTED]) \
(mail=my)([EMAIL PROTECTED])([EMAIL PROTECTED])([EMAIL PROTECTED]) \
([EMAIL PROTECTED]))(mailAlias=%m)))



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to