Bug 244874 - Kmail does not remember empty password on IMAP with anonymous login
Summary: Kmail does not remember empty password on IMAP with anonymous login
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.13.3
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 16:45 UTC by SinnerBOFH
Modified: 2015-04-12 10:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
waiting message fetching (18.05 KB, image/png)
2010-08-15 09:12 UTC, gianted
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SinnerBOFH 2010-07-16 16:45:44 UTC
Version:           1.13.3 (using KDE 4.4.3) 
OS:                Linux

For IMAP accounts with anonymous login and empty password, Kmail does not remember the empty password. Tried checking/unchecking "Store IMAP password", tried "Security: Authentication Method: Anonymous/Clear Text". Had this problem on all KMail from KDE 4.x.y versions up to 4.4.3 compiled either by Mandriva official or Mandriva third-parties

Reproducible: Always

Steps to Reproduce:
1. Create account for http://dovecot.org/mailinglists.html called, for example, dovecot-archives (dovecot.org as the host-name, anonymous as the user-name and an empty password)
2. Check (or leave unchecked) "Store IMAP password"
3. Set "Security: Authentication Method" to either "Anonymous" or "Clear Text"
4. Save account
5. Exit KMail (or Kontact)
6. Launch KMail (or Kontact)
7. Click on Check Mail in All folders icon

Actual Results:  
User gets prompted for password on dovecot-archives (annonymous-with-no-password) account. If you check the "remember this password", exit Kmail and try again, you get prompted again for password.

Expected Results:  
If password is empty and save password is checked on account configuration, 
OR using Anonymous "Security: Authentication Method"
OR user checks "Remember password" on a password dialog and there is an empty password

THEN KMail should remember that for this account, password is empty and not ask for password again

Entering a random password on account set up, checking "Remember IMAP password" and selecting Anonymous "Security: Authentication Method", then KMail does not ask for password.

This works, but it is ugly and non-intuitive (and wrong)
Comment 1 Shlomi Fish 2010-07-16 17:43:31 UTC
Can reproduce it here - Mandriva Linux Cooker running on a Pentium 4 2.4GHz machine with KDE-4.4.92.
Comment 2 gianted 2010-08-15 09:12:15 UTC
Created attachment 50570 [details]
waiting message fetching
Comment 3 gianted 2010-08-15 09:18:57 UTC
if I'm confident in a good password (while actually I fill the login with a wrong one), I can reply to a listed email (not fetched, of course): I am stuck on waiting a dialog closure like "wait until the message is downloaded" (see my attachment).
Comment 4 gianted 2010-08-15 09:22:33 UTC
I'm sorry, but only now I realize that this is a duplicated bug like # 240266.
Comment 5 Laurent Montel 2015-04-12 10:09:47 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.