Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Google Mail still not recognising Gentoo KMail
Date: Thu, 07 Nov 2019 17:58:23
Message-Id: 1620882.mcU7cz3XTb@localhost
In Reply to: Re: [gentoo-user] Google Mail still not recognising Gentoo KMail by Peter Humphrey
On Thursday, 7 November 2019 17:00:59 GMT Peter Humphrey wrote:
> On Thursday, 7 November 2019 12:12:41 GMT Mick wrote: > > On Thursday, 7 November 2019 10:47:19 GMT Антон Кулешов wrote: > > > Hello, > > > > > > Create 'Application-specific password required' in your google account > > > and > > > use it instead of your google password. Try this link > > > myaccount.google.com/apppasswords > > > > A couple of months ago Kmail stopped working with OAuth2. I assumed Gmail > > changed their OAuth2 implementation and Kmail hadn't caught up with the > > changes. > > > > The way I managed this change so far, has been to set my Google Account > > security settings to allow "less secure apps": > > > > https://support.google.com/accounts/answer/6010255?hl=en > > > > Then change the Kmail/Settings/Receiving/Advanced/Authentication from > > "Gmail" to "Plain". The other relevant settings are "SSL/TLS" and port > > "993". > > > > When selecting "Gmail" authentication, it used to be the case qtwebengine > > would launch a GUI in which you would login into the Gmail security web > > GUI > > to set up an application specific password. I don't know if this works > > now, it didn't last time I tried it, a few months ago. I suspect it won't > > work if you have "less secure app access" enabled. > > I tried that, and I remember I used to have something similar set up too, > but since that change you mention at Google, apparently it's no longer > possible to create a new account in KMail to work with google mail. Google > just blocks the attempt and issues me with a critical security issue.
Login to Gmail webmail interface using your browser. Open the most recent 'critical security issue' email message Google has sent, providing you with a URL directing you to your Google account security settings. Click to confirm the attempt to connect is not malicious and you/your PC/IP address were the culprit. Thereafter, you *should* be able to connect with your Kmail. NOTE: Every time you change IP address, because say you're in a different physical location, Google security will once more go in a fit and block Kmail from connecting. Then you will need to repeat the above steps with your Gmail webmail interface first, before you are able to connect with Kmail. Tedious, I know.
> Looks like I'll have to use a different email client for gmail. Can I even > have two MUAs active at the same time?
I don't think this would be necessary, but yes, once your IP is accepted by Google's security algos I think you should be able to login and download your emails with any other client too. I seem to recall I didn't have a problem using mutt in this way. -- Regards, Mick

Attachments

File name MIME type
signature.asc application/pgp-signature