Re: [gentoo-user] Re: Google pop3 authentication failure

2022-06-29 Thread Walter Dnes
On Wed, Jun 29, 2022 at 10:26:55PM -, Grant Edwards wrote
> 
> AFAIK, you've got two choices.
> 
>  1. Use an "app password"
>  
> https://support.google.com/accounts/answer/185833
> 
> https://www.lifewire.com/get-a-password-to-access-gmail-by-pop-imap-2-1171882
> 
>  2. Use OAUTH 2.0
>  
> https://developers.google.com/gmail/imap/xoauth2-protocol
> https://oauth.net/2/

  I looked at those instructions and also at setting up mutt, which I
currently use.  Clear as mud.  After scratching my head for several
minutes, I really wanted to scrap my Gmail account altogether, but it
might screw up some other stuff I do with Google.  I very rarely use
Gmail, and I do know how to access Gmail via web browser.  So I
commented the Gmail stanza out of my .fetchmailrc and I'll use web
browser to access Gmail.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] Re: Google pop3 authentication failure

2022-06-29 Thread Grant Edwards
On 2022-06-29, Walter Dnes  wrote:
> On Mon, Jun 13, 2022 at 02:47:16PM +, spareproject776 wrote
>> 
>> They flushed all the app password creds and forced 2fa. 
>> Need to go through the accounts.google.com login to recover.
>
> Sorry for the delay responding.  I can login fine with my password on
> accounts.google.com but it does not work on pop.gmail.com.

Google disabled the use of normal passwords for IMAP and POP
authentication a year or so back.

[These days I say "a year or so back" that could be anything from 5
months to about 5 years. I think "a couple years ago" now averages at
about 7. "Five or six years ago" reaches back to the end of the
Clinton adminstration.]

> What exactly do I have to do to get it working again?

AFAIK, you've got two choices.

 1. Use an "app password"
 
https://support.google.com/accounts/answer/185833

https://www.lifewire.com/get-a-password-to-access-gmail-by-pop-imap-2-1171882

 2. Use OAUTH 2.0
 
https://developers.google.com/gmail/imap/xoauth2-protocol
https://oauth.net/2/

AIUI, the latter is considered more secure. But, a lot of applications
don't support OAUTH 2.0 (or if they do, it's via a complex
plugin/helper scheme). For mutt I looked into OAUTH, and it can be
done with some external helper applications. Creating an app password
for mutt to use with IMAP was much easier.

--
Grant








Re: [gentoo-user] Google pop3 authentication failure

2022-06-29 Thread Walter Dnes
On Mon, Jun 13, 2022 at 02:47:16PM +, spareproject776 wrote
> 
> They flushed all the app password creds and forced 2fa. 
> Need to go through the accounts.google.com login to recover.

  Sorry for the delay responding.  I can login fine with my password on
accounts.google.com but it does not work on pop.gmail.com.  What exactly
do I have to do to get it working again?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications