Re: [Exim] Syntax has me stumped

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Christian Froemmel
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Syntax has me stumped
At 20:31 05.10.01, you wrote:

Hi,

>This isn't working:
> file = ${extract{5}{:}{${lookup \
>{$local_part}lsearch{/etc/vmail/passwd.$domain}{"{$value}.forward"}}}}


give this a try (5th-field-expansion after the lookup of the whole line):

file =
${lookup{$local_part}lsearch{/etc/vmail/passwd.$domain}{${extract{5}{:}{$value}}.forward}}

(I don't think you need these quotes around the expanded value).

regards Christian