[Kde-pim] Maildir directory structure [Re: A sigh]

Andras Mantia amantia at kde.org
Sat Feb 11 16:17:50 GMT 2012


Anders Lund wrote:

> Lørdag den 11. februar 2012 16:28:28 Kevin Krammer skrev:
>> On Saturday, 2012-02-11, Anders Lund wrote:
>> > In kmail 1 there was both visible and hidden subdirectories, some of
>> > which had localized names. In kmail 2 ~/Mail (or wereever you store
>> > your mail) is a joke - it is ALWAYS empty apart from empty cur, new and
>> > tmp subdirectories.
>> > 
>> > Personally, I don't care much what the layout looks like, as long as
>> > mail is stored where the user thinks, in my case indside ~/Mail, as
>> > long as it is just functional inside kmail. This was true until kmail
>> > 2, and it should be again.
>> 
>> That can't be quite accurate. The KMail folders resource was specifically
>> designed to work with a KMail1 mail store directory and it does not move
>> mails outside of that tree.
>> 
>> Thus is uses exactly the same on-disk layout KMail 1 did.
> 
> Well, that might have been the intention, but it does not appear to be the
> reality.
> 
> When doing the switch from kmail1 to kmail2, I first archieved all my
> folders in kmail1, moved ~/Mail away and recreated it by pointing a new
> maildir akonadi resource there. After starting kmail 2, I imported all the
> acrhieves. The result of that was that most of that mail (all that was
> sucessfully imported) was moved into ~/.Mail.directory/<subfoldername>,
> which is also where kmail2 stores new mail.

Please clarify this. So you had mail in ~/Mail in KMail1 and archived it. 
Then you removed the whole content of ~/Mail? And then you created a maildir 
resource and pointed to ~/Mail, right? 
And how did you import back the archives?

My problem following this:
- if I create a folder (eg. ~/MailFoo) and point a maildir resource to it, 
the content does not even appear in KMail, so I have no idea how could I 
import to it (this looks like a bug in itself)
- I can see the content in akonadiconsole though, and if I create there a 
Bar folder, on the file system it will look like ~/MailFoo/Bar. Like you 
want. 
- after restart now MailFoo appears in KMail. Now if I create a Foo2 inside 
Bar, i'll get~/MailFoo/.Bar.directory/Foo2. Again, just like in KMail1.
- creating another toplevel Foo3 (under MailFoo) add ~/MailFoo/Foo3.
Again as you expect.

The problem you mention I saw only with the default created account under 
~/.local/share.

Andras
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list