Version: (using KDE 4.4.0) OS: Linux Installed from: Mandriva RPMs This happens to me ever since KMail was changed to require Aconadi. KMail is started as part of default session. Sometimes (not every time but pretty often) it fails to start aconadi and terminates. Starting it again manually always works which leads me to believe this is - at least, partially - race condition during session startup. I attach aconadit test report when it fails. Points of note. 1) mySQL errors. I always use standard menu item to close session. If this results in dirty database shutdown, it should be fixed. 2) It seems it can't contact nepomuk. Meaning that may be nepomuk is started too late or takes too much time to start.
Created attachment 40757 [details] Saved protocol of failed kmail startup tests
I have the same behavior here with KDE 4.6.4, kmail 1.13.6 using kubuntu packages. I even tried to make it boot through system settings' automatic startup. I even made a script to launch akonadi before kmail is started, but still sometimes kmail is launched sometimes not...
Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.