From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76825 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, 16 Feb 2011 13:13:03 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87ipwj4wu8.fsf@lifelogs.com> References: <87sjvq127b.fsf@gmail.com> <878vxhmmvj.fsf@lifelogs.com> <87tyg53tju.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297883612 21095 80.91.229.12 (16 Feb 2011 19:13:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2011 19:13:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25164@lists.math.uh.edu Wed Feb 16 20:13:29 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 1Ppmoa-0005KP-Dx for ding-account@gmane.org; Wed, 16 Feb 2011 20:13:28 +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 1PpmoU-0000UE-9C; Wed, 16 Feb 2011 13:13:22 -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 1PpmoS-0000Tq-Lq for ding@lists.math.uh.edu; Wed, 16 Feb 2011 13:13:20 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PpmoR-0006G9-Nf for ding@lists.math.uh.edu; Wed, 16 Feb 2011 13:13:20 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PpmoQ-0007Q2-Ud for ding@gnus.org; Wed, 16 Feb 2011 20:13:18 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PpmoN-00059L-GF for ding@gnus.org; Wed, 16 Feb 2011 20:13:15 +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, 16 Feb 2011 20:13:15 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Feb 2011 20:13:15 +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.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:ItBlU196Rm5YbRUW4sZtQjl7PTg= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76825 Archived-At: On Tue, 15 Feb 2011 18:57:09 -0200 Raphael Kubo da Costa wrote: RKdC> I have a secondary source that is set to my Gmail IMAP account. Now that RKdC> the auth-source stuff has been merged, Gnus no longer asks for my IMAP RKdC> username and password (and whether I want to store them in RKdC> ~/.authinfo.gpg) every time I started Gnus. Instead, I needed to create RKdC> ~/.authinfo.gpg and add my username and password there. >> RKdC> Is there a way to go back to the old behaviour and make Gnus ask my RKdC> account information when logging into the IMAP server? RKdC> Here's the part that seems to be relevant: RKdC> Opening nnimap server on Personal... RKdC> Opening connection to imap.gmail.com via tls... RKdC> Opening TLS connection to `imap.gmail.com'... RKdC> Opening TLS connection with `gnutls-cli --insecure -p 993 imap.gmail.com'...done RKdC> Opening TLS connection to `imap.gmail.com'...done RKdC> auth-source-search: found 2 backends matching (:max 1 :host ("Personal" "imap.gmail.com") :port ("143" "993" "imap" "imaps" 993) :create nil) RKdC> auth-source-search: found 0 results (max 1/1) in [object RKdC> auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t RKdC> auth-source-netrc-create auth-source-netrc-search] matching (:max 1 RKdC> :host ("Personal" "imap.gmail.com") :port ("143" "993" "imap" "imaps" RKdC> 993) :create nil) RKdC> auth-source-search: found 0 results (max 1/1) in [object RKdC> auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t RKdC> auth-source-netrc-create auth-source-netrc-search] matching (:max 1 RKdC> :host ("Personal" "imap.gmail.com") :port ("143" "993" "imap" "imaps" RKdC> 993) :create nil) RKdC> Opening nnimap server on Personal...failed: RKdC> Warning: Opening nnimap server on Personal...failed: Thanks, Raphael. I comitted a change to DTRT (with some questions posted here) for Emacs bug 8050, which I think you are also experiencing. Your normal usage, at least, should be OK. Ted