You are not logged in.

#1 2017-04-24 05:43:11

avi9526
Member
Registered: 2015-05-15
Posts: 116

["SOLVED"] kmail weird connect to gmail

I can no longer use kmail with gmail. When I try add IMAP account and type "imap.gmail.com" in server field kmail disable password field and when I press OK it opens some kind of web browser with gmail login page. Can this "very smart" behaviour be disabled in favour of regular IMAP configuration?

"SOLUTION"

seth wrote:

If you concern OAUTH2, replacing imap.gmail.com with imap.googlemail.com should™ skip the hardcoded check.

Last edited by avi9526 (2017-04-25 01:20:53)

Offline

#2 2017-04-24 06:26:15

seth
Member
Registered: 2012-09-03
Posts: 51,796

Re: ["SOLVED"] kmail weird connect to gmail

Offline

#3 2017-04-24 06:30:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: ["SOLVED"] kmail weird connect to gmail

Are you using 2FA?

Offline

#4 2017-04-24 06:35:54

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,103

Re: ["SOLVED"] kmail weird connect to gmail

avi9526 wrote:

I can no longer use kmail with gmail. When I try add IMAP account and type "imap.gmail.com" in server field kmail disable password field and when I press OK it opens some kind of web browser with gmail login page. Can this "very smart" behaviour be disabled in favour of regular IMAP configuration?

No, you can't disable it at runtime, only at build time. You didn't say what the actual problem is.

Offline

#5 2017-04-24 08:07:12

avi9526
Member
Registered: 2015-05-15
Posts: 116

Re: ["SOLVED"] kmail weird connect to gmail

arojas wrote:

You didn't say what the actual problem is.

I seek way to continue use of google application password for kmail

arojas wrote:

No, you can't disable it at runtime, only at build time.

is "imap.gmail.com" hardcoded to trigger this?

Offline

#6 2017-04-24 08:28:16

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,103

Re: ["SOLVED"] kmail weird connect to gmail

avi9526 wrote:

is "imap.gmail.com" hardcoded to trigger this?

Yes https://github.com/KDE/kdepim-runtime/b … ls.cpp#L28

Offline

#7 2017-04-24 14:18:58

seth
Member
Registered: 2012-09-03
Posts: 51,796

Re: ["SOLVED"] kmail weird connect to gmail

Afaiu you only need to enter you creds there once in order to use the OAUTH2 login.
If you concern OAUTH2, replacing imap.gmail.com with imap.googlemail.com should™ skip the hardcoded check.

Offline

#8 2017-04-25 01:19:34

avi9526
Member
Registered: 2015-05-15
Posts: 116

Re: ["SOLVED"] kmail weird connect to gmail

seth wrote:

Afaiu you only need to enter you creds there once in order to use the OAUTH2 login.

this is may be true, but my kwallet uses gpg key to encrypt passwords, and if master password is not entered in 30sec the kmail/kontact/akonadi will spam my desktop every 60 sec with gmail login window, which gets me triggered, because I against non-optional hard-coded commercial services that require extra interaction.

seth wrote:

If you concern OAUTH2, replacing imap.gmail.com with imap.googlemail.com should™ skip the hardcoded check.

this is the "solution", thank you

Offline

#9 2017-04-25 05:49:13

seth
Member
Registered: 2012-09-03
Posts: 51,796

Re: ["SOLVED"] kmail weird connect to gmail

pam my desktop every 60 sec with gmail login window

Sounds like a bug that you should report upstream.

Offline

Board footer

Powered by FluxBB