Bug 124111 - create maildir folders (cur/, new/, tmp/) if they don't exist
Summary: create maildir folders (cur/, new/, tmp/) if they don't exist
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: maildir (show other bugs)
Version: 1.12.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 83209 278726 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-23 02:26 UTC by gjditchfield
Modified: 2012-08-18 09:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gjditchfield 2006-03-23 02:26:34 UTC
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?
Comment 1 Philip Rodrigues 2006-09-19 21:25:41 UTC
Retitling and recategorising to reflect behaviour described in the comment
Comment 2 gjditchfield 2009-11-10 21:13:07 UTC
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.
Comment 3 Björn Ruberg 2009-12-25 19:11:10 UTC
*** Bug 83209 has been marked as a duplicate of this bug. ***
Comment 4 Unknown 2012-06-24 16:55:11 UTC
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.
Comment 5 Myriam Schweingruber 2012-08-18 09:12:38 UTC
*** Bug 278726 has been marked as a duplicate of this bug. ***