From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67809 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: nnimap with openssl stopping up after connecting in Windows (Was: Vista, secure imap and firewalls?) Date: Sat, 22 Nov 2008 19:44:03 +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 1227379513 2015 80.91.229.12 (22 Nov 2008 18:45:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2008 18:45:13 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16257@lists.math.uh.edu Sat Nov 22 19:46:17 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 1L3xUl-0004yS-TQ for ding-account@gmane.org; Sat, 22 Nov 2008 19:46:16 +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 1L3xT5-00073u-BB; Sat, 22 Nov 2008 12:44:31 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1L3xT2-00073h-LW for ding@lists.math.uh.edu; Sat, 22 Nov 2008 12:44:28 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L3xSz-0003tF-Mp for ding@lists.math.uh.edu; Sat, 22 Nov 2008 12:44:28 -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 1L3xT7-00089q-00 for ; Sat, 22 Nov 2008 19:44:33 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L3xSq-0005YK-Le for ding@gnus.org; Sat, 22 Nov 2008 18:44:17 +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 18:44:16 +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 18:44:16 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 33 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:qTX2e558bk04nvNyQJaDCvlP5Uw= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67809 Archived-At: 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 I tried the GnuWin32 openssl (in the hope that it maybe used CRLF for line separations) but it didn't even get as far as the SUA one. It didn't even succeed in connecting to the server before it frose up. When running the "openssl s_client -connect" command from a cmd shell both the SUA and GnuWin32 openssl programs succeeded in connecting to the IMAP server. Steven thinks the solution lies in setting the coding system for the buffer where nnimaps reads the server responses (perhaps to undecided-unix...?), but he hasn't yet figured out to do it. Steven? Perhaps you can jump in with some more detail here?