New application in kdepim 4.9 (1/3): ImportWizard

A new great application is ImportWizard.
I developped it during 4.9 cycle after seeing that a lot of people used Thunderbird Evolution Sylpheed etc.
But they might want to test KMail2.
And until now it was not very easy to migrate to KMail2.
There was KMailCVT which allowed to migrate emails, but only emails.
With ImportWizard, I expanded that to import more than just emails, see below
for details.

State of 4.9:
In my opinion, a PIM application needs to import several types of data:

  • Mails
  • Filters (it’s very important to migrate them)
  • Addressbook
  • Calendar
  • Settings

For filters I re-used code from kmail filter import. (During 4.9 I improved it too.)
Now we can import:

  • Thunderbird filters
  • Evolution filters
  • Sylpheed filters
  • Procmail filters.

It’s very easy: go to kmail filter config and click on “import filters”.

For mails, I created a lib from kmailcvt.
So there is support for:

  • Evolution (V1, V2, V3) Yes there are 3 versions 🙂 (I added V3 in 4.9)
  • Thunderbird
  • Sylpheed
  • Opera
  • Outlook
  • Pegasus Mail

For Addressbook it was more difficult so only Thunderbird, Evolution and Sylpheed are supported.
– Thunderbird uses a specific database file, so it was necessary to read it. Not very easy. Import is not perfect yet but we can get it.
– Evolution, we can just export as vcard and reimport after. I will look at whether it’s possible to improve it in 4.10.
– Sylpheed, all is imported correctly.

For Calendar, just Evolution is supported. I import .ics directly as resources.

For Settings, I tried to support as many settings as possible. So, not everything is perfect because each application uses its own logic. But I think it’s correct now.
I import:

  • composer settings
  • account settings
  • identity settings
  • signatures settings

Last changes in 4.9 is to import ldap server settings.

Future:
I will continue to improve import settings. There is a lot of “TODO” in the code and I will try to implement them 🙂
But I know that I don’t support Outlook, Opera, Apple Mail, Pegasus Mail etc.
For that I need infos about how they store settings.
Apple Mail I don’t have a Mac so I can’t do it. But perhaps you have some infos.
Outlook I don’t know where they store data.
Opera no idea.
Pegasus Mail I never used.

But if somebody has some infos…

I will try to backport each fix in 4.9.

Leave a comment ?

13 Comments.

  1. Nice. But we stil don’t have export/backup data function in whole KDE PIM.

  2. Great job ! Now that KMail2 is shiny as new it is a good moment for offering such tool.

  3. @rrh: It’s “New application in kdepim 4.9 (2/3) BackupMail” I didn’t write it but will blog soon 🙂

    @afiestas: thanks 🙂

  4. I’m still at KDE 4.6 on my main computer for work, just because of bad KMail2 experiences in the switch to KDE 4.7. As soon as KDE 4.9 is out, I’ll try again! Thanks for fixing many bugs and please keep on improving KMail2!

    The KMail2 (from the latest 4.8) I am trying out on another computer now seems to be much more stable. And good to hear that I can import my ancient mails still stored in a Pegasus Mail folder!

    On the other hand I hope that another switch like KMail -> KMail2 will either not be needed or work much better…

  5. “And good to hear that I can import my ancient mails still stored in a Pegasus Mail folder!” you have still pegasus mail ?
    Do you have still config ? settings file ?

    If yes and if it’s possible I like to see format to start to add support in importwizard.

  6. Do you think we could add “Import KMail1” to those options?
    IMHO importing is way more applicable here than migration because so much data is involved.

  7. It would be better if I’ll be able to backup my Kmail setup (accounts, profiles, folder settings on imap accounts) and restore them on fresh Kmail installation.

    People do more often ‘rm -rf ~/.kde4’ than moving from other apps to Kmail. To be honest, I’m thinking about migration FROM Kmail TO something else. Too much annoying bugs still exists in Kmail.

  8. @kevin: import kmail1 is already implemented 🙂 Restart with your data on a new user no ?:)

    @raku: yes backupmail (see my next blog) I created it.

  9. No, I’m not using Pegasus Mail any more. Dumped it when I moved from Windows to Linux about 4 years ago. But there’s still some old backup CD lying around somewhere (currently I dont even know where…) with all my old mails. I don’t really need them, don’t put too much effort in this import filter. What I liked about PMail was that it was very stable, lightweight and fast and it has good mail filters. Of course it also has some shortcomings…

    The

  10. Thank you! This is so very much needed and welcome! 🙂

    There are still people who use Outlook Express, which stores emails differently than Outlook. Any thoughts on that?

  11. @Laurent: ah, great. I didn’t see KMail 1 in the list so I had to ask 🙂

  12. @michael: don’t know if some people moves mails from outlook to kmail but when you move to linux it’s better to use kmail 🙂

    @Kevin: no for 4.9 we can’t import from KMail1 but perhaps for 4.10 for 4.9 we use kmail-migrator it’s better.

  13. KDE SC 4.9 packages for openSUSE « My KDE week - pingback on 3 August 2012 at 19 h 13 min

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Trackbacks and Pingbacks: