I have had the following several times in recent days:
- I open a composer window for a new message in KMail.
- I find the address I want in not in the address-book or recent addresses, so
I go back to the main KMail window, hunt down a mail with the address I want,
right-click, and choose "Add to Address Book."
Whereupon KMail freezes completely; so I have to close it, wait for "The
window is not responding...", and restart KMAil.
An aside, when I restart Kmail, sometimes the new addresshas been added to the
address book, sometimes it has not.
Mageia 1, KDE 4.6.5, KMail 1.13.7
Cheers,
Ron.
Comments
Re: KMail freezes after adding address to addressbook
By John Woodhouse at 06/28/2012 - 08:00Depending on your needs you might do better to switch to another distro that offers a long term stable release and has one of the larger user bases. For instance I run opensuse 11.4 which has kde 4.6.0 release 6 and kmail 1.13.6. This is likely to be around and maintained past the release of 12.3 late this year. Providing you only use distro updates problems should be minimal. As far as I know only 3 distro's offer this facility, opensuse, ubuntu and debian. Debian stable may well be the most conservative. Pass. I've not looked lately.
As far as my kmail goes I have only one problem. From time to time it doesn't tie up with kwallet when it starts. Cured by logging out and back in to kde. Maybe once a month or longer. Duncan mentions akonodi :-) from time to time. The jury is out on that as far as my kmail is concerned. Anne took me through the checks some time ago. It may make some use of it. The only really bad point is that filters are a little silly as far as the address book is concerned as it was with kde 3 even on the last release. Part of the software just checks the actual email address but the filters also check the name tag. It finishes up in a situation where some one who has changed their name tag can't be added to the address book as it seems to look at the actual email address. Both should only check the actual email address and allow name changes to be added to the address book as duplicates etc. You might say that intellectual users use name changes to help sort their
mail and also often to chuck out spam that fakes email addresses.
On the other hand you can choose to use cutting edge distro's but expect problems that may take a while to sort out - might never happen actually as people tend to just move on to the next release.
When I have problems I ask on here, on the kde forum or on the opensuse forum as each can gives a different flavor of solution if one is available. KDE varies from one distro to another so sometimes it's best to ask there as more people may have had the same problem.
John
Re: KMail freezes after adding address to addressbook
By Renaud (Ron) OLGIATI at 07/01/2012 - 08:22On Thursday 28 Jun 2012 08:00 my mailbox was graced by a message from John
Woodhouse who wrote:
I plan to go another route, which is remain with the distro I am comfortable
with (Mageia), but to migrate from KMail to Claws-Mail, after which I'll drop
KDE and go to LXDE as KMail is the last thing that keeps me running KDE, with
mails dating back to the last century in my mailfiles .
I have used KDE since the days of Mandake 6.1, and sad to say it feels to me
to have become worse and worse in usability, and bloat more and more, over the
years to the point I cannot wait to be rid of it all.
Cheers,
Ron.
Re: KMail freezes after adding address to addressbook
By Duncan at 06/28/2012 - 02:14Renaud (Ron) Olgiati posted on Wed, 27 Jun 2012 16:30:14 -0400 as
excerpted:
OK, there's quite some history to explain here, with a not entirely
positive result at the end, so...
The kdepim folks, who develop kde's mail, news, feeds, address-book,
organizer, and notes applications, plus the big all-in-one kontact suite
that contains all these roles in one, all being part of the kdepim (pim
being short for personal information manager, think the contact suite) kde
module...
These kdepim devs have decided to unify the information management
backends for all these components into a single database-based backend
application called akonadi (which itself has several database plugins,
for sqlite, mysql, etc). But, this is a huge project that's taking
several years, during which they're migrating one kdepim component at a
time.
One of the first components to be migrated was the kaddressbook. That
was done for kde 4.4. kmail wasn't yet migrated, however, so they
created what was intended as a six-month "hack" to let kmail 1.x (as
shipped in kdepim 4.x to that point) talk to the newly akonadified
kaddressbook, with the intent of migrating kmail next and having it ready
six months later, for kde and kdepim 4.5.
Except that kmail akonadification, the so-called kmail2, took way longer
than they had hoped, and wasn't ready for 4.5 at all. So for kde 4.5,
the kdepim guys didn't ship a corresponding kdepim 4.5 at all, but
instead, added a few more minor patches to the existing kdepim 4.4 series
so it could continue to work with the rest of kde 4.5. Thus, while most
of kde was 4.5, kdepim (including kmail 1.x and kaddressbook) was still
updating the 4.4.x series, which ended up at kdepim 4.4.11 IIRC.
With kde 4.6.0, kmail2 itself was mostly ready but they were still
working on the mail migration side, for people who had lots of mail in
kmail1 who presumably wanted to keep it into kmail2. Later on in the six-
month kde 4.6 cycle, about 4.6.3 or so, there was finally a kdepim 4.6.0
release with the newly akonadified kmail2 and shortly thereafter, a kdepim
4.6.1 update, but these weren't considered fully stable yet, and in any
case, the kdepim 4.6 series wasn't in sync with kde 4.6.
With kde 4.7, kdepim re-synced its releases with the rest of kde, so
kdepim 4.7.0 shipped with the rest of kde 4.7.0, etc. By this point,
kmail2 (as part of by now kdepim 4.7) was beginning to stabilize, but
most distros continued to ship the older kdepim 4.4.x modules still
including kmail1.
By kde and kdepim 4.8, kmail2 had stabilized enough that upstream
considered it fully stable and was no longer developing the minor hacks
necessary to keep the now two years old kdepim 4.4 series synced with the
newer kde. Some distros shipping 4.8, meanwhile, chose to ship with the
newer kdepim 4.8 module while others continued to ship the older kdepim
4.4 series, now applying their own patches to keep it synced.
Current upstream-stable kde is now 4.8.4, IIRC, I believe the last
scheduled release in the 4.8 series, and they've released a couple 4.9
betas, with 4.9-beta2 also known as 4.8.90, which I happen to be
running. 4.9-rc1 should be out shortly (later this week?).
That brings that side of the story upto date, but there's more to it.
As the now akonadified kmail2 was shipped and people began to upgrade,
they weren't always happy with the results. Initial functionality was
deliberately very very similar, almost identical, so that wasn't the
problem. Stability was. Unfortunately, the akonadi database-bridging
backends weren't entirely stable and there were various glitches between
akonadi and its backends, and between kmail and akonadi. People were
losing mail and weren't too happy about it! Additionally, there were
still problems with migration and people continued to lose access to some
of their old mail in new kmail2, even to having entire mail-folders
disappearing and having to reimport them.
I happened to be one of those people. I had been skeptical of the whole
akonadification thing all along, but had resolved to at least TRY the
newly akonadified kmail before rejecting it out of hand. So I upgraded
to kdepim 4.6.0 and 4.6.1 when they came out during the un-synced 4.6
series. But after having problems with the migration and having to redo
it, I continued to have problems with new mail. Sometimes it would
disappear, sometimes it would come in fine but I'd get warning dialogs
about two copies of the same mail that didn't match. Sometimes akonadi
would die and I'd have to restart it to get a working kmail again.
Sometimes it would be kmail that would die...
Somewhere about that time, after fighting with it one day, I asked myself
why? Why did the kdepim folks have to break a perfectly functional pre-
akonadi kaddressbook and kmail1 that already did what I want, reliably
and well, just to try to have a unified akonadi server middleware that
was WAY broken, and was likely to remain less reliable than the pre-
akonadi version that "just worked", for some time to come? Well, I knew
why THEY were doing it as it was in the blogs, etc. What I could NOT
properly answer is why I, as a user, had to put up with that breakage,
and why I *WAS* putting up with it.
So I began looking for a replacement. I prefer plain text mail to HTML
and wasn't interested in a database-backed system as that's what I was
getting AWAY from, so the popular Thunderbird and Evolution clients
weren't viable options, here.
Cutting the story of picking a client short, I ended up on the gtk-based
claws-mail. The conversion wasn't easy altho there's several ways to
convert the messages to claws' mh-dir format, similar in concept but not
in detail to maildir, so a conversion was necessary. kaddressbook and/or
akonadi can export VCFs, which claws can use directly, but not as
flexibily as its native addressbook format, so I found a script to import
them as well. I had to rewrite my 50-ish kmail mail filters to claws
mail filters manually as I couldn't find an automated way to do that, but
I did it.
Being gtk-based, claws doesn't fit in perfectly with a kde desktop, but
with kde's color-scheme export to non-kde-apps option, it's close
enough. Claws has even more configurability in hotkeys than kmail does,
which was a big plus, here. And tho it wasn't on my requirements list,
claws and the mh mail directory format is extremely easy to write scripts
for, if you want to expand and customize functionality, which has turned
out to be quite useful here. And even if you /don't/ do any scripting of
your own, the fact that the claws-mail community considers claws-mail's
scriptability a huge feature means that CLAWS-MAIL WON'T BE DOING THE
SAME DATABASE BREAK-THE-WORKING-MAIL-CLIENT THING ANY TIME SOON!!
All in all, I started out happy with claws-mail, but the more I use it,
the happier I am with it and the gladder I am that I made the switch.
Now I'm just regretting not making it sooner! =:^)
Now to be fair, since I switched to claws-mail right about the beginning
of kde 4.7, I really can't say personally how the akonadified kmail2 has
improved since then. However, based on posts to the lists, a lot of
people are still unhappy with it, and many are switching to other
clients. Some switch to evolution or thunderbird and find their more
mature database solutions work for them. Others end up on claws-mail
like me. Some end up on a different client or (horror of horrors to me,
but if it works for them...) simply doing webmail. And of course there's
some that find at least 4.8+ kdepim's kmail2, or the kontact suite that
includes it, stable and useful as it is.
Now back to you. The distro and version you're on is still running a
year-old kde 4.6, with the old kmail1 which means they year older than
that kdepim 4.4, so you're running a two-years-outdated mail solution
that in that form is a dead-end, since kmail1 is no longer being
developed. You're also dealing with the intended-to-be-6-month hack
bridging the already akonadified kaddressbook of kdepim 4.4 with the not-
yet-akonadified kmail1... now two years later. So much for a six-month
hack!
But that hack does partially explain the problem you're having. It
wasn't meant to be perfect, just a hack to last what they /thought/ was
going to be six months until they got their preferred solution, the
akonadified kmail2, up and running.
So here's the deal. Short term, you basically deal with the hack. If
that means closing kmail and restarting it once in awhile... I guess you
live with it.
Longer term... probably by the time you upgrade kde, which probably means
when you upgrade from Mageia 1, you have a decision to make. You have to
decide whether you want to try the new akonadified kmail2, and hope it
doesn't eat mail, etc, or whether instead you want to switch to something
else. Obviously you know the choice I took from the above, but that
doesn't mean it's the choice that's best for you. Your decision, but now
that I've laid it out, you do have some time to think about it before you
have to act.
If you DO decide to switch to something else, you might want to actually
do it before your big upgrade to a newer Mageia and kde. That way, you
won't have to worry about both upgrades at the same time, and you can
already be up, running, and comfortable on your new mail client, when you
do your kde and presumably mageia upgrade. As with the decision to
change at all, my choice, claws-mail, isn't necessarily the right one for
you. Particularly if you like webmail, thunderbird may fit your needs
very well. And if you want to try a suite and don't mind having gnome
installed too, evolution may be a good choice. They both do use
databases, but they've been using them for years now and as such their
database backend solutions are much more stable than akonadi is at this
point.
Which of course demonstrates that akonadi COULD be a very reasonable and
stable solution for kmail... 3-5 years from now! If you're willing to
live with the bugs, etc, as it matures, sticking with it may be a good
choice, and it's certainly the easier choice as the upgrade route is more
direct. But it will mean a certain bit of unstableness and bugs in the
mean time.
Re: KMail freezes after adding address to addressbook
By Renaud (Ron) OLGIATI at 06/28/2012 - 07:04On Thursday 28 Jun 2012 02:14 my mailbox was graced by a message from Duncan
who wrote:
My thanks for the clear and complete explanation, which conforts me in my plan
to migrate to Claws-Mail and get rid of KMail.
Cheers,
Ron.
Re: KMail freezes after adding address to addressbook
By Scott at 06/28/2012 - 17:26These problems are why I subscribed to this list. I thought that I was either
missing something in plain sight that was causing me to misuse Kmail or that
there was some workaround available to make these issues less problematic. I
dumped KDE when 4.0 was shoved in my face by Kubuntu, and I had used Kmail for
years before that. I only recently returned to KDE in Fedora and found that
Kmail was no longer the stable and reliable mail client that I remembered.
For some time I used Mutt, but I often get mail with attachments in MS Office
formats, and Mutt makes handling those a PITA. I like to compose mail in Vim,
and that, at least, still works in Kmail. Maybe I should look into Claws Mail.
That would have been a more seamless transition from Mutt than Kmail was.
Re: KMail freezes after adding address to addressbook
By John Woodhouse at 06/29/2012 - 05:30On my comments about sources of solutions I was just pointing out that there are several sources. I keep track of the 3 I mentioned and have also found what is going on in Arch of interest at times. I think I have been on this list for about 15 years at least, a distro forum for a similar amount of time and the kde forum more recently.
As to the comments about distro's when I started things were very clear. Not so these days all seem to be more aggressive with updates and problems some more so than others but I suspect that's largely down to KDE4 being so new. The fact that it's user base is growing again should help with that aspect. Personally I hope once again at some point this lists reaches anything up to 50 emails a day. :-) I really don't like gnome or the other desktops.
John
Re: KMail freezes after adding address to addressbook
By Duncan at 06/29/2012 - 01:17Scott posted on Thu, 28 Jun 2012 14:26:46 -0700 as excerpted:
If you're already familiar with mutt, that will make at least one bit of
the conversion (to claws-mail) easier. I explained that claws-mail uses
a different mail directory format, mh, but kind of glossed over the
conversion process, only saying that there's a number of ways to do it.
There's a script available that can import from kmail's maildir to mh,
but it's not really current and at least here, required a little bit of
hacking to get it to work. I forgot whether it was python or perl it was
written in and I don't claim to know either, but between bash scripting,
and working with basic, pascal, and visual basic back in the day, the
hack was "interesting" but not terribly difficult for me. IIRC part of
it was simply changing the shebang from an old version to the newer one I
had installed, for one script.
But while that's not an insurmountable challenge for someone who knows a
bit about scripting (even if they don't know that specific langugage), it
COULD be so for people who don't do scripting at all, and who stay as far
away from the command line as they can.
Fortunately, there's at least two other methods available, that people
have reported worked for them. =:^)
One of them, for people that have an IMAP server available (and at least
one person reported installing dovecot specifically for this task, then
uninstalling it, so that's an option too), is to upload mail to it, then
download it to whatever, including claws if that's what they decide to
run. I thought about doing this and would have if necessary (doing the
dovecot thing), but as I've never worked with IMAP and the script was
available, it was easier for me to hack that into working again, and use
it.
The other one that at least one person reported using successfully, is
using mutt to do the conversion, since it understands both maildir (for
kmail) and mh (for claws-mail) and can convert between them.
So if you've already worked with mutt and are somewhat familiar with it,
that's probably the best conversion method for you. Simply install it
again and convert all of kmail's maildirs to mh, then you can point claws-
mail at the converted directories, or copy/move them over to claws-mail's
default location.
(It's worth noting that pre-akonadi kmail installs may have some mbox
mail folders as well. Claws-mail can work with these directly using a
plugin, but it's much better to convert them to mh as well. Converting
mbox is rather easier, however, than converting maildir. But kmail's
akonadification conversion switches everything to maildir, so for those
running kmail2, aka the akonadified kmail, it's all maildir, no mbox to
convert.)
Re: KMail freezes after adding address to addressbook
By J at 06/29/2012 - 08:19I was the one who did that. It worked well. I moved my Maildir to Maildir2
(and a copy in Maildir3 in case something went wrong) then pointed the dovecot
"maildir" to ~/MailDir2 and went from there. Once it was running, it took all
of about 10 minutes to convert over 10 years of email into claws-mail. I then
just uninstalled dovecot. The entire procedure took about 30 minutes, mostly
from my lack of dovecot's configuration. So I ended up with 2 new items...
knowledge of how to install and configure dovecot, and claw-mail with my 10+
year history of email.
J
Re: KMail freezes after adding address to addressbook
By Renaud (Ron) OLGIATI at 06/29/2012 - 07:21On Friday 29 Jun 2012 01:17 my mailbox was graced by a message from Duncan who
wrote:
In fact, the File menu of Claws-Mail has an "Import Mailbox" item which seems
to work perfectly, but only takes one folder at a time.
Is there a utility to convert all folders at one go ?
Cheers,
Ron.
Re: KMail freezes after adding address to addressbook
By Duncan at 06/30/2012 - 00:46Renaud (Ron) Olgiati posted on Fri, 29 Jun 2012 07:21:27 -0400 as
excerpted:
I think I might have used the import mailbox function for a couple of
folders, where I had been using mbox previously (most of mine were
maildir, however, as I preferred that because it's a bit more robust),
and where I wasn't sure the akonadified maildir conversion had worked
correctly so I wanted to import the mboxes.
I'd recommend it if you have just a few.
There's a mailMBOX plugin available but I've never tried it and don't
have it installed, so can't say how well it works. I do believe it was
broken for a bit, however, and was temporarily removed from the site
pending an update to work with newer claws-mail, so clearly, you're
better off doing a conversion to mh if you can, and not worrying about
it. But I'm /guessing/ with the plugin, you could just load your mbox
folders normally, and then simply copy everything from there to new mh
folders, backing up the old mbox files just in case, and deleting them.
That way you never actually write to the mboxes, which being many
messages in a single file, do make me a bit nervous as if that file gets
corrupted, you lose WAY more than the single message you'd lose with a
file-per-message scheme such as maildir or mh.
In the scripts (tools) section on the site, there's also
"convert_mbox.pl", a perl script for doing the conversion from the
command line. That might be easier... or not. I've not used the mbox
conversion script but if it's at all like the "kmail-mailbox2claws-
mail.pl" script that I used for my maildir conversions (or the
vcard2xml.py python script I used to convert the address book from
akonadi/kmail-exported vcards), it's a bit dated and may need some
hacking to get it to work. In which case it'd likely be easier just to
use the menu entry and do it one at a time... unless you have a LOT of
mboxs, enough to justify the hacking time if it's needed.
"The site" is click-linked from the about-box, but in case that's not
convenient, here's a link:
<a href="http://www.claws-mail.org/" title="http://www.claws-mail.org/">http://www.claws-mail.org/</a>