[exim-dev] [Bug 2257] New: 4.90.1+fixes branch: pipe transpo…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2257] New: 4.90.1+fixes branch: pipe transport ends with: Socket operation on non-socket: Error 88
https://bugs.exim.org/show_bug.cgi?id=2257

            Bug ID: 2257
           Summary: 4.90.1+fixes branch: pipe transport ends with: Socket
                    operation on non-socket: Error 88
           Product: Exim
           Version: N/A
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Transports
          Assignee: nigel@???
          Reporter: arekm@???
                CC: exim-dev@???


Using transport like:

smsnotify_transport:                                                            
   driver = pipe
   ignore_status
   command = /var/admin/bin/smsinfo.pl 
   user = nobody
   group = nobody


which ends up with

R=sql_smsnotify T=smsnotify_transport defer (88): Socket operation on
non-socket: Error 88


Strace shows that exim opens a pipe and then tries to do sendto() to that pipe
which ends with above error.

30578 sendto(9, "[...]\n\tid 1eyE6D-0002tU"..., 1207, MSG_MORE, NULL, 0) = -1
ENOTSOCK (Socket operation on non-socket)

transport_write_block_fd seems to use sendto() if "more" is supported, else
write() and sendto braks for pipes.

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