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

Config files for kmail 14.10

Tags: None
(comma "," separated)
rgaelzer
Registered Member
Posts
39
Karma
0
OS

Config files for kmail 14.10

Mon Dec 14, 2015 12:06 pm
This is a recurrent problem for me.
Every time I set up a new box I have to struggle and waste a lot of time, simply because I don't really understand the structure of Kontact/PIM/kmail.
I like to keep all my e-mails locally in maildirs in the ~/Mail directory (yeah, quite old-fashioned...).
Now, I'm preparing to do it again, but this time I don't want to lose a lot of time.
So, if I want to replicate my kmail structure (configuration, maildir structure, etc) in another installation, where and what are the config files I have to copy to the new install?
I detected the following dirs that seem to be relevant:
~/.kde/share/apps/kmail2
~/.kde/share/apps/kmail-migrator
~/.kde/share/apps/kontact
~/.kde/share/apps/akonadi_migration_agent
~/.kde/share/apps/akonadi_nepomuk_feeder
~/.kde/share/apps/emailidentities
~/.kde/share/apps/kaddressbook

Anything else?
Or is there now a standardized procedure on how to do this?
In the past I've tried to use the automatic migration tool
(see post viewtopic.php?f=215&t=98929)
but still had problems. Is it working better now?

Any tip appreciated.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Config files for kmail 14.10

Wed Dec 16, 2015 6:59 am
There are configuration files also in ~/.config (named *akonadi*), which are related to lower-level settings like mail accounts etc. but I'm not sure how much machine-specific they are.

There's some export configuration tool in recent KMail versions, but not sure about the one you're using.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
rgaelzer
Registered Member
Posts
39
Karma
0
OS

Re: Config files for kmail 14.10

Wed Dec 16, 2015 4:03 pm
einar wrote:There are configuration files also in ~/.config (named *akonadi*), which are related to lower-level settings like mail accounts etc. but I'm not sure how much machine-specific they are.

There's some export configuration tool in recent KMail versions, but not sure about the one you're using.


Indeed, in Tools -> Export Kmail data...
it is promised a full backup of my settings and local mail to a compressed file.
Do you know if the maildir structure is also preserved?
Looking at the pimsettingexporter handbook, I should simply select File -> Restore Data... to restore my backup in the new installation.
I guess that I should then run pimsettingexporter in new installation instead of the Account or Import wizards, right?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Config files for kmail 14.10

Thu Dec 17, 2015 6:49 am
That is correct. Older versions had some bugs, though (fixed in more recent ones), so you may want to do a test drive first.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
rgaelzer
Registered Member
Posts
39
Karma
0
OS

Re: Config files for kmail 14.10

Thu Dec 17, 2015 11:37 am
Ok, as a trial, I did a backup of my kmail data using PIM Settings Exporter.
Then I created a fake user, logged into it, ran PIM Setting Exporter, selected File -> Restore Data...,
and it created the maildir in the new user's area.
Apparently, everything worked, but at the end some dialog windows popped up, such as:
Select folder for ""

What are those?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Config files for kmail 14.10

Thu Dec 17, 2015 12:43 pm
Can you make a screenshot and post it on any image-sharing website and post the link here?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
rgaelzer
Registered Member
Posts
39
Karma
0
OS

Re: Config files for kmail 14.10

Thu Dec 17, 2015 11:02 pm
einar wrote:Can you make a screenshot and post it on any image-sharing website and post the link here?


Ok. I included some printscreens in Google drive. I hope you can access them via the urls:
https://drive.google.com/file/d/0B6mdjD ... sp=sharing
https://drive.google.com/file/d/0B6mdjD ... sp=sharing
https://drive.google.com/file/d/0B6mdjD ... sp=sharing

The first one is the one I was referring to.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Config files for kmail 14.10

Fri Dec 18, 2015 6:46 am
Meanwhile, I chatted with the developer of this feature on IRC, and he told me it's likely a bug, which was fixed in newer versions.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
rgaelzer
Registered Member
Posts
39
Karma
0
OS

Re: Config files for kmail 14.10

Fri Dec 18, 2015 2:30 pm
einar wrote:Meanwhile, I chatted with the developer of this feature on IRC, and he told me it's likely a bug, which was fixed in newer versions.


Ok. In this case, I guess I should first upgrade to Fedora 23 in order to get a newer version of KDE...


Bookmarks



Who is online

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