From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77103 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap authentication prompts? Date: Tue, 22 Feb 2011 09:50:52 +0100 Message-ID: <87tyfw1mhf.fsf@latte.josefsson.org> References: <87tyfxfedo.fsf@latte.josefsson.org> <87zkppj719.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298364702 24623 80.91.229.12 (22 Feb 2011 08:51:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2011 08:51:42 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25436@lists.math.uh.edu Tue Feb 22 09:51:38 2011 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.69) (envelope-from ) id 1Prny5-0005KZ-Sa for ding-account@gmane.org; Tue, 22 Feb 2011 09:51:38 +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 1Prnxi-0001Ek-2A; Tue, 22 Feb 2011 02:51:14 -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 1Prnxg-0001EO-0k for ding@lists.math.uh.edu; Tue, 22 Feb 2011 02:51:12 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PrnxX-0002qM-4m for ding@lists.math.uh.edu; Tue, 22 Feb 2011 02:51:07 -0600 Original-Received: from yxa-v.extundo.com ([213.115.69.139]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PrnxU-00015F-Oc for ding@gnus.org; Tue, 22 Feb 2011 09:51:00 +0100 Original-Received: from latte.josefsson.org (c80-216-4-108.bredband.comhem.se [80.216.4.108]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1M8oq07004369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Tue, 22 Feb 2011 09:50:54 +0100 OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody X-Hashcash: 1:22:110222:ding@gnus.org::7AxRYYPfjJIe7BEc:K0bI In-Reply-To: <87zkppj719.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 21 Feb 2011 15:34:58 -0800") User-Agent: Gnus/5.110012 (No Gnus v0.12) Emacs/23.2 (gnu/linux) X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_06_12,RDNS_DYNAMIC,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on yxa-v.extundo.com X-Virus-Scanned: clamav-milter 0.96.5 at yxa-v X-Virus-Status: Clean X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77103 Archived-At: Lars Ingebrigtsen writes: > Simon Josefsson writes: > >> I am upgrading from a rather old Gnus release, and it works relatively >> well so far after I removed all nnir hooks in ~/.emacs. I have this >> gnus-secondary-select-method: >> >> (nnimap "yxa" >> (nnimap-stream starttls) >> (nnimap-address "localhost") >> (nnimap-server-port 1430)) >> >> and a line in ~/.authinfo for this: >> >> machine localhost port 1430 login jas password foo > > Hm... hm... Oh, it could possibly be a type issue? If you change that > to the string "1430", does it work then? Nope, I tried that too in a later followup. If I have machine localhost port "1430" login jas password foo it would query me for hostname, port, username and password again and offer to save it (in ~/.authinfo.gpg) as: machine localhost login jas password foo so it seems the code is forgetting that the server is on a non-default port. Btw, shouldn't all auto-added stanzas to ~/.authinfo* use "port"? Just because you are saving a password for say port 143 doesn't mean you have the same password (or even username) for port 587. /Simon