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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matt Bernstein
Date:  
À: Phil Pennock
CC: exim-users
Sujet: Re: [Exim] rewriting ".." -> "/" problem
At 18:10 +0200 Phil Pennock wrote:

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


No, sadly. (I had had a play with regexes too.)

I must be going mad! I'll sleep on it.