[exim-dev] [Bug 400] New: Patch for readsocket to shut down …

Top Pagina
Delete this message
Reply to this message
Auteur: World Wide Web Owner
Datum:  
Aan: exim-dev
Onderwerp: [exim-dev] [Bug 400] New: Patch for readsocket to shut down sending side of socket
http://www.exim.org/bugzilla/show_bug.cgi?id=400

           Summary: Patch for readsocket to shut down sending side of socket
           Product: Exim
           Version: 4.63
          Platform: All
               URL: http://www.skills-1st.co.uk/pub/code/exim-4.62-
                    expand.patch
        OS/Version: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: String expansion
        AssignedTo: ph10@???
        ReportedBy: andrew.findlay@???
         QAContact: exim-dev@???



Exim's readsocket expander expects to send some data to a server and then make
use of the answer that comes back. Exim does not take any notice of the data
until the remote server closes the connection, so it is difficult to talk to
'conversational' servers such as sqlgrey (a greylisting server originally
designed for Postfix).

This patch shuts down the sending side of the network socket after all the data
has been sent. This is a clear signal to the remote server that it should
process the data and then close the socket.

I have tested this with the sqlgrey daemon. I think it is unlikely to cause
problems for existing configs, but you may want to make it an optional feature
anyway.

Andrew



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.