> I suspect you had file system problems and kmail configs got eaten in the > process ( ~/.kde/share/config/kmail* ). There might even be some leftovers > with odd names ~/.kde/share/config/kmailrc*.new etc. Try recovering from > them. > The mail should still be there in ~/Mail or somewhere in > ~/.kde/share/apps/kmail/
File system was clean both before and after. As to the configs getting eaten,
yes, they did vanish. Likewise, ~/.kde/share/apps/kmail/ was empty apart from
some directories after the upgrade. No files were present. Thus no mail.
> Unless you give more proof that it's really a problem with kmail, the next
Quite impossible since the upgrade is done.
> nothing to do with it. However, if you upgrade with kmail/KDE running,
> sometimes odd things happen.
What do you mean "KDE" running? I did not have kmail, but I did have kded and
several other KDE-related processes running, but I never run KDE because it
forces me to logout for upgrades; by running just openbox the only userspace
program upgrades I need to log off for are X and openbox.
If the deletion of data is due to "odd things" happening when upgrading while
kde-related processes are running, this is a bug: very many people use
graphical apt-front-ends to upgrade their machines and it simply must work. A
logoff or reboot may be required, yes, but under no circumstances must user
data be deleted without explicit permission. What was the upgrade doing inside
$HOME anyway? Packages should not touch anything in $HOME.
That said, there was that odd set of error messages at first start of kmail
after the upgrade, so perhaps the package did not touch $HOME, but kmail
itself, for some reason, deleted all its mail settings and data at first
restart. I suggest you go though the kmail code to see where it does unlink()
on its mail during startup and under what conditions that happens. Clearly,
the only condition when that should happen is when the user explicitly asks
kmail to delete messages.
-Juha
--
-----------------------------------------------
| Juha Jäykkä, [email protected] |
| http://www.maths.leeds.ac.uk/~juhaj |
-----------------------------------------------
signature.asc
Description: This is a digitally signed message part.

