[exim] Re: ${run leaves $value empty

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andreas Metzler
Dátum:  
Címzett: exim-users
Tárgy: [exim] Re: ${run leaves $value empty
On 2023-08-23 Andreas Metzler <eximusers@???> wrote:
> On 2023-08-22 Bill Brelsford via Exim-users <exim-users@???> wrote:
>> Under Exim 4.96-19 in Debian unstable/testing, ${run fails to put
>> standard output into $value. E.g., in a .forward file,

[...]

> This is recent breakage - Checking the uploaded versions this was broken
> by either
> cf3fecb9e873df38a9245775a3887e73a8716083 Fix free of $value after
> ${run...}
> or
> 6707bfa9fb78858de938a1abca2846c820c5ded7 Fix $recipients expansion when
> used within ${run...}. Bug 3013


Hello,

I doublechecked with exim GIT instead of Debian packages, not very
surprising the former patch triggered the error.

While
8c5ab0901f665bfd16bb0a0e85cef8b26e4e7818 Testsuite: testcase for 3013
had
ametzler@argenau:/tmp/EXIM4$ /dev/shm/EXIM4/exim.git/src/build-Linux-x86_64/exim -be '${run{/bin/echo -n foo}{success}{error}} runrc[$runrc] value[$value]'
success runrc[0] value[foo]

cf3fecb9e873df38a9245775a3887e73a8716083 Fix free of $value after ${run...}
broke with
ametzler@argenau:/tmp/EXIM4$ /dev/shm/EXIM4/exim.git/src/build-Linux-x86_64/exim -be '${run{/bin/echo -n foo}{success}{error}} runrc[$runrc] value[$value]'
success runrc[0] value[]

cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/