[Dovecot] mbox, hierarchical folders/folders and IMAP

Stan Hoeppner stan at hardwarefreak.com
Sun Dec 25 02:50:44 EET 2011


On 12/24/2011 10:26 AM, Alexander Chekalin wrote:
> Stan, thank you for the reply,
> 
> But I believe I obey this rule: I create "folder with ONLY folders inside", then in it another "folder with ONLY folders inside", and the into this second folder I create "folder with ONLY messages inside" (the path is "oldmail/lists/dovecot", and oldmail and lists are folders in filesystem, while dovecot is mbox container in filesystem).
> 
> My problem is I can not understand which way should I create "folder with ONLY folders inside", and which way to create messages-only folder, going down to IMAP protocol commands. PHP for example looks like use only one command to create a mailbox, no difference what type of it I need. 
> 
> I understand PHP isn't the only script language to deal with IMAP, so I seek for advice how IMAP works with on protocol level.

Ah, ok.  I didn't fully understand your issue.  Maybe Timo, or someone
else, knows the necessary imap folder creation command sequence for this.

-- 
Stan



More information about the dovecot mailing list