[Bug 291006] New: Kmail loses mail and folders on IMAP server

Y kde08 at sfina.com
Sun Jan 8 23:13:53 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=291006

           Summary: Kmail loses mail and folders on IMAP server
           Product: kmail2
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kde08 at sfina.com


Version:           unspecified (using KDE 4.7.4) 
OS:                Linux

I archive my mail on an IMAP server and access it with Kmail from my
workstation and my notebook, both of which run Kubuntu 11.10 / KDE 4.7.4 from
the Kubuntu PPA.

Today I was working on my notebook, moving folders inside the IMAP archive. 
Everything seemed to go well: a new folder created, moved a couple of emails
and folders into it.

But when I accessed the IMAP server from the desktop, nothing was there.

I logged on with SSH to the server running IMAP and indeed the maildir folder
structure is still the old one and there is no trace of the couple of emails
that I moved.

It turns out that the IMAP server was not running.  I start the IMAP server and
the desktop can access the old folder structure and the old emails.

Then I turn on the notebook and start Kmail.  A large number of messages flash
so quick that I can not see them.  I find a few of them in the notification
tray.  Many of them read
"Failed to delete the folder, restoring folder list."

One read:
"Append failed, server replied A000014 NO Must create mailbox before append [
TRYCREATE ]"

And then a last ominous one:
"Item query returned empty result set"

Kmail on the notebook restored the old folder structure, and the folders are
*empty*!  On the workstation they were gone as well, and when I logged into the
server with SSH, they were gone too.

Did Kmail destroy one year worth of email archives?  If not, where can I hope
to find / restore them?


Reproducible: Didn't try

Steps to Reproduce:
* Stop the IMAP server with whom Kmail2/Akonadi are communicating.
* Move around emails and folders in Kmail2
* Shut down the client
* Restart the IMAP server
* Restart Kmail2
* Watch

Actual Results:  
emails went missing in action

Expected Results:  
either warn that you can't do the operations; or try to replay them; but keep a
backup of the concerned messages until there is confirmation that the operation
succeeded; and make such backup easily accessible.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list