Version: (using KDE KDE 3.5.1) Installed from: Ubuntu Packages Compiler: 4.0.2? (Kubuntu "breezy badger") OS: Linux I restored my Mail directory from a version control system that does not track empty directories. When I launched Kmail, I got a dialog box saying "Error opening /home/gjditchf/Mail/inbox/new; this folder is missing" (three times), then "KMail encountered a fatal error and will terminate now. The error was: You do not have read/write permissions to your inbox folder". The permissions on the Mail/inbox directory are rwxr-xr-x. inbox/tmp is also missing. After I created inbox/new and inbox/dir directories, KMail gave similar error messages about Mail/trash/new and Mail/trash/tmp. Perhaps KMail could just create the folders when it finds they are missing?
Retitling and recategorising to reflect behaviour described in the comment
This bug is still present in "KMail Version 1.12.2 Using KDE 4.3.2 (KDE 4.3.2)", as distributed with Kubuntu 9.10.
*** Bug 83209 has been marked as a duplicate of this bug. ***
This bug is now fixed. Look at release KDE 4.9 What happens: - some situations with kmail1 and early kmail2 where a configuration file wasn't store properly. - the user deletes or looses a configuration file. The first case was fixed by Tobias 2012-02-12. For the second case, kmail2 has now a procedure to repair the configuration. In fact, the bug doesn't occur at kmail2 but at akonadi_agent_launcher as a resource for maildir will be build, even if the configuration file (such as "akonadi_maildir_resource_0rc") is missing. This will be now detected and repaired. Thanks to Kevin for choaching.
*** Bug 278726 has been marked as a duplicate of this bug. ***