Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.3.1 OS: Linux It seems that kmail considers the mailbox prefix as another mailbox, when using the disconnected mode. The structure on the imap server that I have has a directory called "Mail" which contains all the mailbox files (sent, outbox...). So I set it to use "Mail" as prefix. This setup works works fine on the online mode. But with the disconnected imap version, kmail seems to try to read "Mail" as a mailbox, which is not (it's just a folder that contains all the mailboxes which are plain files) So I get the following error: "Unable to open folder Mail. The server replied: SELECT failed: Can't open Mail: not a selectable mailbox"
*** Bug 54664 has been marked as a duplicate of this bug. ***
*** Bug 70683 has been marked as a duplicate of this bug. ***
*** Bug 75437 has been marked as a duplicate of this bug. ***
CVS commit by burghard: The dimap folder listing now works with prefix. It uses the same logic as online imap. CCMAIL: 66469-done@bugs.kde.org M +96 -104 kmfoldercachedimap.cpp 1.64 M +5 -7 kmfoldercachedimap.h 1.29
This should probably be reopened, because I'm having almost exactly the same problem with an up-to-date kmail (3.3 BRANCH). From the logs: "kmail: check mail started - connections for host mail.cs.tut.fi now is 1 kio (KIOJob): error 8 ACL kio (KIOJob): error 63 Unable to open folder Mail. The server replied: SELECT failed: Can't open Mail: not a selectable mailbox" ("Mail" is the prefix, as in the previous case)
I'm using kde cvs from a few days ago. (though problem also seen with 3.3) I can access my mail just fine using an account with type=imap (I have prefix=/Mail/). If I try to use type=cachedimap (with all other details the same) I get the following error message; --- Error while reading folder Work on the server: Unable to open folder Mail/Work. The server replied: SELECT failed: Can't open Mail/Work: not a selectable mailbox --- I see similar messages for all sub folders of Mail. The server is IMAP4rev1 v10.220
Please reopen this bug.
Here is the debug output (with server name removed); kmail: [void KIMProxy::unregisteredFromDCOP(const QCString&)] anonymous-23651 kmail: processNextCheck, remaining 1 kmail: for host <snip>.<snip>.com current connections=0 and limit is 0 kmail: connection limit reached: false kmail: processing next mail check for Work kmail: check mail started - connections for host <snip>.<snip>.com now is 1 kmail: [void KIMProxy::registeredToDCOP(const QCString&)] kwalletmanager kmail: dcopService: kopete, appId: kwalletmanager kmail: [void KIMProxy::registeredToDCOP(const QCString&)] anonymous-23701 kmail: dcopService: kopete, appId: anonymous-23701 kmail: [void KIMProxy::unregisteredFromDCOP(const QCString&)] anonymous-23701 kio (KIOJob): error 8 ACL kio (KIOJob): error 63 Unable to open folder Mail. The server replied: SELECT failed: Can't open Mail: not a selectable mailbox kmail: updateAnnotationFolderType: kio (KIOJob): error 8 ANNOTATEMORE kmail: processNextCheck, remaining 0 kmail: account Work finished check kmail: connections to server <snip>.<snip>.com now 0 This with CVS HEAD from about 2 hours ago.