From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80861 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: nntp and authinfo working? Date: Tue, 10 Jan 2012 17:39:18 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: <5e1ur71phl.fsf@news.eternal-september.org> References: <87sjjnei6u.fsf@lifelogs.com> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326213617 4911 80.91.229.12 (10 Jan 2012 16:40:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2012 16:40:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29143@lists.math.uh.edu Tue Jan 10 17:40:10 2012 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 1Rkek6-0003nJ-6Z for ding-account@gmane.org; Tue, 10 Jan 2012 17:40:10 +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 1Rkejb-00082g-Ge; Tue, 10 Jan 2012 10:39:39 -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 1RkejZ-00082T-Qn for ding@lists.math.uh.edu; Tue, 10 Jan 2012 10:39:37 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RkejY-000163-MV for ding@lists.math.uh.edu; Tue, 10 Jan 2012 10:39:37 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RkejX-0004bW-8k for ding@gnus.org; Tue, 10 Jan 2012 17:39:35 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkejW-0003Ox-J8 for ding@gnus.org; Tue, 10 Jan 2012 17:39:34 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 17:39:34 +0100 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 17:39:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 53 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:S5CAFokig31DF9He/i+BjNyGz8c= X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80861 Archived-At: Ted Zlatanov writes: > On Tue, 10 Jan 2012 01:50:10 +0100 Richard Riley wrote: > > RR> Kind of strange thing and I dont know if its down to the connection but > RR> Pan connects and downloads the groups fine with the same uid and pwd, > RR> Gnus is connecting but not authenticating properly reaulting in me > RR> only getting the basic eternal-september groups. > > RR> ,---- > RR> | (add-to-list 'gnus-secondary-select-methods > RR> | '(nntp "me" > RR> | (nntp-address "news.eternal-september.org"))) > RR> `---- > > RR> with a corresponding line in .authinfo > > RR> ,---- > RR> | machine me login MYID force yes password MYPASSWORD > RR> `---- > > RR> Is there something silly or horrendously wrong here? > > RR> (It used to work but I've messed something up thats not obvious to me or > RR> a recent pull from git has seen it broken) > > Set `auth-source-debug' to 'trivia and redo the connection attempt, then > show the *Messages* content please. > > Ted > ,---- | Reading active file from me via nntp... | Opening nntp server on me... | auth-source-search: found 1 backends matching (:max 1 :host "news.eternal-september.org" :port ("119" "nntp")) | auth-source-netrc-parse: using CACHED file data for /home/shamrock/.emacs.d/.authinfo.gpg | auth-source-search: found 0 results (max 1) matching (:max 1 :host "news.eternal-september.org" :port ("119" "nntp")) | Opening nntp server on me...done | Reading active file from me via nntp...done `---- So its matching on the nntp-address and not on the "logical" "me" name? If I change "me" for news.eternal.. in the .authinfo it works. BUt then I can only access ONE account at this address. So it doesnt seem to work in the same way as it works for nnimap where I change "me" for one or more other logical names and the correct secrets are found for that respective machine entry.