On 8/9/2010 11:21 AM, Timo Sirainen wrote:
On Mon, 2010-08-09 at 17:02 +0200, Richard Gliebe wrote:
when a user tries to create a sub-subfolder in Archiv, he gets the message:
"Mailbox doesn't allow inferior mailboxes" Like Phill said, the problem is mbox format. If you don't want to switch away from it, you can still create Archiv/stuff, if you just don't first create Archiv as a mailbox. In IMAP protocol terms you need to:
Create Archiv/ directory to filesystem: 1 CREATE Archiv/ Create the mailbox file: 2 CREATE Archiv/child
The 1 step is actually optional. In any case you can probably do both in the client UI as well by just adding the '/' manually.
You can also create namespaces, making your inbox an mbox and the rest of the folders Maildir.
Mixed mbox and Maildir
If you have your INBOX as mbox in /var/mail/username and the rest of the mailboxes in Maildir format under ~/Maildir, you can do this by creating two namespaces:
namespace private { separator = / prefix = "#mbox/" location = mbox:~/mail:INBOX=/var/mail/%u inbox = yes hidden = yes list = no # for v1.1+ } namespace private { separator = / prefix = location = maildir:~/Maildir }