From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67964 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap with openssl stopping up after connecting in Windows Date: Sun, 21 Dec 2008 19:34:52 +0100 Organization: Probably a good idea Message-ID: References: <833ahh3nud.fsf@torus.sehlabs.com> <877i6th1uo.fsf@mocca.josefsson.org> <87zljpidgh.fsf@hjemme.hjemme.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1229884772 31717 80.91.229.12 (21 Dec 2008 18:39:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Dec 2008 18:39:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16410@lists.math.uh.edu Sun Dec 21 19:40:38 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LETEB-0006Lw-Qv for ding-account@gmane.org; Sun, 21 Dec 2008 19:40:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LETC0-0004i0-UW; Sun, 21 Dec 2008 12:38:20 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LET97-0004gr-4N for ding@lists.math.uh.edu; Sun, 21 Dec 2008 12:35:21 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LET93-0001EG-Nd for ding@lists.math.uh.edu; Sun, 21 Dec 2008 12:35:21 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LET9G-0000QX-00 for ; Sun, 21 Dec 2008 19:35:30 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LET91-0000ck-A0 for ding@gnus.org; Sun, 21 Dec 2008 18:35:15 +0000 Original-Received: from cm-84.208.204.180.getinternet.no ([84.208.204.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 18:35:15 +0000 Original-Received: from sb by cm-84.208.204.180.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 18:35:15 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 66 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.204.180.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (windows-nt) Cancel-Lock: sha1:p9BNx7WPqC8nVhHClw7BXEi5W5o= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67964 Archived-At: >>>>> Steinar Bang : >>>>> Simon Josefsson : >> Look in the ' *nnimap* '... buffer instead of *imap-log*, it may >> contain better encoding of CR/LF/etc. > Is there a particular time one should look in this buffer? Or is > there a trick to showing some hidden stuff? This buffer always look > empty when I look into it. When I looked today, there was content. Here's a sanitized version of the content (changed servername and domain, and visible extra CR replaced with "^M"), and a sligthly less sanitized version (changed server name and domain), shown in hexl-mode. What is shows is the same CRCRLF on the IMAP dialogue lines (only server side this time, but that may be because there is no client side traffic in imap in the buffer below). What the hexl-mode version shows, is that all of the other lines have CRLF. I've no idea what this indicates. Note: this is without the imap-client-eol and imap-server-eol settings. They would perhaps break anyway, since the problem is that part of the buffer is in CRLF, and the IMAP dialog part of the buffer is CRCRLF...? First the sanitized buffer content: depth=0 /O=Dovecot mail server/OU=myserver/CN=myserver/emailAddress=root@myserver.mydomain.no verify error:num=18:self signed certificate verify return:1 depth=0 /O=Dovecot mail server/OU=myserver/CN=myserver/emailAddress=root@myserver.mydomain.no verify return:1 * OK Dovecot ready.^M * BYE Disconnected for inactivity.^M read:errno=0 Process imap finished Then the hexl-mode version: 00000000: 6465 7074 683d 3020 2f4f 3d44 6f76 6563 depth=0 /O=Dovec 00000010: 6f74 206d 6169 6c20 7365 7276 6572 2f4f ot mail server/O 00000020: 553d 6d79 7365 7276 6572 2f43 4e3d 6d79 U=myserver/CN=my 00000030: 7365 7276 6572 2f65 6d61 696c 4164 6472 server/emailAddr 00000040: 6573 733d 726f 6f74 406d 7973 6572 7665 ess=root@myserve 00000050: 722e 6d79 646f 6d61 696e 2e6e 6f0d 0a76 r.mydomain.no..v 00000060: 6572 6966 7920 6572 726f 723a 6e75 6d3d erify error:num= 00000070: 3138 3a73 656c 6620 7369 676e 6564 2063 18:self signed c 00000080: 6572 7469 6669 6361 7465 0d0a 7665 7269 ertificate..veri 00000090: 6679 2072 6574 7572 6e3a 310d 0a64 6570 fy return:1..dep 000000a0: 7468 3d30 202f 4f3d 446f 7665 636f 7420 th=0 /O=Dovecot 000000b0: 6d61 696c 2073 6572 7665 722f 4f55 3d6d mail server/OU=m 000000c0: 7973 6572 7665 722f 434e 3d6d 7973 6572 yserver/CN=myser 000000d0: 7665 722f 656d 6169 6c41 6464 7265 7373 ver/emailAddress 000000e0: 3d72 6f6f 7440 6d79 7365 7276 6572 2e6d =root@myserver.m 000000f0: 7964 6f6d 6169 6e2e 6e6f 0d0a 7665 7269 ydomain.no..veri 00000100: 6679 2072 6574 7572 6e3a 310d 0a2a 204f fy return:1..* O 00000110: 4b20 446f 7665 636f 7420 7265 6164 792e K Dovecot ready. 00000120: 0d0d 0a2a 2042 5945 2044 6973 636f 6e6e ...* BYE Disconn 00000130: 6563 7465 6420 666f 7220 696e 6163 7469 ected for inacti 00000140: 7669 7479 2e0d 0d0a 7265 6164 3a65 7272 vity....read:err 00000150: 6e6f 3d30 0d0a 0d0a 5072 6f63 6573 7320 no=0....Process 00000160: 696d 6170 2066 696e 6973 6865 640d 0a imap finished..