[Exim] Match recipients against an addresslist

Top Page
Delete this message
Reply to this message
Author: Hunte Swee
Date:  
To: exim-users
Subject: [Exim] Match recipients against an addresslist
I wanna copy all of inbound messeages sent to paticular address, but it seems very difficult.

exim.conf
...
addresslist inbound_address = user1@??? : user2@??? : user100@???

...
begin routers
...
r_copy_inbound_by_address:
driver = accept
condition = ${if match {$inbound_address} {\N$local_part@$domain\N}}
#
# how to write the condition?
#
transport = t_copy_inbound_by_address
unseen
...

It don't work. Please help me.