[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus, gmail and 2 factor authentication not working
From: |
Jonathan Wheelhouse |
Subject: |
Re: gnus, gmail and 2 factor authentication not working |
Date: |
Fri, 06 Jul 2012 09:48:14 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Jonathan Wheelhouse <jonathan.wheelhouse@gmail.com> writes:
> Hi
>
> I have successfully been accessing my gmail account via IMAP from GNUS.
> Recently, however I enabled 2 factor authentication on my gmail account
> after reading
> http://www.codinghorror.com/blog/2012/04/make-your-email-hacker-proof.html
[snip]
>
> With 2 factor authentication you can get gmail to generate an
> application specific password. So I did that for GNUS. I entered this
> password into ~/.imap-authinfo file. Here are the relevant bits of the
> .gnus and .imap-authinfo files.
>
> The message I get is this:
>
> Warning: Opening nnimap server on gmail...failed: NO (ALERT)
> Application-specific password required:
> http://support.google.com/accounts/bin/answer.py?answer=185833
> (Failure);
>
> Any ideas on how to fix this?
Never mind, I fixed it. GNUS was getting my credentials from an
~/.authinfo file and ignoring the ~/.imap-authinfo file. So I stuck the
application specific password in the authinfo file. I can now read my
gmail via GNUS again.
--
Jonathan