[exim-dev] [Bug 3008] string expansion error related to ${ru…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim Bugzilla
日付:  
To: exim-dev
題目: [exim-dev] [Bug 3008] string expansion error related to ${run (condition name expected, but found "")
https://bugs.exim.org/show_bug.cgi?id=3008

--- Comment #1 from Jeremy Harris <jgh146exb@???> ---
That looks like badly written syntax, not a bug, at first sight.

Docs for ${run } :-

"If the option preexpand is not used, the command string is split into
individual arguments by spaces and then each argument is expanded."

Debug shows (just by adding "-d+all") :-

12:07:09.051 1210885 direct command:
12:07:09.051 1210885 argv[0] = '/usr/bin/false'
12:07:09.051 1210885 argv[1] = 'identity'
12:07:09.051 1210885 argv[2] = '${if'
12:07:09.051 1210885 argv[3] = 'def:sender_address_domain'
12:07:09.051 1210885 argv[4] = '{isdefined}{notdefined}}'
12:07:09.051 1210885 arg 0
12:07:09.051 1210885 arg 1
12:07:09.051 1210885 arg 2
12:07:09.051 1210885 ╭considering: ${if
12:07:09.051 1210885 ├failed to expand: ${if
12:07:09.051 1210885 ╰───error message: condition name expected, but found ""

--
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/