Re: [Exim] Syntax has me stumped

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matthew Byng-Maddick
Date:  
À: exim-users
Sujet: 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/