I've collected the loginfo at the time mailclient crashes:

Mar 22 14:23:25 xi dbmail/imap4d[3550]: dbmail- imapsession.c,dbmail_imap_session_readln: error reading from client Mar 22 14:23:25 xi dbmail/imap4d[3550]: imap4.c,IMAPClientHandler: error reading command -- bailing out Mar 22 14:23:26 xi dbmail/imap4d[3556]: serverchild.c,PerformChildTask: stop requested Mar 22 14:23:26 xi dbmail/imap4d[3528]: dbmail- imapsession.c,dbmail_imap_session_readln: error reading from client Mar 22 14:23:26 xi dbmail/imap4d[3528]: imap4.c,IMAPClientHandler: error reading command -- bailing out Mar 22 14:23:26 xi dbmail/imap4d[3548]: dbmail- imapsession.c,dbmail_imap_session_readln: error reading from client Mar 22 14:23:26 xi dbmail/imap4d[3548]: imap4.c,IMAPClientHandler: error reading command -- bailing out Mar 22 14:23:26 xi dbmail/imap4d[3558]: dbmail- imapsession.c,dbmail_imap_session_readln: error reading from client Mar 22 14:23:26 xi dbmail/imap4d[3545]: dbmail- imapsession.c,dbmail_imap_session_readln: error reading from client Mar 22 14:23:26 xi dbmail/imap4d[3545]: imap4.c,IMAPClientHandler: error reading command -- bailing out Mar 22 14:23:26 xi dbmail/imap4d[3558]: imap4.c,IMAPClientHandler: error reading command -- bailing out Mar 22 14:23:26 xi dbmail/imap4d[3554]: dbmail- imapsession.c,dbmail_imap_session_readln: error reading from client Mar 22 14:23:26 xi dbmail/imap4d[3554]: imap4.c,IMAPClientHandler: error reading command -- bailing out Mar 22 14:23:26 xi dbmail/imap4d[3560]: serverchild.c,PerformChildTask: stop requested Mar 22 14:23:26 xi dbmail/imap4d[3558]: serverchild.c,PerformChildTask: stop requested Mar 22 14:23:26 xi dbmail/imap4d[3554]: serverchild.c,PerformChildTask: stop requested Mar 22 14:23:26 xi dbmail/imap4d[3552]: serverchild.c,PerformChildTask: stop requested




Op 16-mrt-2006, om 12:35 heeft Paul J Stevens het volgende geschreven:

Marc Dirix wrote:


My apple mail client often suddenly crashes, withouth any reason when
it's getting new messages.
I use dbmail-imap trunk 2027.

Looks like something is triggering a signal.

try making the accept failure fail louder (patch attached).




Here is an excerp from my logfile at loglevel 5

http://pastebin.com/605036

Hope this helps.

Furthermore when I use loglevel 5 I can see my password in the logfile,
is this intended?

Only if the client uses LOGIN instead of AUTHENTICATE. At level=5 all
imap commands are logged as-is.



--
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
diff --git a/serverchild.c b/serverchild.c
index c3f4f2c..77ae5a1 100644
--- a/serverchild.c
+++ b/serverchild.c
@@ -201,7 +201,7 @@ pid_t CreateChild(ChildInfo_t * info)

 int PerformChildTask(ChildInfo_t * info)
 {
-       int i, len, clientSocket;
+       int i, len, serr, clientSocket;
        struct sockaddr_in saClient;
        struct hostent *clientHost;

@@ -245,8 +245,11 @@ int PerformChildTask(ChildInfo_t * info)
clientSocket = accept(info->listenSocket, (struct sockaddr *) &saClient, (socklen_t *)&len);

                if (clientSocket == -1) {
+                       serr = errno;
                        i--;    /* don't count this as a connect */
-                       trace(TRACE_INFO, "%s,%s: accept failed", __FILE__, 
__func__);
+                       trace(TRACE_INFO, "%s,%s: accept failed [%s]",
+                                       __FILE__, __func__, strerror(serr));
+                       errno = serr;
                        continue;       /* accept failed, refuse connection & 
continue */
                }

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to