Re: [Exim] rewriting ".." -> "/" problem

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Matt Bernstein
CC: exim-users
Subject: Re: [Exim] rewriting ".." -> "/" problem
On 2002-05-07 at 16:58 +0100, Matt Bernstein wrote:
> I want to rewrite x..y@??? to x/y@??? with a rule
> like..
>
> *..*@REAL_DOMAIN    $1/$2@REAL_DOMAIN    Tbct

>
> ..but running through exim -d -bv gives me this:
>
> address match: subject=a..b@??? pattern=*..*@dcs.qmul.ac.uk
> a..b@??? in "*..*@dcs.qmul.ac.uk"? no (end of list)


Is that use of ".*" on the LHS triggering a switch to use of regular
expressions?

If you use:
 (.*)\.\.(.*)@REAL_DOMAIN    $1/$2@REAL_DOMAIN    Tbct
does that help?



I can't immediately see anything in section 30 of the Exim 4 Spec which
describes the use of regular expressions, but the last example, for
bang-paths, does make use of the feature.
--
The only thing necessary for the triumph of evil is for good men to do nothing.
-- Edmund Burke (1729-1797)