From: Oswald B. <osw...@gm...> - 2014-10-03 09:49:15
|
On Thu, Oct 02, 2014 at 12:43:50PM +0300, Armands Liepins wrote: > MaildirStore test-local > Path /var/lib/imap/us...@so.../. > Flatten . > that. it's explicitly documented that subfolders of INBOX will be flattened into the Path hierarchy. there is little alternative to that: if your INBOX is ~/Maildir, what is INBOX.foo supposed to be? ~/Maildir.foo? do you really want that in your home dir? now, if you place INBOX inside Path (by using the Inbox option) and actually name it INBOX, the flattened INBOX subfolders will naturally align name-wise, as the INBOX mapping is a null transformation. the problems start if you map INBOX to a different name (say, Inb0x) - the flattened INBOX.foo is not seen as a subfolder of INBOX (it's just a string with no hierarchy), so you'd get ~/maildir/Inb0x and ~/maildir/INBOX.foo as folders. i don't think it makes sense to spend time on making this work differently - the semantics would be arbitrary. it's basically asking the question "what does an imap server that does not understand hierarchical mailboxes do with hierarchical mailboxes?" - "something". |