Re: [Exim] Exim 4.04: ${sg ...} in command

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dave C.
Date:  
À: Marc MERLIN
CC: exim-users
Sujet: Re: [Exim] Exim 4.04: ${sg ...} in command
On Sun, 26 May 2002, Marc MERLIN wrote:

>
> I think i understand that's happening.
>
> Your first search-replace modifies tha $local_part variable (unfortunately)
> so that when you work with it again, its value is already "subscribe"
> You can verify this by replacing
> ${sg{$local_part}{^.*-}{}}
> with just $local_part



Yikes! that seems counter intuituve - I wouldnt expect sg to actualy
modify its input, only take the input and give its result.

He didnt show his director - perhaps it isnt really passing the
-subscribe as part of local part. $local_part_suffix, perhaps?