From: Ted Zlatanov <tzz@lifelogs.com>
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#5547: 23.1.92; nnimap not using .authinfo.gpg
Date: Wed, 10 Feb 2010 12:40:30 -0600 [thread overview]
Message-ID: <87zl3h9boh.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.962.1265757746.14305.bug-gnu-emacs@gnu.org
On Tue, 09 Feb 2010 23:17:35 +0000 Leo <sdl.web@gmail.com> wrote:
L> On 2010-02-09 16:50 +0000, Ted Zlatanov wrote:
>> - set auth-source-debug to t and look in *Messages*. Is it accessing
>> the .gpg file and opening it? What values does it print for the
>> username and password?
L> Opening nnimap server on gmail-web...
L> imap: Connecting to imap.gmail.com...
L> imap: Opening SSL connection with `openssl s_client -quiet -ssl3 -connect %s:%p'...done
L> Waiting for response from imap.gmail.com...done
L> Parsing authinfo file `~/.authinfo'.
L> auth-source-user-or-password: get (login password) for gmail-web (993)
L> /Users/PhD/.authinfo: 0% (0/139)
L> /Users/PhD/.authinfo: 100% (139/139)
L> auth-source-user-or-password: found (login password)=SECRET for gmail-web (993)
L> imap: Authenticating to `imap.gmail.com' using `login'...
L> imap: Plaintext authentication...
L> byte-code: End of buffer [4 times]
L> Quit trying to open server nnimap+gmail-web
L> Opening nnimap server on gmail-web...failed
It may be a bug but I'm not sure where it's coming from. It may be that
nnimap-open-connection is not prioritizing auth-source over
nnimap-authinfo-file. Can you make sure nnimap-authinfo-file is nil?
Does it still fail in that case? Finally, check
(auth-source-pick "any server" "any port")
What does it return? The log messages are impying auth-source is
checking ~/.authinfo.
If none of this helps, look in nnimap-open-connection and trace the
sequence of events, it's pretty clear how it happens.
>> - try with port "imaps" and without a port
L> Where to set the port?
In the authinfo file, where it's '993' currently:
machine imap.gmail.com login username@gmail.com password secret port 993
...but that's not the problem, I think. Try setting
auth-source-hide-passwords to nil anyhow and redo the attempt to ensure
your password is correct.
Ted
prev parent reply other threads:[~2010-02-10 18:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.882.1265671342.14305.bug-gnu-emacs@gnu.org>
2010-02-09 16:50 ` bug#5547: 23.1.92; nnimap not using .authinfo.gpg Ted Zlatanov
2010-02-08 23:02 ` Leo
2010-02-09 23:17 ` Leo
2010-02-10 22:15 ` Leo
2010-06-20 9:16 ` Leo
[not found] ` <mailman.962.1265757746.14305.bug-gnu-emacs@gnu.org>
2010-02-10 18:40 ` Ted Zlatanov [this message]
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=87zl3h9boh.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=bug-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.