[Kde-pim] A sigh
Ingo Klöcker
kloecker at kde.org
Tue Jan 31 22:10:30 GMT 2012
On Sunday 29 January 2012, Andras Mantia wrote:
> Sven Burmeister wrote:
> > Am Samstag, 28. Januar 2012, 23:03:42 schrieb Anders Lund:
> >> Didn't think of that, I thought it should be stored where
> >> configured. Kmail stored it in ~/Mail, which I renamed to start
> >> from scratsc. But there it is. Should I file a bug report about
> >> it not being stored where configured?
> >
> > It's a known bug. e.g. the standard local folders resource points
> > to ~/.local/share/local-mail but the data is in
> > ~/.local/share/.local- mail.directory, i.e. if you would back-up
> > the folder the resource points to you would lose all your email.
> >
> > https://bugs.kde.org/show_bug.cgi?id=285895
>
> Actually, I'm not sure if this is a bug or not. I was sure until now,
> this is how the maildir standard demands (subfolders are in a
> .folder.directory folder). But I cannot find any document stating
> this. There is maildir and maildir++ structure. The latter allows
> subfolder directly in the folder. I wonder what is the case in the
> original maildir case.
> It was written originally for qmail, and here is the manual page:
> http://qmail.org/qmail-manual-html/man5/maildir.html
>
> Doesn't mention at all subfolders. If anybody know where the
> .foo.directory storing comes from, speak up. :)
This was invented before my time, but AFAIK this way of storing
subfolders was invented by the KMail authors. Those .foo.directory
directories were already used for subfolders of mbox-folders long before
KMail supported maildir so this has nothing to do with maildir.
> What is sure that this is not new to KMail2, KMail1 did use the same
> maildir layout.
This is not entirely true. In KMail1 top-level local folders were stored
in ~/Mail, but not in ~/.Mail.directory. OTOH, in case of the IMAP and
dIMAP caches the caches were stored in ~/.<accountID>.directory folders
next to empty <accountID> folders.
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20120131/f321dd46/attachment.sig>
-------------- next part --------------
_______________________________________________
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