Reply to topic

Import email database from KDE 4.6.5 to 4.10.2

Rondo
Registered Member
Posts
16
Karma
0
OS
Hi,

I had been with KDE 4.6.5 for a long time and recently made a fresh install of Mageia 3 with KDE 4.10.2.
I have a backup of all my personal data from KDE 4.6.5, including Kmail database. I'd like to import it to a new Kmail in KDE 4.10.2, but the Import Wizard doesn't seem to be functional as it shows me an empty "Detect program" window without any options. I have not found any references to import of external e-mail databases in Kmail menus (apart from Import Wizard of course). As I do not see any possibility to specify the path to the mail database, I am curious - have I done anything wrong or is it a Kmail fault?
How do I import email from the older Kmail database?

Thank you.

Mageia 3 64bit, KDE 4.10.2.
lueck
Mentor
Posts
120
Karma
2
Rondo wrote:Hi,

I had been with KDE 4.6.5 for a long time and recently made a fresh install of Mageia 3 with KDE 4.10.2.
I have a backup of all my personal data from KDE 4.6.5, including Kmail database. I'd like to import it to a new Kmail in KDE 4.10.2, but the Import Wizard doesn't seem to be functional as it shows me an empty "Detect program" window without any options. I have not found any references to import of external e-mail databases in Kmail menus (apart from Import Wizard of course). As I do not see any possibility to specify the path to the mail database, I am curious - have I done anything wrong or is it a Kmail fault?
How do I import email from the older Kmail database?

Please try KMailCVT, see http://docs.kde.org/development/en/kdep ... rting.html
wotan
Registered Member
Posts
130
Karma
-2
OS
In my experience launching KmailCVT from kmail does not work because kmail has to be closed while importing (I tried without closing and it failed massively)

I suggest
1) Close kmail
2) Copy your former ~/.local/share/.local-mail.directory in your new directory
3) Open Konsole type kmailcvt & in order to launch kmailcvt alone
4) Choose import from kmail folder (sorry i don't know the exact name of english but anyway, not the first option in the list)
5) They will ask you for a subfolder in the kmail tree where to import, select one or create one
6) They will ask you where your email are stored. select your ~/.local/share/.local-mail-directory (remember: ALT + . to see hidden directories whose names start with dots)
7) You should then be able to see your former emails in kmail

(for me at least it worked, but I don't know what is the official way of work..)

Cheers
wotan
Registered Member
Posts
130
Karma
-2
OS
Sorry mistake:
actually kmailcvt alone fails as well, it failed to retrieve my trashed emails

There is hence no way that you can back up your e mail with kde pim

Cheers
User avatar einar
Administrator
Posts
2272
Karma
5
OS
wotan wrote:There is hence no way that you can back up your e mail with kde pim


This statement is not correct, since there is another method that does not rely on kmailcvt. To back up you can use the PIM setting exporter in the "Tools" menu of KMail. You can use the same utility to reimport data.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
lueck
Mentor
Posts
120
Karma
2
wotan wrote:There is hence no way that you can back up your e mail with kde pim

http://lists.kde.org/?l=kde-pim&m=137632406223829&w=2
wotan
Registered Member
Posts
130
Karma
-2
OS
I know and agree about this option but in the following case:
1) You have crash of harddrive, or system unusable, you won't be able to export your email
2) Typicaly the only thing that is left are the data that you store regularly by copying your $HOME with rsync

Then in this case you can not backup *

So to be more exact the sentence should be "There is possibility to export/import but no possibility to backup emails"

(*) kmailcvt fails the first time it is launched and the second time it fails to import everything in $/.local/share/.local-mail.directory/*/new/
The workaround is to dispalced everything from $/.local/share/.local-mail.directory/*/new/ to $/.local/share/.local-mail.directory/*/cur/
Then launch one time, it will fail, launch a second time it will work ( at least it did for me)
But that is not a lambda user workaround hence, to me, the sentence stay valid.
User avatar einar
Administrator
Posts
2272
Karma
5
OS
But that is not a lambda user workaround hence, to me, the sentence stay valid.

Is a bugreport open for this? If not, please report issues with kmailcvt on bugs.kde.org.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
wotan
Registered Member
Posts
130
Karma
-2
OS
Yes there is already ;)
User avatar einar
Administrator
Posts
2272
Karma
5
OS
MInd posting the bug links? I can always try to see if developers have time to look at them.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
wotan
Registered Member
Posts
130
Karma
-2
OS
Rondo
Registered Member
Posts
16
Karma
0
OS
Hi,
I just want to confirm that I was able to import my old database via File -> Import messages without major problems. There was only one strange glitch when after import I tried to rename the target directory and after that all the mail disappeared from it. However, after I renamed it back to initial name, the both old and new directories appeared, with all mail present in a new one.
So it looks like this feature works. However, search option does not work at all, but I'll report it in a separate topic.
Thank you.

 
Reply to topic

Bookmarks



Who is online

Registered users: atrox, Baidu [Spider], bcooksley, Bing [Bot], bshah, Exabot [Bot], garthecho, Google [Bot], ingwa, ken300, koriun, Majestic-12 [Bot], normcross, ooker, pholmes, TheraHedwig, vascobasque, Yahoo [Bot]