Re: [Exim] Syntax has me stumped

Pàgina inicial
Delete this message
Reply to this message
Autor: Christian Froemmel
Data:  
A: exim-users
Assumpte: 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