From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76800 Path: news.gmane.org!not-for-mail From: Raphael Kubo da Costa Newsgroups: gmane.emacs.gnus.general Subject: Re: Making Gnus ask my IMAP username and password after the recent auth-source changes Date: Tue, 15 Feb 2011 18:57:09 -0200 Message-ID: <87tyg53tju.fsf@gmail.com> References: <87sjvq127b.fsf@gmail.com> <878vxhmmvj.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297803476 3688 80.91.229.12 (15 Feb 2011 20:57:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2011 20:57:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25139@lists.math.uh.edu Tue Feb 15 21:57:52 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 1PpRy2-0005EW-Eb for ding-account@gmane.org; Tue, 15 Feb 2011 21:57:50 +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 1PpRxk-000300-0V; Tue, 15 Feb 2011 14:57:32 -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 1PpRxh-0002ze-Pm for ding@lists.math.uh.edu; Tue, 15 Feb 2011 14:57:29 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PpRxg-0005TZ-Ep for ding@lists.math.uh.edu; Tue, 15 Feb 2011 14:57:29 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PpRxe-00011W-92 for ding@gnus.org; Tue, 15 Feb 2011 21:57:26 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PpRxd-0004yb-0L for ding@gnus.org; Tue, 15 Feb 2011 21:57:25 +0100 Original-Received: from 189.61.203.146 ([189.61.203.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Feb 2011 21:57:24 +0100 Original-Received: from kubito by 189.61.203.146 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Feb 2011 21:57:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 189.61.203.146 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (berkeley-unix) Cancel-Lock: sha1:XE1pv35tllnlSKUnDUOIYerKgX8= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1681--4123h-0s--0d--H*u:Emacs, 0.000-1616--3964h-0s--0d--H*u:Gnus, 0.000-970--2378h-0s--0d--H*UA:v0.11, 0.000-970--2378h-0s--0d--H*u:v0.11, 0.000-970--2378h-0s--0d--H*UA:5.110011 Spam tokens: Autolearn status: no 0.0 FREEMAIL_FROM Sender email is freemail (kubito[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76800 Archived-At: Ted Zlatanov writes: > On Tue, 15 Feb 2011 00:06:16 -0200 Raphael Kubo da Costa wrote: > > RKdC> I've just updated NoGnus to 840dabe after staying at 8c7e9ae for a > RKdC> while. > > 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? > > Hi Raphael, > > I thought I made the necessary change in auth-source.el and nnimap.el to > do this. Can you set auth-source-debug to t and send me the log in > *Messages* when you do this? Here's the part that seems to be relevant: Opening nnimap server on Personal... Opening connection to imap.gmail.com via tls... Opening TLS connection to `imap.gmail.com'... Opening TLS connection with `gnutls-cli --insecure -p 993 imap.gmail.com'...done Opening TLS connection to `imap.gmail.com'...done auth-source-search: found 2 backends matching (:max 1 :host ("Personal" "imap.gmail.com") :port ("143" "993" "imap" "imaps" 993) :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("Personal" "imap.gmail.com") :port ("143" "993" "imap" "imaps" 993) :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("Personal" "imap.gmail.com") :port ("143" "993" "imap" "imaps" 993) :create nil) Opening nnimap server on Personal...failed: Warning: Opening nnimap server on Personal...failed: