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

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: exim-users
Assumpte: 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.