Version: (using KDE KDE 3.1) Installed from: Debian stable Packages In an IMAP account entry right-click and create new subfolder, say "test" Right click the new "test" folder (which has no messages in) and choose neww subfolder again, say "test2" Error message saying can't create folder. Looking in the IMAP folder on disk there is a new file called "test" representing the first created mailbox - unfortunately this isn't what was wanted, what was wanted was a new directory called "test". The solution i would suggest is distinguishing between mailboxes and folders. so right-clicking would give two options "new subfolder" and "new mailbox".
That is exactly what kmail does - it tries to check if the server supports folders that can contain mails and folders. If the server doesn't support this kmail asks if you want to create a folder that contains folders (a dir) or a folder that contains mails. Isn't that your case? What kind of server are you using?
Am running uw-imapd. Works in mozilla. And as mentioned above it works if I create the directory by hand in my IMAP folder on the disk e.g. mkdir "IMAP/test" and then "test" appears in kmail *and* allows me to create the subsubfolder "test2". But again I can't create subfolders under test2. I appreciate why this is a tricky problem; mbox mailboxes are files and so there is no way to create a directory under a file - that's fine. However if the mailbox has no messages in it then kmail could detect that, delete the mailbox file and create a directory instead. If there are messages in the mailbox already then the error message is entirely appropriate.
Using KDE 3.1.1 and KMAIL 1.5.1, I can no longer create IMAP-folders at all. In the "Belongs to" property, I can only select "Top level" and "archive" (local storage). It worked on my previous installation (which was 3.1/1.5). The guy sitting four feet away from me can create IMAP-folders just fine. So for some reason, KMAIL on my machine has decided that it cannot create IMAP-folders all of a sudden :-(
Subject: Re: can't create subsubfolders in IMAP accounts Am Friday 25 April 2003 10:20 schrieb Joaquim Homrighausen: > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > > http://bugs.kde.org/show_bug.cgi?id=55295 > > > > > ------- Additional Comments From joho@webbplatsen.se 2003-04-25 10:20 > ------- Using KDE 3.1.1 and KMAIL 1.5.1, I can no longer create > IMAP-folders at all. In the "Belongs to" property, I can only select "Top > level" and "archive" (local storage). It worked on my previous installation > (which was 3.1/1.5). The guy sitting four feet away from me can create > IMAP-folders just fine. So for some reason, KMAIL on my machine has decided > that it cannot create IMAP-folders all of a sudden :-( You're using SuSE 8.2 and did a YOU update and the guy did not? Greetings, Stephan
I have the same problem here (SuSE 8.1 with supplementary SuSE KDE 3.1-RPMs, KMail 1.5.1). I don't receive an error message when trying to create a new subfolder on an IMAP account, but the folder is created locally. Creating IMAP subfolders worked on the same server with previous versions of KMail.
I can confirm this (SuseLinux 8.1 and KDE 3.1.1 and Kmail 1.5.1 from the supplements (not shiped with Suse 8.1)). If you use the context menu: All folders created under inbox are created as local folders (not on the IMAP Server side and not under the IMAP-Box tree). if you use Folder -> New Folder ("Ordner anlegen" in german): You cannot select the IMAP-Box from the drop down menu ("Odnerposition" in german) at all. No problems with POP3 boxes (of course, they are allready local i guess ...;)). IMAP server is Cyrus. It work with the shipped verison of Kmail on Suse 8.1. Mozilla-Mail does work fine too. lacroix
Subject: Re: can't create subsubfolders in IMAP accounts Dear SuSE users! The KMail 1.5.1 version which was released by SuSE is unfortunately broken as you have discovered yourselves. Either downgrade to KMail 1.5 or check whether the problem is fixed in the latest KMail 1.5.1 release from SuSE. For your information: The original bug report has nothing to do with the bug in the SuSE release.
Subject: kdebase/kioslave/imap4 CVS commit by burghard: I have no idea what that part was for but it broke the detection of the folder type. You can create mbox folders again. CCMAIL: 55295-done@bugs.kde.org M +5 -3 imap4.cc 1.136 --- kdebase/kioslave/imap4/imap4.cc #1.135:1.136 @@ -802,4 +802,5 @@ IMAP4Protocol::mkdir (const KURL & _url, enum IMAP_TYPE type = parseURL(_url, aBox, aSection, aLType, aSequence, aValidity, aDelimiter); + kdDebug(7116) << "IMAP4::mkdir - parseURL of " << _url << " returned type " << type << endl; if (type == ITYPE_BOX) { @@ -1763,5 +1764,5 @@ IMAP4Protocol::parseURL (const KURL & _u it != listResponses.end (); ++it) { -// kdDebug(7116) << "IMAP4::parseURL - checking " << _box << " to " << (*it).name() << endl; + //kdDebug(7116) << "IMAP4::parseURL - checking " << _box << " to " << (*it).name() << endl; if (_box == (*it).name ()) { @@ -1811,5 +1812,6 @@ IMAP4Protocol::parseURL (const KURL & _u if (_type == "LIST") { - retVal = ITYPE_DIR; + /* what the heck is that part for ?? (carsten) */ +// retVal = ITYPE_DIR; if (_hierarchyDelimiter.isEmpty()) _hierarchyDelimiter ="/"; }