From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86933 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Can't access local imap account: GNUTls error Date: Fri, 04 Mar 2016 10:44:02 +0800 Message-ID: <87h9gnhsi5.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457059545 2219 80.91.229.3 (4 Mar 2016 02:45:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2016 02:45:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M35155@lists.math.uh.edu Fri Mar 04 03:45:33 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 1abfkA-0008Vm-Tj for ding-account@gmane.org; Fri, 04 Mar 2016 03:45:31 +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 1abfjF-0003Ug-Aa; Thu, 03 Mar 2016 20:44:33 -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 1abfjB-0003UI-PM for ding@lists.math.uh.edu; Thu, 03 Mar 2016 20:44:29 -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 1abfjA-0006l8-Oh for ding@lists.math.uh.edu; Thu, 03 Mar 2016 20:44:29 -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 1abfj8-0001Km-PV for ding@gnus.org; Fri, 04 Mar 2016 03:44:26 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1abfj6-0007mV-Dk for ding@gnus.org; Fri, 04 Mar 2016 03:44:24 +0100 Original-Received: from 123.123.22.37 ([123.123.22.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Mar 2016 03:44:24 +0100 Original-Received: from eric by 123.123.22.37 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Mar 2016 03:44:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.123.22.37 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:CehczFF4SiWn+YbcQ//hzg4W5pE= X-Spam-Score: 1.7 (+) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.0900 Ham tokens: 0.000-4--143h-0s--0d--H*M:fsf, 0.000-3--132h-0s--0d--H*MI:fsf, 0.000-3--122h-0s--0d--H*UA:Emacs, 0.000-3--122h-0s--0d--H*u:Gnus, 0.000-3--122h-0s--0d--H*UA:linux Spam tokens: 0.993-15546--663h-10698s--0d--HTo:D*gnus.org, 0.992-16357--746h-11288s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.992-16357--746h-11288s--0d--H*RU:quimby.gnus.org, 0.991-16277--865h-11314s--0d--Hx-spam-relays-internal:80.91.231.51, 0.991-16277--865h-11314s--0d--H*RT:80.91.231.51 Autolearn status: no autolearn_force=no -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.91.229.3 listed in list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 BAYES_20 BODY: Bayes spam probability is 5 to 20% [score: 0.0900] 1.5 FSL_HELO_BARE_IP_2 No description available. List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86933 Archived-At: I just moved two accounts from talking directly to an Imap server, to talking to a local Dovecot server that's synced with the remote server. Knowing this could cause weirdness, I completely deleted the previous two servers from Gnus, and created two new ones with different names. 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 The only thing that looks weird there is ":service, 993" -- Dovecot is not set up for ssl, and none of the accounts use it. All four accounts look like this: (nnimap "servername" (nnimap-address "localhost") (nnnimap-stream network) (nnimap-authenticator login) (nnimap-user "login@domain.com")) I've confirmed that I can connect and log in to this account from the command line, using telnet to 143. Telnet to 993, as expected, refuses to connect. I tried to force Gnus to use 143 by setting (nnimap-server-port 143), and also by setting (nnimap-stream plain), but with those settings in place it gives me a "GNUTls error: -15". In ~/.emacs.d/network-security.data there is this line: (:id "sha1:386adc29ea9f8f85b96e8978bad43e925f1ab750" :fingerprint :none :host "localhost:imap" :conditions (:unencrypted)) I can't think of what else could be causing this problem. Why just one account out of four? Is there any other information I can provide? Thanks, Eric