Comment 7 for bug 158978

Revision history for this message
Florian Aldehoff (aldehoff) wrote :

I can confirm this on my machine:

kmail --version
Qt: 3.3.8b
KDE: 3.5.10
KMail: 1.9.9
Debian 5.0.2

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.