[SLL] Importing from Kmail to Kmail?
Ben Johnson
ben at blarg.net
Fri May 6 11:11:18 PDT 2005
On Fri, May 06, 2005 at 11:51:43AM -0500, Tony Schlemmer wrote:
> I'm trying to transition over to a new laptop and so my last migration act is
> try to import my email from Kmail on my old laptop into Kmail on my new one.
> I know I could probably just take my ~/Mail directory and copy it over to my
> new laptop but I have some emails in Kmail already on my new system that I
> don't want to lose. I don't see any sort of Export feature for Kmail in
> looking at all of the menu options.
>
> There's an import feature in Kmail and my target system is setup to store my
> email in "maildir" format. In looking at my ~/Mail directory every folder is
> a subdirectory and every email is in it's own file. Assuming no filename
> collisions it looks like I might be able to just copy all of the files into
> folders with the same name on my new laptop.
If I remember/understand right, one feature of the Maildir format is the
filenames created for each piece of email should be close to univerally
unique. This is handy because it means you can simply convert your mbox
folders to Maildir format, then copy the emails into place on your new
system with having to worry about destroying email you already have
stored there. you can double check that nothing will be destroyed with
a bit of scripting if you're paranoid.
You can get a script to do the conversion here:
http://perfectmaildir.home-dn.net/
- Ben
More information about the linux-list
mailing list