Bug#560957: kmail deleted contents of inbox with dimap
Package: kmail
Version: 4:3.5.9-5
Severity: grave
Justification: causes non-serious data loss
Identical to bug 158978 in Launchpad, see https://bugs.launchpad.net/kdepim/+bug/158978 for additional information and reports from
other users. The bug was also reported to affect Kmail 1.12.1 in KDE4.3.1!!
I'm using dIMAP for a Gmail account. On first connect in the morning I got a cryptic message complaining about non-readable contents on
the IMAP server. All folders but my inbox were synchronized and the inbox was displayed as empty. Irritated by this I pressed the
button a second time and the inbox was readable this time, but kmail instantly deleted all mails on the server (as it notified in the
status bar) and then just downloaded the new stuff that had come in since I had left work the previous evening. It basically deleted
several hundred messages in a few seconds. None of the subfolders were affected, though this has happened previously on my private
account using another machine (only a subset of the inbox contents was deleted then, same Kmail version and setup).
It seems like the server error caused Kmail to update the local cache (deleting messages that were there previously) - which it should
not do if there's been only a transmission error and no real modification on the server side. Then upon the next synchronisation it
updates the server by actually deleting all remote messages as well.
Update 12/2009: This has happened twice in the meantime. Luckily I can access a second mirror of the IMAP so the deleted messages could
be recovered, but others might not be that lucky.
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kmail depends on:
ii kdebase-kio-plug 4:3.5.9.dfsg.1-6 core I/O slaves for KDE
ii kdelibs4c2a 4:3.5.10.dfsg.1-0lenny3 core libraries and binaries for al
ii kdepim-kio-plugi 4:3.5.9-5 KDE pim I/O Slaves
ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi
ii libaudio2 1.9.1-5 Network Audio System - shared libr
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libfontconfig1 2.6.0-3 generic font configuration library
ii libfreetype6 2.3.7-2+lenny1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.3.2-1.1 GCC support library
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libidn11 1.8+20080606-1 GNU libidn library, implementation
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libkcal2b 4:3.5.9-5 KDE calendaring library
ii libkdepim1a 4:3.5.9-5 KDE PIM library
ii libkleopatra1 4:3.5.9-5 KDE GnuPG interface libraries
ii libkmime2 4:3.5.9-5 KDE MIME interface library
ii libkpimidentitie 4:3.5.9-5 KDE PIM user identity information
ii libksieve0 4:3.5.9-5 KDE mail/news message filtering li
ii libmimelib1c2a 4:3.5.9-5 KDE mime library
ii libpng12-0 1.2.27-2+lenny2 PNG library - runtime
ii libqt3-mt 3:3.3.8b-5+b1 Qt GUI Library (Threaded runtime v
ii libsm6 2:1.0.3-2 X11 Session Management library
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii libx11-6 2:1.1.5-2 X11 client-side library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxft2 2.1.12-3 FreeType-based font drawing librar
ii libxi6 2:1.1.4-1 X11 Input extension library
ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library
ii libxrandr2 2:1.2.3-1 X11 RandR extension library
ii libxrender1 1:0.9.4-2 X Rendering Extension client libra
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages kmail recommends:
ii kmailcvt 4:3.5.9-5 KDE KMail mail folder converter
ii procmail 3.22-16 Versatile e-mail processor
Versions of packages kmail suggests:
ii bogofilter 1.1.7-1 a fast Bayesian spam filter (dummy
ii clamav 0.95.3+dfsg-1~volatile1 anti-virus utility for Unix - comm
ii gnupg 1.4.9-3+lenny1 GNU privacy guard - a free PGP rep
ii gnupg-agent 2.0.9-3.1 GNU privacy guard - password agent
ii kaddressbook 4:3.5.9-5 KDE NG addressbook application
ii kleopatra 4:3.5.9-5 KDE Certificate Manager
ii pinentry-qt [pin 0.7.5-2.1 Qt-based PIN or pass-phrase entry
ii spamassassin 3.2.5-2+lenny1 Perl-based spam filter using text
-- no debconf information
Reply to: