On Wed, Oct 15, 2003 at 03:29:47PM +0800, Hunte Swee wrote:
> 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.
Afaict an addresslist simply does work, as there is no nice function to
check whether a specific address ($local_part@$domain) is part of an
addresslist. "match" does regex matching, i.e. blah.foo@???
would match blahxfoo@??? which is probably not what you want.
cu andreas