Mailing List Archive

[Bug 2759] New: handled failing readsocket in acl in event_action breaks SMTP
https://bugs.exim.org/show_bug.cgi?id=2759

Bug ID: 2759
Summary: handled failing readsocket in acl in event_action
breaks SMTP
Product: Exim
Version: 4.94
Hardware: x86
OS: Linux
Status: NEW
Severity: bug
Priority: medium
Component: String expansion
Assignee: unallocated@exim.org
Reporter: jasen@treshna.com
CC: exim-dev@exim.org

The readsocket expansion's error string parameter doesn't seem to fully
mitigate the failure.

setting the following event action breaks the SMTP transport

event_action = ${acl{accept continue =
${readsocket{/run/nosuchsocket}{foo}{}{}{}} }}

/run/nosuchsocket does not exist which causes readsocket to fail, but the
presense of a failure string does not seem to mitigate all the failure effects.


without the readsocket it works fine

event_action = ${acl{accept continue = }}


in the actual use case readsocket is called from a named acl, not inline as
above, this is a minimum test case.

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