A new user interface for you! Read more...

File 004-handle-write-error-during-failure.patch of Package proxsmtp

--- proxsmtp-1.10.ori/common/smtppass.c	2013-03-23 21:03:58.433031303 +0100
+++ proxsmtp-1.10/common/smtppass.c	2013-03-23 21:15:20.302532306 +0100
@@ -602,7 +602,9 @@
                     errno = r;
                     sp_message(NULL, LOG_ERR, "couldn't create thread");
 
-                    write(fd, SMTP_STARTFAILED, KL(SMTP_STARTFAILED));
+                    if (write(fd, SMTP_STARTFAILED, KL(SMTP_STARTFAILED)) == -1) {
+		        sp_messagex(NULL, LOG_ERR, "Write failed during failure handling: errno %d", errno);
+		    };
                     shutdown(fd, SHUT_RDWR);
                     close(fd);
                     fd = -1;
@@ -619,7 +621,9 @@
         if(fd != -1)
         {
             sp_messagex(NULL, LOG_ERR, "too many connections open (max %d). sent busy response", g_state.max_threads);
-            write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY));
+            if (write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY)) == -1) {
+		sp_messagex(NULL, LOG_ERR, "Write failed during failure handling: errno %d", errno);
+	    }
             shutdown(fd, SHUT_RDWR);
             close(fd);
             fd = -1;