From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13796 Path: news.gmane.org!not-for-mail From: Paul Bibbings Newsgroups: gmane.emacs.gnus.user Subject: Debugging an imap connection in gnus Date: Wed, 24 Mar 2010 23:48:44 +0000 Organization: A noiseless patient Spider Message-ID: <87k4t1b7s3.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273018302 14742 80.91.229.12 (5 May 2010 00:11:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 00:11:42 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed May 05 02:11:42 2010 connect(): No such file or directory Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9SDF-0001cR-E8 for gegu-info-gnus-english@m.gmane.org; Wed, 05 May 2010 02:11:41 +0200 Original-Received: from localhost ([127.0.0.1]:35715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9SDE-0006aH-Nj for gegu-info-gnus-english@m.gmane.org; Tue, 04 May 2010 20:11:40 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 67 Injection-Date: Wed, 24 Mar 2010 23:48:46 +0000 (UTC) Injection-Info: news.motzarella.org; posting-host="sxQz2bAqvoRS3N7JeKHRCQ"; logging-data="1404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Zd03WlnnuM5jwGz4g1T9ZdCvIhi2w/JA=" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (windows-nt) X-Antivirus-Status: Clean X-Antivirus: avast! (VPS 100324-1, 24/03/2010), Outbound message Cancel-Lock: sha1:i9ecS5cYJ79AdZDiPnKB/j+PF6E= sha1:6i8s0CK5JR5kzfK725pP4RZZ0QY= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:84171 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13796 Archived-At: I've been reading my gmail in gnus for some while now, and without issue. I'm running gnus v0.11, emacs 23.1.1 (i386-mingw-nt6.0.6002) on Windows Vista. To connect to my gmail I've been using imap with an ssl connection that uses a version of openssl bundled with the Cygwin environment. Today there was a major upgrade of Cygwin to 1.7.2-1 coupled with a release upgrade of openssl to 0.9.8m-1. After the upgrades, I can no longer connect to the imap server from gnus. Clearly this is an issue that I will need to take to the Cygwin mailing lists, but before I can I need to get some information out of my Emacs/Gnus package about just what is failing, but I am failing myself to get even that. With an unchanged .emacs (the details of which I can provide, if necessary) I'm merely getting the following message in the minibuffer: Mail source (imap :server imap.gmail.com :port 993 :user paul.bibbings@gmail.com :password ******** :authentication (quote login) :stream ssl :fetchflag \Seen) error (IMAP error: nil). Continue? (yes or no) This is very Gnus/Emacs-specific and not enough to take to Cygwin, but I can't get any more than this. These are the things that I have tried so far: 1. With (setq imap-debug t) I do indeed get some debug output, but it doesn't add anything other than what Gnus and Emacs are doing 2. With (setq imap-log t) I get nothing, despite the fact that the docs suggest that this should only be enabled when necessary because the logging output is verbose. What I need is some output from the openssl connection itself, and perhaps the weird thing here is that I can, in fact, get a successful connection and login from a bash prompt to gmail's server using the commands that gnus is trying to issue. For instance, in the *Messages* buffer I get: imap: Connecting to imap.gmail.com... imap: Opening SSL connection with `openssl s_client -quiet -ssl3 -connect %s:%p'... imap: Connecting to imap.gmail.com...failed where the equivalent at the bash prompt gets me: 23:29:20 Paul Bibbings@JIJOU /cygdrive/d/emacs-23.1/bin $openssl s_client -quiet -ssl3 -connect imap.gmail.com:993 depth=1 /C=US/O=Google Inc/CN=Google Internet Authority verify error:num=20:unable to get local issuer certificate verify return:0 * OK Gimap ready for requests from 86.15.147.8 10if799592bkw.36 So, I'm not even sure that this /is/ an issue with Cygwin directly. Perhaps as a starting point someone could help me to understand, in the first error message from the minibuffer (given above), what the (IMAP error: nil) is actually saying. What does Gnus actually see as failing? Any help will be greatly appreciated. Regards Paul Bibbings