Mailing List Archive

[Bug 2932] New: The preexpand option must be appended to run with ', ' but without a whitespace
https://bugs.exim.org/show_bug.cgi?id=2932

Bug ID: 2932
Summary: The preexpand option must be appended to run with ','
but without a whitespace
Product: Exim
Version: 4.96
Hardware: x86
OS: All
Status: NEW
Severity: bug
Priority: medium
Component: Documentation
Assignee: unallocated@exim.org
Reporter: r.jenster@drachenfels.de
CC: exim-dev@exim.org

Created attachment 1432
--> https://bugs.exim.org/attachment.cgi?id=1432&action=edit
Fix doc for $run preexpand option and add examples.

I took some time for us to realise that the new *preexpand* option must be
appended to **run** without whitespace.

With an additional whitespace you'll instead receive the following error
message:

```
2022-11-09 17:16:39 H=(exim4) [127.0.0.1] temporarily rejected DATA: failed to
expand ACL string "${run ,preexpand{/usr/bin/printf "<%s> " $acl_m_arg1
$acl_m_arg2 $acl_m_arg3}}": missing '{' for command arg of run
```

```
2022-11-09 16:31:40 H=(exim) [127.0.0.1] temporarily rejected DATA: failed to
expand ACL string "${run preexpand{/usr/bin/printf "<%s> " $acl_m_arg1
$acl_m_arg2 $acl_m_arg3}}": missing '{' for command arg of run
```

I've updated the docs and added examples that show the usage of the preexpand
option and point out the difference between run with and without the preexpand
option.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##