Bug 111756 - emails disappear when renaming cachedIMAP folder
Summary: emails disappear when renaming cachedIMAP folder
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: disconnected IMAP (show other bugs)
Version: 1.8.1
Platform: Gentoo Packages Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 130778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-30 10:52 UTC by Dirk Wollherr
Modified: 2011-10-12 22:29 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wollherr 2005-08-30 10:52:03 UTC
Version:           1.8.1 (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages
Compiler:          gcc-3.3.5-20050130 
OS:                Linux

When trying to rename a cachedIMAP folder via "Properties", emails within the folder are deleted. The local renaming seems to work, but when kmail syncs with the server, the folder is empty. 

When looking at the directories on the server, the old directory is deleted and a new (empty) directory with the new name is created.

We are using Courier-IMAP.
Comment 1 Tommi Tervo 2006-09-05 14:49:32 UTC
*** Bug 133339 has been marked as a duplicate of this bug. ***
Comment 2 Tommi Tervo 2006-09-05 14:50:11 UTC
*** Bug 130778 has been marked as a duplicate of this bug. ***
Comment 3 David Blewett 2007-10-05 19:29:19 UTC
Just got bit by this on a current version of gentoo:
KDE 3.5.7, kontact 1.2.5 and kmail 1.9.7, compiled with gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1).

I moved mail into a folder, renamed it via the Properties dialog. After I synchronized with the server, the folder was gone. Suspecting it wasn't subscribed, I checked the subscription dialog and enabled it. The folder appeard, but no mail. I double-checked on the server and the old folder had been indeed deleted and there was no mail in the new folder.

Let me know if there's anything else you need to know.

David Blewett
Comment 4 sebastia 2008-09-24 09:00:28 UTC
I see more or less the same with cached Imap account, using KDE 3.5.9, kmail 1.9.9 on opensuse 10.3 i586. imap server is cyrus.

kmail is configured to only show subscribed folders. When the folder is renamed 
then the subscription gets lost, and the folder does not show up anymore.
The renaming process works fine, as the folder with the new name is in the imap server available, containing all the messages.
Opening the subscriptions, then the folder can be selected again.
However, on new mail checking, the folder does not show up. Sometimes it helps to troubleshoot the imap cache from within kmail, refreshing the cache, and rebuilding the index, but that does not work always.
Sometimes it is necessary, to create a new folder on a different way, then copy the files from the renamed folder into the new folder, and then check mail with kmail again. Then the new folder created in the other program appears in kmail too.
Comment 5 Björn Ruberg 2009-12-21 21:48:34 UTC
Is this still an issue?
Comment 6 BartOtten 2011-10-12 00:10:37 UTC
For people back in the 80's it is. Can be closed now.