[exim-dev] [Bug 2759] New: handled failing readsocket in acl…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [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@???
          Reporter: jasen@???
                CC: exim-dev@???


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.