Kmail configuration from KDE 3.5 to KDE 4

At last, I am serious converting from openSUSE/KDE3.5 to openSUSE 11.2/KDE 4. Being a bit retarded in this, the following must have been solved by many.

After starting Kmail in KDE 4 I managed to see all my mails. I also managed to get my filters moved from old to new (had to go back to 3.5 to export them first).

But I still fail to see how to copy my accounts/identities, etc. It is not done automaticaly, there is no export function I could find. How to manage this?

EDIT: must be 3.5 in the title. Done by a nice mod.

I can’t say I have done this. But I always grab the folders from .kde/share/apps

and any configs from
.kde/share/config

copy them over to the matching locations in .kde4

Don’t have kMail either, but AFAIK this is the way.

I do have reservations on the success rate here, with the differences in kde4 and kde3

I am afraid this is a bit daring. When i started KDE 4 for the first time I found out that some configuration items were apparently copied from the KDE 3 files and some not. When a simple copy would be enough, then it seems to me that it is simple to program:

if <not exist kde4-applic-config-file>
then   if  <exist kde3-applic-config-file>
       then copy
       fi
fi

When this is not done, then I am afraid that it is not that simple.

In any case, this is one of the examples where the conversion is something that takes a lot of time. I have ‘only’ 4 users on three systems and I have to do this for them. Think of having a real bunch of users and having to upgrade them as system administrator. >:(

Choose the elaborate way. Wrote down the Idents and Accounts on the old, rebooted and entered them anew.

Main reasons:

  1. All the Filter rules were already imported in the kmailrc and I did not want to spoil them.
  2. Saw old Accounts still in kmailrc (not functional) and wanted to clean up after so many years.

I think I have it running, in any case, I am doing this from 11.2/4.3.5.

Thanks for the input.

Consider yourself converted;)
<:)

On Saturday 20 Feb 2010 13:56, hcvv scribbled:

>
> At last, I am serious converting from openSUSE/KDE3.5 to openSUSE
> 11.2/KDE 4. Being a bit retarded in this, the following must have been
> solved by many.
>
> After starting Kmail in KDE 4 I managed to see all my mails. I also
> managed to get my filters moved from old to new (had to go back to 3.5
> to export them first).
>
> But I still fail to see how to copy my accounts/identities, etc. It is
> not done automaticaly, there is no export function I could find. How to
> manage this?
>
>

On one of the many times I’ve had such problems with KDE updates, I asked on
a KDE forum why everything wasn’t copied across automatically so that the
update would be “transparent to the user”. I was told it was and that the
problem was with the SUSE file structure. That may have been a load of
baloney but I do get fed up with having to manually copy files when there’s
an upgrade.

Good luck with the copying but one problem I’ve found in the past is that
some files have changed format in an upgrade and are not compatible with the
new one. Can be a matter of trial and error.


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy
“I wear the cheese. It does not wear me.”

Because openSUSE decided to support both KDE3.5 and KDE4 across two distros (11.0 and 11.1), it had to find a way of allowing them to work side by side and that involved some non-standard features.

@Cloddy and @john_hudson, that explains a lot. A feature for somebody is a bug for the other lol!

@caf4926. Yes, almost. My Agenda is also moved, evrything starts to look a bit as it should. I promise to be a good convert, but there may still wait surprises for me.

In fact things were more promising from the point that I disabled desktop effects. I still fail to see what it should bring you.

On Saturday 20 Feb 2010 18:36, john hudson scribbled:

>
> Cloddy;2124278 Wrote:
>> I was told it was and that the problem was with the SUSE file
>> structure.
>
> Because openSUSE decided to support both KDE3.5 and KDE4 across two
> distros (11.0 and 11.1), it had to find a way of allowing them to work
> side by side and that involved some non-standard features.
>

I guessed that was the problem. I’m now seeing trouble with 4.4 so perhaps
there’s yet another configuration discrepancy between 4.3 and 4.4. Anyway,
I’ll raise that in another thread but check the bugzillas first.

Much as I like Kontact, if these hiccups continue and as support for Knode
seems non-existent, I may have to look elsewhere. Back to Thunderbird?


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy
“I wear the cheese. It does not wear me.”

Get the feel of KDE4 first, then, on a lazy sunday afternoon, start playing around with them, and use what feels OK. There’s more to it than just eyecandy.

That seems to be the right approach. :slight_smile:

Well, my new Kmail does not like me, it hangs, mostly within 10 mins after start. When integrated into Kontact it hangs Kontact. :frowning: :frowning: :frowning:

The only way to trouble-shoot this would IMO be to create a new user account, because I’m assuming all your accounts are old and have kde3 crud in there.
The new user will eliminate all that and enable you to test it.

If it were me. I would without doubt have formatted /home having already backed up all I need. Because as I understand things, you are using /home from way back?
I know it shouldn’t be necessary, but there you go.:slight_smile:

I understand what you mean. This is one of the reasons why I did not copy the config files of Kmail from KDE3 to KDE4, but configured Idents and Accounts anew. I moved the Filters via export/import.

As an intermediate step, I will rename (mv) .kde, this preventing Kmail from using anything there.

To put it short: I am back on 10.3/KDE3.

Moving ~/.kde away did not stop Kmail from hanging very frequently.
And using Konqueror on my Banking site let it reload the starting (login) page of the bank for at least 10 times. I already wanted to kill it when it became stable, I loged in, clicked to a page, resized the window and it started doing reloading again. Then I killed it and booted into 10.3.

Sometimes work must be done.

@Carl. I did, before installing 11.2 on a seperate / partition, unload /home, split the partition in two (new home and new / for 11.2) and reloaded /home. But that does not delete any crud you mention.

I also hesitate to use Kmail in a new user. It will without doubt get mails from my ISP and then these mails are not in my own ~/Mail thus making a mess of my correspondence.
Also the only thing that is a leftover from KDE3 times is the mail directory ~/Mail itself. I did not copy anything from ~/.kde to ~/.kde4 related to Kmail (Idents and Accounts are configured fresh and Filters are imported). And emptying ~/Mail leads to the same sort of problems. How to put it back when during testing new mail arives and thus ~/Mail is not empty anymore.

Need to get some courage to get at it anew :frowning:

> Well, my new Kmail does not like me, it hangs, mostly within 10 mins
> after start. When integrated into Kontact it hangs Kontact. :frowning: :frowning: :frowning:

Next time it ‘hangs’ see if there is a dialog window behind the mail
program.

Sorry I left you waiting, but I realy had to gather some courage going to 11.2 again.

I rebooted 11.2/KDE 4 and started Kontakt. After a few minutes Kmail hanged. I can minimize the window, nothing behind it. I can kill by using the X button of the window. After some seconds a window manager popup tells me that the applic does not respond and lets me kill it.

> Sorry I left you waiting, but I realy had to gather some courage going
> to 11.2 again.
>
> I rebooted 11.2/KDE 4 and started Kontakt. After a few minutes Kmail
> hanged. I can minimize the window, nothing behind it. I can kill by
> using the X button of the window. After some seconds a window manager
> popup tells me that the applic does not respond and lets me kill it.

What does your server configuration look like?