Recovering the mailbox within kolab and kontact

Stefan stefan at organet.com
Fri Oct 1 16:38:40 CEST 2004


Hello List,

it's working again! 
But I have discovered a bug (or should I say a feature) in kontact - not 
proko2!!
I'm posting to this ML because I think, developers of kontact or proko2 are 
reading this ML, too!
If it's no bug, then the recovering- and syncing-procedure is documented for 
public use.
I want to state one thing out:
I have two notebooks. On the first one, I use - since yesterday - proko2 and I 
fear it deleted all my messages on the server! I will examine that this 
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, 
too.......I'm to lazy after that recovering trip!

I restored my message base and did a 
/kolab/bin/cyrreconstruct -rf user/username at domain.com

Every time I started kontact it deleted my messages again. Every attempt to 
"recreate the index" or "rebuild the diamp cache" ended with an empty 
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 
kontact. It crashed.....but I'm brave and started it again. This time it 
runs!

Now I wanted to recreate and sync my dimap cache. I right-clicked on Inbox and 
used the menu entry "Problembeseitigung im IMAP Zwischenspeicher" and there 
"Zwischenspeicher neu aufbauen".
It synced _this_ folder; means all messages in this folder are in sync, but 
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 and 
did a
/kolab/bin/cyrreconstruct -rf user/username at domain.com
one more time.
I repeated the sync procedure for the next subfolder within kontact. It synced 
this folder and again: It deleted the messages in all other subfolders. The 
messages synced in the toplevel folder stayed, too.

From this time on, I've copied the subfolders one by one from the backup into 
my mailbox directory and reconstructed them with cyrreconstruct and synced 
them within kontact! At least it worked, but.........is this the normal 
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




More information about the users mailing list