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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jakob Hirsch
日付:  
To: exim-users
題目: 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.