From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68025 Path: news.gmane.org!not-for-mail From: "Steven E. Harris" Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap with openssl stopping up after connecting in Windows Date: Thu, 01 Jan 2009 17:35:20 -0500 Organization: SEH Labs 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; charset=us-ascii X-Trace: ger.gmane.org 1230849380 32561 80.91.229.12 (1 Jan 2009 22:36:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2009 22:36:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16469@lists.math.uh.edu Thu Jan 01 23:37:29 2009 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 1LIWAP-0003NI-SK for ding-account@gmane.org; Thu, 01 Jan 2009 23:37:26 +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 1LIW8S-0001KJ-3H; Thu, 01 Jan 2009 16:35:24 -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 1LIW8Q-0001K1-AC for ding@lists.math.uh.edu; Thu, 01 Jan 2009 16:35:22 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LIW8N-0004k7-0x for ding@lists.math.uh.edu; Thu, 01 Jan 2009 16:35:22 -0600 Original-Received: from mail1.panix.com ([166.84.1.72]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LIW8c-00086H-00 for ; Thu, 01 Jan 2009 23:35:34 +0100 Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 2912429413 for ; Thu, 1 Jan 2009 17:35:17 -0500 (EST) Original-Received: from torus.sehlabs.com (pool-70-17-162-73.pitt.east.verizon.net [70.17.162.73]) by mailbackend.panix.com (Postfix) with ESMTP id 0CEF412A14 for ; Thu, 1 Jan 2009 17:35:17 -0500 (EST) Original-Received: from seh by torus.sehlabs.com with local (Exim 4.69) (envelope-from ) id KCTDEW-00014K-8B for ding@gnus.org; Thu, 01 Jan 2009 17:35:20 -0500 Mail-Followup-To: ding@gnus.org In-Reply-To: (Steinar Bang's message of "Thu\, 25 Dec 2008 01\:26\:44 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68025 Archived-At: [I apologize if this message already made it to the list once. My Emacs email-related configuration is not yet straightened out.] Steinar Bang writes: > So the fix can be either: > - Make emacs stop changing LF to CRLF in this case I'm happy to report that I'm posting this from within Emacs, and I think I found the problem with this whole Windows-Emacs-with-Cygwin-tunneling setup. It's the shell! Check the value of `shell-file-name' in your Emacs instance. If, like me, you started Emacs from within a Cygwin shell, this variable will bear a value such as "zsh". But try this: ,---- | (let ((shell-file-name "C:/Program Files/emacs-22.3/bin/cmdproxy.exe")) | (gnus)) `---- or even just ,---- | (let ((shell-file-name "cmdproxy")) | (gnus)) `---- and see what happens. That's all it took -- after about four months of occasional noodling -- to make it work. There's also the variable `shell-command-switch' which may need adjustment for some values of `shell-file-name'. Its default value of "-c" seems to work properly with "cmdproxy". [Some time passes...] Well, maybe not. I still can't get this to work with STARTTLS, and now I'm noticing that even if I set `shell-file-name' back to "zsh", nnimap still works with openssl. If I include the form (nnimap-stream ssl) in my select method definition for the IMAP server, it works. Without that form, it tries to use STARTTLS, finds a Cygwin-compiled starttls program, and fails as described previously. I'd like to be more happy about this, but I'm confused. -- Steven E. Harris