Bug 120661

Summary: misleading error message for plain sasl authentication method when trying to send with wrong password
Product: [Applications] kmail Reporter: Sebastian Reitenbach <itlistuser>
Component: sendingAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bugs
Priority: NOR    
Version: 1.9   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sebastian Reitenbach 2006-01-23 16:19:23 UTC
Version:           1.9 (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs
OS:                Linux

When I use SMTP AUTH PLAIN with TLS to authenticate me against my mail server, kmail presents me the following message:

Sending failed:
Your SMTP server does not support PLAIN.
Choose a different authentication method.
The server responded: "Error: authentication failed"
The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
The following transport protocol was used:
smtp-auth-plain-test


When using a wrong password with SMTP AUTH LOGIN, then the following message shows up:

Sending failed:
Authentication failed.
Most likely the password is wrong.
The server responded: "Error: authentication failed"
The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
The following transport protocol was used:
smtp-auth-login-test

Expected behaviour:
- I would like to see a more comprehensive error message for SMTP AUTH PLAIN as the like of the SMTP AUTH LOGIN mechanism.

Lots of my users ask me what i changed at the server after they changed their passwords at the mailserver. (most of them forget that the old one is stored in the kwallet and that they have to change it in kmail also). So a more cleare error, stating that the password is most likely wrong, maybe with a hint where to change it, would be a lot better.
Comment 1 Graeme Hewson 2013-03-20 12:57:30 UTC
See also bug 298837 for kmail2.
Comment 2 Laurent Montel 2015-04-12 09:44:36 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.