Re: [Exim] string expansion problem in the rewriting section

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Steffen Herold
CC: exim-users
Assunto: Re: [Exim] string expansion problem in the rewriting section
On Mon, 18 Jun 2001, Steffen Herold wrote:

> Hello ,
>
> I have one problem in the rewriting section of the config file. I want
> to use something like this.
>
> *@lsearch;/etc/exim/virtual/domains
> ${lookup{$1}lsearch{/etc/exim/virtual/$2/incoming}{$value}fail}@$2
> Tt
>
> In this configuration I can't use the $2 variable in the second
> lookup.(or $domain) So how can I make
> this to work.


I don't understand the problem, I'm afraid. Certainly $2 won't be set,
because there's only one "wild" field, but why can't you use $domain?
What goes wrong?

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.