mutt-wizard icon indicating copy to clipboard operation
mutt-wizard copied to clipboard

mw not setting up Gmail account even with app specific password

Open carrierg opened this issue 1 year ago • 6 comments

I'm having an issue getting my Gmail address into neomutt through mw. Am running Fedora 39.

I've read the note about Gmail at the end of the README file and have spent the last 2 hours going through multiple closed threads here discussing how to get Gmail working; in essence, they all say the same thing about getting an app specific password and enabling 2FA.

I have a GPG key, a 16-letter app specific password (with spaces in it but apparently spaces don't matter), and have 2FA enabled. I've also confirmed that IMAP is enabled in my Gmail settings. Also have all the required and recommended dependencies for mw installed. The various closed issues I looked at gave me the impression I don't need to worry about OAuth as mutt-wizard will deal with that.

I've run mw -a [email protected] followed by pass init [email protected] to set up my .password-store without any problems.

However when I run mw -a [email protected] again after that and paste the 16-digit password twice and input my gpg passkey, I just get

Log-on not successful. This account with gmail.com is using Google's Gmail servers, which disable all third-party applications without an application-specific password. Please be sure you are using OAUTH with your Gmail account, or better yet, stop using Gmail.

I'd love to stop using Gmail, absolutely, but need to use it regardless. Am I missing something here? I am definitely not using my actual Gmail password, ONLY the app specific one.

Thanks.

carrierg avatar Feb 11 '24 22:02 carrierg