On 2025/07/25 1:25 PM, Niklas Schell via Exim-users wrote:
Am I missing something here? Why does exim get a result code of 255 instead of
1?
Possibly your OS does not interpret shebang (the "#! command" as the first
line of a script) within the kernel but requires a shell to do it.
The ${run...} expansion just feeds the command to an exec() syscall.
If you want a shell you have to use a shell as the command.
--
Cheers,
Jeremy
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/