Re: [exim] redirect within ACL

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Martin A. Brooks
CC: exim-users
Subject: Re: [exim] redirect within ACL
On Sun, 4 Jun 2006, Martin A. Brooks wrote:
>
> As part of an ACL I'd like to explictly re-route mail to a specific
> address. So, if $acl_m1 is equal to 1 the message would always routed
> to foo@???. This seems to require a cross between a router and
> an ACL and I don't quite see how to write it.


Make a decision about setting $acl_m1 in the ACL, then define a router
that is conditional on the value of $acl_m1.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}