Re: [Exim] Syntax has me stumped

Top Page
Delete this message
Reply to this message
Author: Christian Froemmel
Date:  
To: exim-users
Subject: 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