From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15722 Path: news.gmane.org!not-for-mail From: Gary Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus hangs while trying to connect to IMAP server with starttls Date: Thu, 16 Aug 2012 12:48:18 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1345114132 12495 80.91.229.3 (16 Aug 2012 10:48:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2012 10:48:52 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Aug 16 12:48:50 2012 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T1xd7-0003Nl-6R for gegu-info-gnus-english@m.gmane.org; Thu, 16 Aug 2012 12:48:45 +0200 Original-Received: from localhost ([::1]:59610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1xd6-0004LN-8E for gegu-info-gnus-english@m.gmane.org; Thu, 16 Aug 2012 06:48:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1xd3-0004LB-Oy for info-gnus-english@gnu.org; Thu, 16 Aug 2012 06:48:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1xd1-0006fT-AU for info-gnus-english@gnu.org; Thu, 16 Aug 2012 06:48:41 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1xd1-0006fE-3U for info-gnus-english@gnu.org; Thu, 16 Aug 2012 06:48:39 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T1xcy-000382-SC for info-gnus-english@gnu.org; Thu, 16 Aug 2012 12:48:36 +0200 Original-Received: from ge-u-fw01.ggamaur.net ([213.160.40.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Aug 2012 12:48:36 +0200 Original-Received: from listgj-gnus by ge-u-fw01.ggamaur.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Aug 2012 12:48:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ge-u-fw01.ggamaur.net User-Agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/23.4 (cygwin) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 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: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:15722 Okay, forget some of that. I'm an idiot. For some reason I had it in my head I could/should use starttls, but that is not supported by the server so I'm wrong. Gary wrote: > What the subject says. It works fine if I use plain text, but with > starttls something goes badly wrong. Gnus effectively hangs (waiting for > the starttls-cli process, I guess) until I kill the starttls-cli > process. > > The relevant part of my config is > ,---- > | (add-to-list 'gnus-secondary-select-methods > | '(nnimap "myimap" > | (nnimap-address "remote-server") > | (nnimap-server-port 143) > | (nnimap-list-pattern ("*")) > | (nnimap-authenticator login) > | ; this works fine btw (nnimap-stream network) > | (nnimap-stream starttls) > | (nnimap-authinfo-file "~/.authinfo") > | ) > | ) > `---- Using nnimap-stream ssl results in the following ,----[ imap-log snippet ] | depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert High Assurance EV Root CA | verify error:num=20:unable to get local issuer certificate | verify return:0 | * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information. | 1 NOOP `---- What is this "local issuer certificate"? How can I get it? -- Gary Please do NOT send me 'courtesy' replies off-list.