In a process of deep contemplation, Bender carefully constucted the following missive on 7/18/2005 3:40 PM:
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.

THe question is, what are you trying to accomplish?  The


I'm trying to make per user (t.e. recepient address) settings via directory service (for instance, black and white lists). All mail accounts resides under a single direcroty branch, each of them consist mail attribute and aliases. Besides it, mail account may contain amavisAccount object with some attributes define custom rules for some mailboxes. And directory does not contain any other global settings for amavis. If I all undertand right, this may be done via ldap lookups, isn't it ?


I guess I still need to ask, what is the problem?

If you have an [EMAIL PROTECTED] address in LDAP, it will find it.

If you don't, you can either create a wildcard @domain.com entry, or not. This enables domain-wide wl/bl/settings. If you don't, all the lookups will fail, which is apparently correct behavior. Yes, there will be multiple requests, but it's LDAP -- very efficient, shouldn't be an issue.




-------------------------------------------------------
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_idt77&alloc_id492&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