Bug 303248 - Cannot create top-level IMAP folders (or move folders to top level)
Summary: Cannot create top-level IMAP folders (or move folders to top level)
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 4.8.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-09 17:34 UTC by Karl-Johan Karlsson
Modified: 2012-07-09 17:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Johan Karlsson 2012-07-09 17:34:45 UTC
Running KMail against a Dovecot 2.1.8 IMAP server, folders are shown as being at the top level (which they should), even though they are stored under the INBOX in the file system. New folders on the server (created automatically by Procmail) show up where they should.

Creating new top-level folders through KMail is impossible. Right-clicking an existing folder in the folder list and selecting "Add Folder..." creates the new folder under that one. Right-clicking the account does not show that option. Selecting the account and looking in the menu bar, "Folder -> Add Folder..." is inactive (grayed out). Right-clicking an existing folder and selecting "Move folder to..." pops up the folder tree, in which clicking the account does nothing, and the top level does not have a "Move to This Folder" entry (which is present for those folders which already have subfolders).

Reproducible: Always




IMAP trace from login (with folder names censored):

C: A000004 CAPABILITY
S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE
S: A000004 OK Capability completed.
C: A000005 NAMESPACE
S: * NAMESPACE ( ("" ".") ) ( ) ( )
S: A000005 OK Namespace completed.
C: A000006 LIST "" *
S: * LIST ( \HasNoChildren ) . Xxxx
[...]
S: * LIST ( \HasChildren ) . Yyyy
S: * LIST ( \HasNoChildren ) . Yyyy.Zzzz
[...]
S: * LIST ( \HasNoChildren ) . INBOX
S: A000006 OK List completed.
C: A000007 SELECT "INBOX"
S: * FLAGS ( \Answered \Flagged \Deleted \Seen \Draft KMAILFORWARDED KMAILTODO KMAILWATCHED KMAILIGNORED $FORWARDED $TODO $WATCHED $IGNORED $ATTACHMENT $REPLIED )
S: * OK Flags permitted. [ PERMANENTFLAGS ( \Answered \Flagged \Deleted \Seen \Draft KMAILFORWARDED KMAILTODO KMAILWATCHED KMAILIGNORED $FORWARDED $TODO $WATCHED $IGNORED $ATTACHMENT $REPLIED \* )  ]
S: * 891 EXISTS
S: * 0 RECENT
S: * OK UIDs valid [ UIDVALIDITY 1229176712  ]
S: * OK Predicted next UID [ UIDNEXT 1373  ]
S: * OK No permanent modsequences [ NOMODSEQ  ]
S: A000007 OK Select completed. [ READ-WRITE  ]
C: A000008 IDLE
S: + idling
S: * OK Still here
C: DONE
S: A000008 OK Idle completed.
C: A000009 LOGOUT
X
Comment 1 Laurent Montel 2012-07-09 17:40:52 UTC
4.8.5/4.9