Bug 57826 - All folders are deleted on IMAP server
Summary: All folders are deleted on IMAP server
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: disconnected IMAP (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-28 23:46 UTC by Paul Mitchell
Modified: 2007-09-14 12:17 UTC (History)
0 users

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 Paul Mitchell 2003-04-28 23:46:43 UTC
Version:           kroupware-RC2 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 2.95.3 20010315 (SuSE) 
OS:          Linux

IMAP server Cyrus 2.0.16

When looking at kmail (kroupware-rc2) for IMAP sieve support, I built KMail from CVS, but keep the orginal KMail from 3.1.1 around, just in case.

Everything seemed OK, although it did seem to take a long time syncing the folders.

I closed kmail this morning, but opened the old version this morning.  I was minus my IMAP connection, I quickly realised that to was the wrong version.  So closed down the old version and open the new version.  After being prompted for the password, I noticed a kio style progress dialog appear, informing me that it was deleting files.  Not thinking it was doing anything on the IMAP server, it was only the second time I open it, I let it go on. It then reported that it could not delete the INBOX on the mail server, then crashed.  Re-opened the new kmail and found that IMAP account had been removed.  Recreated the account and discovered that they where no folders in my INBOX.

I logged in to the cyrus server and found that indeed my account was wiped clean, except for a folder that contained sub-folders, the email messages in there where intact.

I've tried it a couple of times and it seems to happen everytime I open the old kmail, I'll created a test account to see if I can provide any more information, although I understand that it's not recommend to run two different version of kmail.  However, these consequences are a little strong.
Comment 1 bo 2003-10-28 18:00:32 UTC
This has been fixed by making the disconnected imap cache be in a different place than the online imap cache.