Re: [Exim] Syntax has me stumped

Top Page
Delete this message
Reply to this message
Author: Matthew Byng-Maddick
Date:  
To: exim-users
Subject: Re: [Exim] Syntax has me stumped
On Fri, Oct 05, 2001 at 11:31:15AM -0700, Marc Perkel wrote:
> This isn't working:
>
> file = ${extract{5}{:}{${lookup \
> {$local_part}lsearch{/etc/vmail/passwd.$domain}{"{$value}.forward"}}}}
>
> What I'm trying to do is a lookup and extract (does work) and append
> ".forward" onto the value extracted and set file = to that value. I
> can't get the command right.


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


??

MBM

-- 
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/