Re: [Exim] Default values in single-key lookups

Top Pagina
Delete this message
Reply to this message
Auteur: Wakko Warner
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] Default values in single-key lookups
> > In chapter "9.5 Default values in single-key lookups" I find the next
> > line
> >
> > data = ${lsearch*@{$local_part@$domain}{/etc/mixed-aliases}}
> >
> > As I read the text this is exactly what I need, however if it test the
> > router with exim -bt, I get the following errormessage
> >
> You added an extra '{' by the looks of it:
> > failed to expand "${lsearch{*@{$local_part@$domain}}{/etc/aliases}}":


Actually, the syntax looks completely wrong. Should be:
${lookup{$local_part@$domain}lsearch*@{/etc/mixed-aliases}}

--
Lab tests show that use of micro$oft causes cancer in lab animals