public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Francesco Talamona <francesco.talamona@know.eu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Anyone succeeded with kmail2?
Date: Sun, 06 Jan 2013 16:11:35 +0100	[thread overview]
Message-ID: <1361621.h2ecVs2bW1@aemaeth> (raw)
In-Reply-To: <20130103123352.096927f0@khamul.example.com>

> On 4.9.3 you are still experiencing something similar. Hmmm. Indicates
> to me a high probability of a systemic problem with the projects
> approach, something that is unlikely to ever get really fixed. In my
> opinion kdepim2 is vastly over-engineered and an attempt to solve a
> problem that does not actually exist. I recommend you use a different
> mail app.

After an indescribable amount of pain and time wasted I was able to regain 
control over my mail.

I recently migrated a kmail used nearly for ten years to the latest kmail2. 
Migration took around a month of struggle.

It's mandatory to have nepomuk+akonadi running (I configured file indexing to 
run only on a folder containing a few files), it has to be checked for mail 
too.

In the migration you'll lose your filters, your profiles, and the flag of the 
mail will be randomly changed (thousands of read mail will come up unread, 
"important" flag will be lost... And so on).

If you try to reimport (after deleting the akonadi database as somewhere 
advised) the mail from ~/Mail you'll discover the the import tool is unable to 
handle maildir (or mailbox, I don't remember) format. If, like me, you used 
kmail for several years, then not all mail folders have the same format, given 
the fact that the default was changed during time.

Beware also that full text indexing is on per default for every mail folder 
created. So, as soon as I imported a mail folder, I deselected this option by 
hand (under folder properties -> maintenance).

So, this is the step-by-step guide to migrate to kmail2:

* backup your ~ folder, especially ~/Mail, ~/.config and ~/.kde4

* make sure akonadi, nepomuk & co are running (with the command "akonadictl 
status" for example).

* look carefully in ~/.xsession-errors if some errors appear related to 
akonadi, nepomuk, mysql, soprano, virtuoso... Do not migrate if you see any 
errors, fix them first. 

for example the following error is guaranteed to slowly and painfully drain 
all of your setup and mail to a black hole:

Soprano: "Could not connect to server at /tmp/ksocket-sko/nepomuk-socket (No 
such file or directory)"

* Delete everything no more necessary (mail messages, old accounts...).

* Archive every folder you want to migrate and delete them from the old client

* Take note of your filters, especially if some of them makes elaborate 
operations, mail account settings, profile preferences...

* backup again, just to be sure

* upgrade kmail, and start kmail2, let it run for the time needed (one night 
or more is normal) until the I/O and CPU load are back to a reasonable level

* reimport archived folder (and disable for each one full text indexing before 
is started)

* reconfigure filters, accounts, profiles...

* backup for the last time

Hoping to save someone else the waste of time I went through.

F. Talamona





  parent reply	other threads:[~2013-01-06 15:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-03  9:43 [gentoo-user] Anyone succeeded with kmail2? Peter Humphrey
2013-01-03 10:33 ` Alan McKinnon
2013-01-03 16:14   ` Mick
2013-01-03 17:09   ` [gentoo-user] Anyone succeeded with kmail2?, " Peter Humphrey
2013-01-03 17:22     ` Volker Armin Hemmann
2013-01-03 18:24     ` Kevin Chadwick
2013-01-03 18:34       ` Kevin Chadwick
2013-01-07  9:29       ` Neil Bothwick
2013-01-07 11:33         ` Jorge Almeida
2013-01-07 22:23           ` Neil Bothwick
2013-01-07 23:32             ` Alan McKinnon
2013-01-08  0:28               ` Neil Bothwick
2013-01-04  4:13     ` Randy Barlow
2013-01-04 17:09       ` Mick
2013-01-07  2:10         ` Peter Humphrey
2013-01-07  2:43           ` Randy Barlow
2013-01-07  7:54             ` Alan McKinnon
2013-01-04 21:37       ` [gentoo-user] Anyone succeeded with kmail2?, " Peter Humphrey
2013-01-04  6:01     ` Alan McKinnon
2013-01-04  6:09     ` William Kenworthy
2013-01-03 17:09   ` [gentoo-user] Anyone succeeded with kmail2?, " Peter Humphrey
2013-01-06 15:11   ` Francesco Talamona [this message]
2013-01-06 19:22     ` Mick
2013-01-07  5:23       ` Francesco Talamona
2013-01-03 17:22 ` Volker Armin Hemmann
2013-01-06 14:30   ` Francesco Talamona

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1361621.h2ecVs2bW1@aemaeth \
    --to=francesco.talamona@know.eu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox