This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kmail login fail [Solved -kind of-]

Tags: None
(comma "," separated)
User avatar
eemantsal
Registered Member
Posts
118
Karma
0
OS

Kmail login fail [Solved -kind of-]

Tue Jul 05, 2016 5:58 pm
I've configured an account in Openmailbox but the password is always rejected. Kmail says: A000003 NO Authentication failed. [ AUTHENTICATIONFAILED ]. I have another Openmailbox account which works flawlessly, the only differnce I can think of is that the faulty account's password contains an euro symbol, €, but I have a third account with a different server which password also contains an €, and works well. Does anybody know what could be wrong?

Thanks.

Last edited by eemantsal on Thu Aug 11, 2016 4:58 pm, edited 1 time in total.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Kmail login fail

Wed Jul 06, 2016 5:24 am
First and foremost you may want to check if the authentication options are the same for the working and non working accounts, and secondly if the password stored in KWallet (if you have it stored) matches what you typed in. (I have an openmailbox account myself without many issues).

Does login work from the web interface of openmailbox?

If all else fails, you could enable IMAP tracing to see what's going on (warning: this will create a large file, so make sure to disable it afterwards).

In a terminal, type:

Code: Select all
export KIMAP_LOGFILE=$HOME/kimap.log; akonadictl restart


This will write a file called kimap.log (or multiple, if you have more than one account) with all the exchange between you and the server. Try to check the mail for the bad account, then stop tracing again:

Code: Select all
unset KIMAP_LOGFILE; akonadictl restart


And inspect the log for possible clues.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
eemantsal
Registered Member
Posts
118
Karma
0
OS

Wed Jul 06, 2016 1:08 pm
einar wrote:... you may want to check if the authentication options are the same for the working and non working accounts, and secondly if the password stored in KWallet (if you have it stored) matches what you typed in

You are right, they were different: the working account had «PLAIN», and the faulty one, «Clear text». Both accounts were configured with the account wizard tool; I don't understand why older versions of Kmail used «PLAIN» and newer «Clear text».
Anyway, I've changed the faulty account to PLAIN, and reports the same error: «NO Authentication failed. [ AUTHENTICATIONFAILED ]»
BTW, I have just changed the auth. method in the working account from PLAIN to Clear text, and nothing changes, it keeps working; the "buggy" account doesn't work no matter what I select here, so I don't think this authentcation thing has anything to do, no?

einar wrote:Does login work from the web interface of openmailbox?

Clear, clear. That's what I thought the very first, that perhaps I had typed the password wrongly, but no, I can log in from the web perfectly.
I have exactly the same config settings for both OMBX accounts: Imap server, port..., and now, the auth method too. It seems something password related: if I look into the account settings, in the «Receiving» tab, there's a bad connection icon and a legend: «Could not connecto to the IMAP server imap.openmailbox.org. Could not read the password: user rejected wallet access». I don't understand at all how all my other mail accounts have wallet access and this one doesn't :-\
Do you think I should still try that IMAP tracing you recommended before or it's probably something Kwallet related?

Thanks for your help.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Kmail login fail

Thu Jul 07, 2016 5:52 am
Can you clear the password from KWallet completely, then start KMail and reinsert it?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
eemantsal
Registered Member
Posts
118
Karma
0
OS

Re: Kmail login fail

Thu Jul 07, 2016 10:54 am
Hasn't worked. I removed the password from Kwallet, and launched again Kmail, which asked me for the password, I entered it, and after some seconds, returned the same error message. Then I deleted all the problematic account configuration in Kmail and recreated it again, with the same results. :-\
Since I was suspecting of that euro sign in the password I went to the "User interface" page at Openmailbox.org to change the password and try a simpler one, but guess what, it didn't accept my password either. So I've gone to the forums and seen this: https://forum.openmailbox.org/viewtopic.php?id=1633 which is exactly the same problem I have.
So, at the end it seems that it's not Kmail's fault but Openmailbox's, that only works correctly with secure passwords in the web interface for the mailbox and nowhere else. I have contacted them commenting the issue. I'll wait for their answer before losing any more time trying to solve it. In case they confirm the error is on their side I'll mark this thread as solved, but anyway Kmail should not indicate false causes like that "user rejected wallet access" but just say that the server is rejecting the password, or not say anything, because false information is worse than no information at all. So, if any developer reads this, please, consider seriously not giving false information.

Many thanks for your help, Einar.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Kmail login fail

Thu Jul 07, 2016 7:33 pm
You may want to file a bug on bugs.kde.org indicating the misleading string.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
eemantsal
Registered Member
Posts
118
Karma
0
OS

Re: Kmail login fail  Topic is solved

Thu Aug 11, 2016 4:57 pm
I'm marking this thread as solved since there are many users of Openmailbox that complain about the same and are using other mail clientes like Thunderbird, so it is obvlously not Kmail's fault but Openmailbox's.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]