From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86937 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Can't access local imap account: GNUTls error Date: Fri, 04 Mar 2016 20:47:07 -0500 Message-ID: <8737s5elwk.fsf@uwo.ca> References: <87h9gnhsi5.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457142504 6090 80.91.229.3 (5 Mar 2016 01:48:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 01:48:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M35159@lists.math.uh.edu Sat Mar 05 02:48:12 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ac1KE-0006RT-Ks for ding-account@gmane.org; Sat, 05 Mar 2016 02:48:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.86) (envelope-from ) id 1ac1JR-0004Ut-M3; Fri, 04 Mar 2016 19:47:21 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86) (envelope-from ) id 1ac1JO-0004UK-Ib for ding@lists.math.uh.edu; Fri, 04 Mar 2016 19:47:18 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86) (envelope-from ) id 1ac1JM-0000Bj-LE for ding@lists.math.uh.edu; Fri, 04 Mar 2016 19:47:18 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ac1JJ-0006wx-Vt for ding@gnus.org; Sat, 05 Mar 2016 02:47:14 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ac1JJ-0005uC-9p for ding@gnus.org; Sat, 05 Mar 2016 02:47:13 +0100 Original-Received: from cpef0f249397ae3-cmf0f249397ae0.cpe.net.cable.rogers.com ([99.248.161.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2016 02:47:13 +0100 Original-Received: from jdc by cpef0f249397ae3-cmf0f249397ae0.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2016 02:47:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpef0f249397ae3-cmf0f249397ae0.cpe.net.cable.rogers.com User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.3 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:IufDd5FbAeO8XyeUZUTR7VTEDHw= X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86937 Archived-At: On Mar 4, 2016, Eric Abrahamsen wrote: > I now have three such local-Dovecot servers. Three of them connect just > fine, one doesn't. All four have identical settings, so I don't know > what's going on. The error on the problematic one looks like this: > > Warning: Opening nnimap server on NEA...failed: ; Unable to open server > nnimap+NEA due to: make client process failed: Connection refused, > :name, *nnimap*, :buffer, *nnimap localhost nil *nntpd**, :host, > localhost, :service, 993, :nowait, nil, :tls-parameters, nil I have noticed something that might be the same bug. I have a remote IMAP server that is set up like this: (add-to-list 'gnus-secondary-select-methods '(nnimap "foo" (nnimap-address "foo.com") (nnimap-stream shell) (nnimap-shell-program "ssh %s /usr/lib/dovecot/imap") )) However, when I start Gnus and try to open a group nnimap+foo:mygroup that uses this server, it usually tries to connect via tls. Then I fiddle around for a while, kill Gnus and restart a few times, and eventually it works. I haven't figured out the pattern, but it seems to not see my server definition and fall back onto a default. Maybe the same is happening for you. The good news is that once it works, it stays working for that Gnus session. Luckily I leave Gnus running for weeks at a time... Gnus is practically my life! Dan