Re: [exim] Expansion operators in .forward?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: exim-users
Υ/ο: Robert Nicholson
Αντικείμενο: Re: [exim] Expansion operators in .forward?
On Wed, 26 Mar 2008, Phil Pennock wrote:
> On 2008-03-26 at 21:12 -0500, Robert Nicholson wrote:
> > So how do I use ${addresses expansion in a .forward file?
> >
> > When I try it like the following it doesn't work
> >
> > ${addresses:$header_to:} does not match ":?robert\@elastica\.com"
>
> That's because this isn't a facility available to .forward files. The
> variables from Exim are (I think) all available but not the expansion
> operators.


All string expansions are available in filters, except for the ones that
are forbidden by the relevant redirect router.

I think the problem is the stray ?:

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}}