From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67810 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, 23 Nov 2008 00:37:32 +0100 Organization: Probably a good idea Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1227397140 15245 80.91.229.12 (22 Nov 2008 23:39:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2008 23:39:00 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16258@lists.math.uh.edu Sun Nov 23 00:40:02 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 1L4252-0008JC-Ao for ding-account@gmane.org; Sun, 23 Nov 2008 00:40:00 +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 1L4232-0008Cj-My; Sat, 22 Nov 2008 17:37:56 -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 1L4231-0008Ca-JS for ding@lists.math.uh.edu; Sat, 22 Nov 2008 17:37:55 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L422v-0007JB-CC for ding@lists.math.uh.edu; Sat, 22 Nov 2008 17:37:55 -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 1L4234-0003lp-00 for ; Sun, 23 Nov 2008 00:37:58 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L422t-0006Cp-2A for ding@gnus.org; Sat, 22 Nov 2008 23:37:47 +0000 Original-Received: from cm-84.208.246.109.getinternet.no ([84.208.246.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Nov 2008 23:37:47 +0000 Original-Received: from sb by cm-84.208.246.109.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Nov 2008 23:37:47 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.246.109.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (windows-nt) Cancel-Lock: sha1:AOBa4BozfhbCsAyIRh7V15FWOjw= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67810 Archived-At: >>>>> Steinar Bang : > I'm changing the subject to make the problem issue clearer. > Steven E. Harris have seen the same problem as me > nntp://news.gmane.org/gmane.emacs.gnus.general/67236 > He has the problem when using Cygwin openssl, I have the problem when > using SUA openssl. I believe both operates in unix mode, ie. with LF as > the line separator (rather than CRLF). > Basically the first "openssl s_client ..." command succeeds in making > the connection, but then everything just hangs. It typically looks like > this in the *Messages* buffer: > Opening nnimap server on myserver... > imap: Connecting to myserver.dyndns.org... > imap: Opening SSL connection with `openssl s_client -quiet -ssl3 -connect %s:%p'...done > Waiting for response from myserver.dyndns.org...done > Unable to open server nnimap+myserver due to: Process imap not running > Unable to open server nnimap+myserver, go offline? (y or n) > Opening nnimap server on myserver...failed Setting imap-log to t, I find the following in the *imap-log* buffer (I've replaced CR characters with the string "^M" to preserve them in this posting, I've also anonymized server and domain names): 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 6 NOOP^M * BYE Disconnected for inactivity.^M read:errno=0 7 CAPABILITY^M I'm not sure what the visible ^M characters signifies...? Perhaps it doesn't signify anything at all, except that the character is there in the dialog, proving that what was sent was CDRLF? Or perhaps what we have is CRCRLF, where only the first CR is visible? But all of this is just speculation from my side.