Re: [exim] exim4 and problem with ${extract... and white spa…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: exim-users
Sujet: Re: [exim] exim4 and problem with ${extract... and white spaces
Heiko Schlittermann wrote:

>     command = /tmp/script ${extract{uux}{uux=/bin/uux rmail=rmail}{$value}}
> [ do not think about the sense, the original is more complicated ;-) ]
> exim always tells me about errors and missing '}' resp '{'.


works here (Exim 4.47 snapshot):
$ exim -be '${extract{uux}{uux=/bin/uux rmail=rmail}{$value}}'
/bin/uux

>     command = ${extract{uux} ${lookup{$domain}lsearch{/etc/exim4/uucp.commands}{$value}}}


Put {} around every argument!

${extract {uux} {${lookup{$domain}lsearch{/tmp/t}}}}

{$value} is not needed, but also does no harm.