Bill, thanks for your comprehensive answer. Here is a simplified version 
of what I want to do:

If message contains word "cat" AND user1, user2 are listed in rcpt to 
command 
THEN message should be delivered ONLY to them (all other possible 
recipients should be dropped). 

If it also contains word "dog" AND user3 is listed in rcpt to command THEN 
message should be delivered only to user1, user2, user3, etc.

So I try to build a dynamic whitelist  of recipients mostly based on the 
contents of a message. Whitelist is stored in acl_m variable (BTW is it a 
bad idea?).

I don't want to generate backscatters, so non-whitelsited recipients 
should be just silently dropped. 

As I know this could be achieved only at router stage - but I can't 
understand how it works with multiple recipients....

Regards, 

Vitas,


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to