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

Clean way to move KMail settings between accounts?

Tags: None
(comma "," separated)
dtonhofer
Registered Member
Posts
7
Karma
0
(Disclaimer: Reposting this from StackOverflow/SuperUser where it is being met with disinterest.)

I am running KMail 4.14.10-7 on Fedora 22.

"konsole --version" says this is "KDE Frameworks: 5.16.0". Okay.

I have set up KMail to query a largish set of IMAP accounts. There are no local accounts, no POP accounts, no mail cache on the local machine.

As I want to access the IMAP accounts from another machine B, I would like to copy the settings painstakingly entered into KMail to a user account on that machine B.

This seems difficult to do.

The FAQ indicates a lot of files (which are distribution-dependent) that are involved when transferring settings.

On Fedora 22, the files that seem relevant are

    $HOME/.kde/share/config/kmailrc: ASCII text
    $HOME/.kde/share/config/mailtransports: ASCII text
    $HOME/.kde/share/config/emaildefaults: ASCII text
    $HOME/.kde/share/config/emailidentities: ASCII text
    $HOME/.local/share/: directory
    $HOME/.config/akonadi/: directory

These are given in the FAQ but don't exist:

    $HOME/.kde/share/config/nepomukserverrc
    $HOME/.kde/share/apps/nepomuk/

Grabbing the above results in a compressed tarball of 3.3GiB because whatever is in $HOME/.local/share/ is grabbed and in there are local caches of independent applications like kdewallet, klipper, kwrite.

Plus the Trash.

As well as the MySQL database files of the Akonadi database provider in $HOME/.local/share/akonadi, which are even unlikely to be properly flushed&frozen for any copy operation.

On the other hand $HOME/.config/akonadi/ seems to contain only small files relevant to KMail.

I tried a copy & restore to an account on machine B anyway. It doesn't work so well. Nepomukserver crashes, Akonadi wants to report a bug...

So, this looks like a trial-and-error game.

Is there any way to do this the "nicely and easily"?


Bookmarks



Who is online

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