From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76857 Path: news.gmane.org!not-for-mail From: Matt Lundin 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 20:15:09 -0500 Message-ID: <874o834g2q.fsf@fastmail.fm> References: <87sjvq127b.fsf@gmail.com> <878vxhmmvj.fsf@lifelogs.com> <87tyg53tju.fsf@gmail.com> <87ipwj4wu8.fsf@lifelogs.com> <87y65fn285.fsf@fastmail.fm> <8762sj4sir.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297905339 4611 80.91.229.12 (17 Feb 2011 01:15:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 01:15:39 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M25196@lists.math.uh.edu Thu Feb 17 02:15:35 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 1PpsT0-0007Lq-Pk for ding-account@gmane.org; Thu, 17 Feb 2011 02:15:35 +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 1PpsSo-0002vu-DZ; Wed, 16 Feb 2011 19:15: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 1PpsSk-0002vS-Sd for ding@lists.math.uh.edu; Wed, 16 Feb 2011 19:15:18 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PpsSf-0007XZ-Nw for ding@lists.math.uh.edu; Wed, 16 Feb 2011 19:15:18 -0600 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PpsSe-0005KQ-1I for ding@gnus.org; Thu, 17 Feb 2011 02:15:12 +0100 Original-Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 48E432073B; Wed, 16 Feb 2011 20:15:11 -0500 (EST) Original-Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 16 Feb 2011 20:15:11 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=fNx8WOcQ9Ic7GywZMVxarwTPz1k=; b=JBeHS8ZOrvQGXH3uQoneU+DlCK6lwuk7wV4knJzwghaMqV6n0fYtTwmu/COwvXVv8J59oN2Px3RTyejUlj0rp9PyS+ofLKvo7n8rqf34GJOeXlpswAq71lkj8BLBy/PBJZIA9UmknLOeASc4DQ56FdNsPgIrCox2Wnnlgv6jgVI= X-Sasl-enc: TDirevc7Qu0SPfk/3uJbbEj2Oyl8Q0shAlOyg+3Fmv8w 1297905311 Original-Received: from archdesk (67-197-63-212.rh2.dyn.cm.comporium.net [67.197.63.212]) by mail.messagingengine.com (Postfix) with ESMTPSA id EA267400940; Wed, 16 Feb 2011 20:15:10 -0500 (EST) In-Reply-To: <8762sj4sir.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 16 Feb 2011 14:46:20 -0600") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76857 Archived-At: Ted Zlatanov writes: > On Wed, 16 Feb 2011 15:39:22 -0500 Matt Lundin wrote: > > ML> Ted Zlatanov writes: >>> On Tue, 15 Feb 2011 18:57:09 -0200 Raphael Kubo da Costa >>> wrote: > >>> 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. > > ML> With the two recent auth-source related commits, I have the opposite > ML> problem of the OP. I find that nnimap now prompts for my user name and > ML> password regardless of whether an .authinfo file/entry exists. > > ML> My authinfo file is setup per the instructions below and has always > ML> worked in the past. > > ML> (info "(gnus) Connecting to an IMAP Server") > > I'm surprised since my changes should only matter if no results are > found. > > Can you set `auth-source-debug' to t (now the default) and show your > auth-source-* lines from *Messages*, please? Also show your authinfo > lines that should be found but aren't. > Sure. >From .authinfo: --8<---------------cut here---------------start------------->8--- machine imap.gmail.com login [username] password [password] --8<---------------cut here---------------end--------------->8--- And from the *Messages* buffer: --8<---------------cut here---------------start------------->8--- Opening connection to imap.gmail.com via tls... Opening TLS connection to `imap.gmail.com'... Opening TLS connection with `gnutls-cli --insecure -p imaps imap.gmail.com'...done Opening TLS connection to `imap.gmail.com'...done auth-source-search: found 2 backends matching (:max 1 :host ("gmail" "imap.gmail.com") :port ("143" "993" "imap" "imaps") :create t) Quit trying to open server nnimap+gmail Couldn't open nnimap:gmail --8<---------------cut here---------------end--------------->8--- Note: I pressed C-g to exit the user/protocol prompt. (Hence the "Quit trying to open"). Thanks, Matt