This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kmail transfer without export

Tags: None
(comma "," separated)
zebulon
Registered Member
Posts
417
Karma
2
OS

Kmail transfer without export

Sat Nov 20, 2021 2:51 pm
I have just installed kMail under Kubuntu 20.04 LTS and would like to move over all my mail from an old machine, which runs 16.04 LTS. The problem is that I never succeeded in installing kMail on the old machine. My mail folders there are probably a mix of very old and more recent protocols. Basically, all I have is the file folders. What is the cleanest way to import everything? All my files are shared by nfs, in case there is a way to access the folders through the network in kMail on the new machine. Otherwise, I can copy files manually too. Here is what I have:
Code: Select all
ll -a /OLD_PC/.kde/share/apps/kmail/
total 60
drwx------ 10 jan jan 4096 Dec 21  2015  ./
drwx------ 59 jan jan 4096 Sep 24  2019  ../
drwx------  5 jan jan 4096 Feb 28  2010  autosave/
-rw-r--r--  1 jan jan   33 Feb 28  2010  autosave.index.ids
drwxrwxr-x  2 jan jan 4096 Dec 21  2015  cur/
drwx------  2 jan jan 4096 Jan 31  2010  dimap/
drwx------  2 jan jan 4096 Jan 31  2010  imap/
-rw-------  1 jan jan   45 Feb 17  2013 'jan:@pop.verizon.net:995'
-rw-r--r--  1 jan jan 6892 Feb  5  2011  kmmainwin.rc
-rw-------  1 jan jan   56 Dec 14  2015  lock
drwx------ 25 jan jan 4096 Dec 19  2016  mail/
drwxrwxr-x  2 jan jan 4096 Dec 21  2015  new/
drwx------  2 jan jan 4096 Nov 13  2015  search/
drwxrwxr-x  2 jan jan 4096 Dec 21  2015  tmp/
My folders are all in the mail subdirectory, in the following format, e.g. for the folder called "Forums":
Code: Select all
drwx------  5 jan jan   4096 Nov  7  2015 Forums/
drwx------  8 jan jan   4096 Mar  7  2019 .Forums.directory/
-rw-------  1 jan jan     33 Nov  7  2015 .Forums.index
-rw-------  1 jan jan     33 Dec 14  2015 .Forums.index.ids
Code: Select all
/OLD_PC/.kde/share/apps/kmail/mail/Forums/new:
total 20
drwx------ 2 jan jan 4096 Oct 29  2016 ./
drwx------ 5 jan jan 4096 Nov  7  2015 ../
-rw-rw-r-- 1 jan jan  942 Jun 12  2016 1465748572.R651.old_pc:2,S
-rw-rw-r-- 1 jan jan 1168 Jun 13  2016 1465832417.R482.old_pc:2,S
-rw-rw-r-- 1 jan jan  416 Jun 13  2016 1465832465.R609.old_pc:2,S
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: Kmail transfer without export

Sat Nov 20, 2021 3:04 pm
BTW I see a lot of complaints about akonadi, which, incidentally, is the reason I never managed to get kMail running on the old machine. If it would be better to switch to thunderbird, I will do so, but my question remains.
zebulon
Registered Member
Posts
417
Karma
2
OS
I found it. All folders in
Code: Select all
.kde/share/apps/kmail/mail
need to be moved to or merged with
Code: Select all
.local/share/akonadi_maildir_resource_0/


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]