From kolab-users Fri Oct 01 14:38:40 2004 From: Stefan Date: Fri, 01 Oct 2004 14:38:40 +0000 To: kolab-users Subject: Recovering the mailbox within kolab and kontact Message-Id: <200410011638.40152.stefan () organet ! com> X-MARC-Message: https://marc.info/?l=kolab-users&m=117347166908669 Hello List, it's working again!=20 But I have discovered a bug (or should I say a feature) in kontact - not=20 proko2!! I'm posting to this ML because I think, developers of kontact or proko2 are= =20 reading this ML, too! If it's no bug, then the recovering- and syncing-procedure is documented fo= r=20 public use. I want to state one thing out: I have two notebooks. On the first one, I use - since yesterday - proko2 an= d I=20 fear it deleted all my messages on the server! I will examine that this=20 weekend. On the second machine, I'm using kontact of kde 3.3.0! Okay? With the second machine I did the recovering. Because I'm using a "german" kontact, I will post the menuentries in german= ,=20 too.......I'm to lazy after that recovering trip! I restored my message base and did a=20 /kolab/bin/cyrreconstruct -rf user/username@domain.com Every time I started kontact it deleted my messages again. Every attempt to= =20 "recreate the index" or "rebuild the diamp cache" ended with an empty=20 mailfolder on the server. So I did it the hard way: I deleted my dimap cache file in .kde/share/apps/kmail/dimap and restarted= =20 kontact. It crashed.....but I'm brave and started it again. This time it=20 runs! Now I wanted to recreate and sync my dimap cache. I right-clicked on Inbox = and=20 used the menu entry "Problembeseitigung im IMAP Zwischenspeicher" and there= =20 "Zwischenspeicher neu aufbauen". It synced _this_ folder; means all messages in this folder are in sync, but= =20 again kontact deleted all messages in subfolders on the server. :-( Like I've mentioned before: I'm brave!! :-) So I copied again the subfolders from my backup into my mailbox directory a= nd=20 did a /kolab/bin/cyrreconstruct -rf user/username@domain.com one more time. I repeated the sync procedure for the next subfolder within kontact. It syn= ced=20 this folder and again: It deleted the messages in all other subfolders. The= =20 messages synced in the toplevel folder stayed, too. =46rom this time on, I've copied the subfolders one by one from the backup = into=20 my mailbox directory and reconstructed them with cyrreconstruct and synced= =20 them within kontact! At least it worked, but.........is this the normal=20 procedure for syncing the cache?? I don't think so! Why isn't it possible to sync the whole mailfolder in one go?? Bye, bye ......and have a nice weekend! :-) Stefan