After upgrading to 4.96-15 in Debian 12 (from 4.94.2-7), ${run
expansions with embedded ${ fail. E.g., in my .forward file,
add "${run{/usr/bin/echo -n ${quote:123}}}" to n8
gives
2023-06-12 19:56:28 1q8uCq-0005t0-10 == foo@k2di R=userfwd defer (-17): error
in filter file: failed to expand "
Under Exim 4.96-19 in Debian unstable/testing, ${run fails to put
standard output into $value. E.g., in a .forward file,
if "${run{/bin/echo -n foo}{}}$runrc" is not 99
then save /tmp/exim-$runrc-$value endif
creates file /tmp/exim-0- rather than /tmp/exim-0-foo. It works
correctly in 4.
On Thu Aug 24 2023 at 07:07 PM +0100, Jeremy Harris via Exim-users wrote:
> > Bother. I didn't spot that $value is documented to be useable as the
> > result after the call, not just in the result expansions.
>
> Addressed by c18090c685f5, 21b172df101c.
Thanks, Jeremy and Andreas!
--
Bill
--