From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80864 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 18:46:49 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <87sjjnei6u.fsf@lifelogs.com> <5e1ur71phl.fsf@news.eternal-september.org> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326217640 4703 80.91.229.12 (10 Jan 2012 17:47:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2012 17:47:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29146@lists.math.uh.edu Tue Jan 10 18:47:16 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 1Rkfn0-0004aM-OY for ding-account@gmane.org; Tue, 10 Jan 2012 18:47:15 +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 1Rkfmt-0008PI-CP; Tue, 10 Jan 2012 11:47:07 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Rkfms-0008P9-Cu for ding@lists.math.uh.edu; Tue, 10 Jan 2012 11:47:06 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rkfmr-0006aF-71 for ding@lists.math.uh.edu; Tue, 10 Jan 2012 11:47:06 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Rkfmo-000678-DU for ding@gnus.org; Tue, 10 Jan 2012 18:47:02 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rkfmo-0004Sf-5M for ding@gnus.org; Tue, 10 Jan 2012 18:47:02 +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 18:47:02 +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 18:47:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 37 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:FzgJrpxRC3Iokp26itwbt/4HJig= X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80864 Archived-At: Stefan Nobis writes: > Richard Riley writes: > >> If I change "me" for news.eternal.. in the .authinfo it works. BUt >> then I can only access ONE account at this address. > > The auth-source mechanism is able to dispatch not only on the host > name but also with respect to e.g. the user. I did this with multiple > IMAP accounts on my local IMAP server and it works great. Above I wish it to do so on the logical connection name "me". I dont know (or want to pubish in plaintext) the username : its in the authinfo file.. I use this fine with nnimap for multiple gmail accounts. e.g ,---- | (add-to-list 'gnus-secondary-select-methods | '(nnimap "riley" | (nnir-search-engine imap) | (nnimap-address "imap.gmail.com") | )) | (add-to-list 'gnus-secondary-select-methods | '(nnimap "shamrock" | (nnir-search-engine imap) | (nnimap-address "imap.gmail.com") | )) | | (add-to-list 'gnus-secondary-select-methods | '(nnimap "friends" | (nnir-search-engine imap) | (nnimap-address "imap.gmail.com") | )) `----