[Dovecot] Mixing mbox and maildir

Timo Sirainen tss at iki.fi
Mon Mar 21 16:53:13 EET 2005


On 21.3.2005, at 16:09, Tom Alsberg wrote:

>> They would have to be separated in some way so that the mailbox
>> handling code is run only when mailbox is being opened. Except there
>> would also have to be some kind of mailbox format specific filters
>> in the listing code, so that nothing would be shown under
>> "~/mail/foo" if ~/mail/foo/new (and cur and tmp?) exists.
>
> Why?  There can be an hierarchy of mailboxes (a mailbox can contain
> sub-mailboxes, etc.)
>
> I would more like say that if new, (and cur, and tmp?) exist, it will
> be treated as maildir, and only those subdirectories will not be
> shown...

That's what I meant. But there needs to be a clean way to do that, 
without hardcoding the maildir support directly into it. Other formats 
than mbox and maildir will be supported later..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050321/ae64314b/attachment-0001.bin>


More information about the dovecot mailing list