LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mutt gmail login failed (https://www.linuxquestions.org/questions/slackware-14/mutt-gmail-login-failed-4175713421/)

apolinsky 06-14-2022 11:41 PM

Mutt gmail login failed
 
When I work at the command line, I often use Mutt to retrieve mail from Google. Yesterday, I am now getting a "Login failed" when I try to connect. I have not changed any local configuration. I recall seeing something from Google about preventing "non secure" applications from connecting. Is there any way to allow Mutt to connect?

evo2 06-14-2022 11:58 PM

Quote:

Originally Posted by apolinsky (Post 6361019)
When I work at the command line, I often use Mutt to retrieve mail from Google. Yesterday, I am now getting a "Login failed" when I try to connect. I have not changed any local configuration. I recall seeing something from Google about preventing "non secure" applications from connecting. Is there any way to allow Mutt to connect?

You should create an app password to use with mutt.

See, for example: https://support.google.com/accounts/answer/185833?hl=en

Evo2.

apolinsky 06-15-2022 02:51 AM

Thank you very much. I've shied away from the two step verification, but I guess according to Google, it has to be turned on to get to adding the app password.

gmgf 06-15-2022 03:22 AM

I think, that I will use something else, that this Gmail shit, from now on. :)

Tonus 06-15-2022 07:28 AM

I'm slowely getting out of "no evil" Google crap.
I've got an oauth2 python2 script that I use for now.
No app password needed, no 2 factor authentication.

https://github.com/google/gmail-oaut...thon/oauth2.py

Tonus 06-20-2022 05:18 PM

Forgot to say it was for offlineimap. You have a oauth2 script in contrib to manage IMAP/POP/SMTP. It's python3 BTW.


All times are GMT -5. The time now is 03:03 PM.