Mailing List Archive

[Bug 2723] New: RFE: Provide $errno in the readsocket fail string
https://bugs.exim.org/show_bug.cgi?id=2723

Bug ID: 2723
Summary: RFE: Provide $errno in the readsocket fail string
Product: Exim
Version: 4.94
Hardware: All
OS: All
Status: NEW
Severity: wishlist
Priority: medium
Component: String expansion
Assignee: unallocated@exim.org
Reporter: felipe@felipegasper.com
CC: exim-dev@exim.org

There currently doesn’t seem to be a way to tell the client “an internal error
happened” while logging the details of the error to Exim’s log.

It would be great if readsocket allowed something like:

${readsocket \
{/path/to/socket} \
{hi there\n} \
{3s} \
{\n} \
{${perl{log_error_and_say_internal}{$lasterror}}} \
}

Thank you!

--
You are receiving this mail because:
You are on the CC list for the bug.