From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77225 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Making Gnus ask my IMAP username and password after the recent auth-source changes Date: Wed, 23 Feb 2011 11:09:44 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87r5ayllt3.fsf@lifelogs.com> References: <87sjvq127b.fsf@gmail.com> <878vxhmmvj.fsf@lifelogs.com> <87tyg53tju.fsf@gmail.com> <87ipwj4wu8.fsf@lifelogs.com> <87hbc39vwe.fsf@gmail.com> <87d3mqj36i.fsf@lifelogs.com> <87aahu3fwp.fsf@lifelogs.com> <87pqqq8bfk.fsf@gnus.org> <87zkptw0ws.fsf@lifelogs.com> <87fwrl0wj6.fsf@gnus.org> <87hbbvybwp.fsf@lifelogs.com> <87d3mj3zfs.fsf@gnus.org> <871v2yq040.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298481022 21550 80.91.229.12 (23 Feb 2011 17:10:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2011 17:10:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25557@lists.math.uh.edu Wed Feb 23 18:10:18 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 1PsIE9-0007Rs-HJ for ding-account@gmane.org; Wed, 23 Feb 2011 18:10:13 +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 1PsIE4-000527-6t; Wed, 23 Feb 2011 11:10:08 -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 1PsIE2-00051m-Hc for ding@lists.math.uh.edu; Wed, 23 Feb 2011 11:10:06 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PsIDy-0002ka-93 for ding@lists.math.uh.edu; Wed, 23 Feb 2011 11:10:06 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PsIDx-00032z-IM for ding@gnus.org; Wed, 23 Feb 2011 18:10:01 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsIDu-0007Fp-T0 for ding@gnus.org; Wed, 23 Feb 2011 18:09:58 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Feb 2011 18:09:58 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Feb 2011 18:09:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:yd9K5sfnoy8EfZqLbgaYpg/fvgs= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77225 Archived-At: On Wed, 23 Feb 2011 14:00:09 -0300 Raphael Kubo da Costa wrote: RKdC> Ted Zlatanov wrote: >> On Wed, 23 Feb 2011 00:52:39 -0800 Lars Ingebrigtsen >> wrote: LI> It needs to ask for the user name, too, doesn't it? >> >> Maybe. Right now it's guessed. People seem to prefer fewer prompts and >> you can always `e'dit the line afterwards. I mentioned that in my reply >> to Simon Josefsson just now, too. RKdC> I'm bitten by this, by the way -- since I don't want to store my password in RKdC> ~/.{authinfo,authinfo.gpg,netrc}, even if encrypted, auth-source tries to RKdC> guess my IMAP username. RKdC> Would it make sense if I could just store the "host", "port" and "user" RKdC> parameters in ~/.{authinfo,authinfo.gpg,netrc} and then Gnus would prompt RKdC> me/try to guess the missing parameters? It should work. For instance this line: machine testserver login tzz in the authinfo file matches this: (auth-source-search :host "testserver") and returns this: ((:host "testserver" :user "tzz")) In other words, the password is not required for a successful match. If it doesn't work for you, set `auth-source-debug' to 'trivia and send me the relevant lines from *Messages*. Thanks Ted