Bug 211943

Summary: IMAP folders ignored if not created by KMail
Product: [Unmaintained] kmail Reporter: Gioele Barabucci <dev>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bjoern
Priority: NOR    
Version First Reported In: 1.12.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gioele Barabucci 2009-10-26 15:53:28 UTC
Version:           1.12.2 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

KMail refuses to show IMAP folders not created by KMail itself.

This account used to have only an INBOX folder. KMail can use it fine. Then I create an "Archive" folder with the IMAP CREATE command. (a log of the creation follows) KMail does not display this folder. It does not not display it in the subscribable remote folders (even after reloading the list).

To make sure that the server was working fine with KMail, I created, in another account, a new folder using KMail. That folder is recognised by KMail and correctly shown.

Log of the "Archive" creation

  . LIST "" "*"
  * LIST (\HasNoChildren) "." "INBOX"
  . OK List completed.
  . CREATE "Archive"
  . OK Create completed.
  . LIST "" "*"
  * LIST (\HasNoChildren) "." "Archive"
  * LIST (\HasNoChildren) "." "INBOX"
  . OK List completed.

Log of the EXAMINE command for the "Archive" and "INBOX" folders

  . EXAMINE "Archive"
  * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
  * OK [PERMANENTFLAGS ()] Read-only mailbox.
  * 0 EXISTS
  * 0 RECENT
  * OK [UIDVALIDITY 1240524513] UIDs valid
  * OK [UIDNEXT 1] Predicted next UID
  . OK [READ-ONLY] Select completed.
  . EXAMINE "INBOX"
  * FLAGS (\Answered \Flagged \Deleted \Seen \Draft
  KMAILFORWARDED KMAILTODO KMAILWATCHED KMAILIGNORED
  $FORWARDED $TODO $WATCHED $IGNORED)
  * OK [PERMANENTFLAGS ()] Read-only mailbox.
  * 434 EXISTS
  * 0 RECENT
  * OK [UIDVALIDITY 1240524512] UIDs valid
  * OK [UIDNEXT 877] Predicted next UID
  . OK [READ-ONLY] Select completed.
Comment 1 Björn Ruberg 2010-03-06 22:47:04 UTC
May be you have to add a subscription for the folder?
Comment 2 Torgny Nyblom 2010-03-07 06:59:56 UTC
Also check what you have in the "Namespace" fields in the settings fro that IMAP account.
Comment 3 Laurent Montel 2015-04-12 10:03:08 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.