On 2023-10-23 SerNet Support Kevin Ivory <supp...@sernet.de> wrote: [...] > That binary does not fix the problem of quote with space included:
> # /usr/sbin/exim4 -be '${run{/usr/bin/echo ${quote:hello world}}}' > Failed: Expansion of "${quote:hello" from command "/usr/bin/echo > ${quote:hello world}" in ${run} expansion failed: missing } at end of string [...] ${run expansion changed in 4.96: "If the option preexpand is not used, the command string is split into individual arguments by spaces and then each argument is expanded." i.e. /usr/bin/echo ${quote:hello world} is split into /usr/bin/echo ${quote:hello world} and the second string yields an expansion error. Use /usr/sbin/exim4 -be '${run,preexpand{/usr/bin/echo ${quote:hello world}}}' to get the old behavior. cu Andreas