Gnus development mailing list
 help / color / mirror / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org
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	[thread overview]
Message-ID: <874o834g2q.fsf@fastmail.fm> (raw)
In-Reply-To: <8762sj4sir.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 16 Feb 2011 14:46:20 -0600")

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Wed, 16 Feb 2011 15:39:22 -0500 Matt Lundin <mdl@imapmail.org> wrote: 
>
> ML> Ted Zlatanov <tzz@lifelogs.com> writes:
>>> On Tue, 15 Feb 2011 18:57:09 -0200 Raphael Kubo da Costa
>>> <kubito@gmail.com> 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



  reply	other threads:[~2011-02-17  1:15 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15  2:06 Raphael Kubo da Costa
2011-02-15 13:46 ` Ted Zlatanov
2011-02-15 20:57   ` Raphael Kubo da Costa
2011-02-16 19:13     ` Ted Zlatanov
2011-02-16 20:39       ` Matt Lundin
2011-02-16 20:46         ` Ted Zlatanov
2011-02-17  1:15           ` Matt Lundin [this message]
2011-02-17 11:03             ` Ted Zlatanov
2011-02-17 13:49               ` Matt Lundin
2011-02-17 14:20                 ` Matt Lundin
2011-02-17 15:22                   ` Steinar Bang
2011-02-18 20:21                     ` Ted Zlatanov
2011-02-21 19:40                       ` Steinar Bang
2011-02-17  3:34       ` Raphael Kubo da Costa
2011-02-17 11:44         ` Ted Zlatanov
2011-02-17 13:34           ` Raphael Kubo da Costa
2011-02-17 14:16             ` Ted Zlatanov
2011-02-17 23:54               ` Lars Ingebrigtsen
2011-02-18 20:19                 ` Ted Zlatanov
2011-02-18 23:10                   ` Lars Ingebrigtsen
2011-02-22 21:52                     ` Ted Zlatanov
2011-02-23  8:52                       ` Lars Ingebrigtsen
2011-02-23 14:47                         ` Ted Zlatanov
2011-02-23 17:00                           ` Raphael Kubo da Costa
2011-02-23 17:09                             ` Ted Zlatanov
2011-02-23 17:56                               ` Raphael Kubo da Costa
2011-02-23 18:56                                 ` Ted Zlatanov
2011-02-25  4:42                                   ` Lars Ingebrigtsen
2011-02-25 11:31                                     ` Ted Zlatanov
2011-03-05 12:15                                       ` Lars Magne Ingebrigtsen
2011-03-08 18:26                                         ` Ted Zlatanov
2011-03-15 16:28                                           ` Lars Magne Ingebrigtsen
2011-03-15 16:43                                             ` Ted Zlatanov
2011-02-23 23:35                           ` Lars Ingebrigtsen
2011-02-23 23:36                           ` Lars Ingebrigtsen
2011-02-24  5:43                             ` Ted Zlatanov
2011-02-24 11:35                               ` Lars Ingebrigtsen
2011-02-24 13:06                                 ` Ted Zlatanov
2011-02-24 13:48                                   ` Raphael Kubo da Costa
2011-02-24 16:42                                   ` Ted Zlatanov
2011-02-25  4:47                                     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874o834g2q.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=ding@gnus.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).