| Summary: | maildir resource does not detect folders with subfolders when scanning a new resource | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Akonadi | Reporter: | S. Burmeister <sven.burmeister> |
| Component: | Maildir Resource | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | amantia |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
S. Burmeister
2011-12-17 11:30:54 UTC
Here is the copy of my mail to the kde-pim ML:
The problem is that it is not straightforward to support both the KMail
style maildir layout and the dovecot style Maildir++.
For the following structure:
Folder1
Folder2
Folder3
KMail(1&2) uses this:
Folder1
cur
new
tmp
.Folder1.directory - contains the subfolders of Folder1
cur
new
tmp
Folder2
cur
new
tmp
.Folder2.directory - subfolder for Folder2
Folder3
Dovecot would need this as:
Folder1
cur
new
tmp
.Folder2
cur
new
tmp
.Folder2.Folder3
cur
new
tmp
As you can see they are completely different. In dovecot style sub-
subdirectories are not layed out as such on the file system.
Sincerely I'd just keep the current layout as it is and not bother with
"real" subdirectories.
This will make bug 289183 a wontfix and will require user intervention to
import completely the folder structure.
The "problem" is that the structure, i.e. the folders kmail2 does not see/find, was created by kmail1. BTW: ~/.Mail in my first comment should have been ~/Mail This bug is invalid because I made a wrong assumption. I assumed that .Folder1.directory was enough to have a sub-folder, which is wrong in maildir. Further in the structure created by kmail1 the top-folder was a mbox file, i.e.: Folder1 _file_ .Folder1.directory folder with lots of maildir subfolders If I create Folder1 including cur, new and tmp akonadi/kmail2 do pick-up the sub-folders in .Folder1.directory. My bad, apologies for wasting your time! |