Mailing List Archive

[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@wizmail.org> ---
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@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3008] string expansion error related to ${run (condition name expected, but found "") [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3008

--- Comment #2 from Jeremy Harris <jgh146exb@wizmail.org> ---
JH/24 for 4.96 in ChangeLog documents the parsing behaviour change.

--
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@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3008] string expansion error related to ${run (condition name expected, but found "") [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3008

--- Comment #3 from Andreas Metzler <eximusers@bebt.de> ---
Jeremy Harris wrote:
> 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."

Fair enough. So 4.95 letting this work was kind of a bug.

cu Andreas

--
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@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3008] string expansion error related to ${run (condition name expected, but found "") [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3008

--- Comment #4 from Andreas Metzler <eximusers@bebt.de> ---
(In reply to Jeremy Harris from comment #2)
> JH/24 for 4.96 in ChangeLog documents the parsing behaviour change.

Please close as notabug. - Thank you!

--
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@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3008] string expansion error related to ${run (condition name expected, but found "") [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3008

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID

--
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@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/