[exim-dev] [Bug 3041] Error on ${run{/usr/bin/echo ${quote:h…

Top Page
Delete this message
Reply to this message
Author: Exim Bugzilla
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 3041] Error on ${run{/usr/bin/echo ${quote:hello world}}}
https://bugs.exim.org/show_bug.cgi?id=3041

--- Comment #2 from Lena <Lena@???> ---
The problem is the blank between "hello" and "world". Without "preexpand" the
string is split to arguments before expansion. Arguments:

/usr/bin/echo
${quote:hello
world}

My workaround:

set acl_m_shargs = echo $acl_m_user \
       >>$spool_directory/blocked_users; \
       { echo Subject: user $acl_m_user blocked; echo; echo because \
       has sent mail to LIM invalid recipients during PERIOD.; \
       } | $exim_path -f root WARNTO
continue = ${run{SHELL -c "$acl_m_shargs"}}


--
You are receiving this mail because:
You are on the CC list for the bug.

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