[Dovecot] Manually creating folders from terminal

William Blunn bill+dovecot at blunn.org
Wed Jul 7 18:31:11 EEST 2010


A. J. Giurato wrote:
> I'm trying to use a script to create a mailbox structure.  I'm aware 
> that the structure should look like:
> ~/.maildir/.INBOX/{cur,tmp,new}
> ~/.maildir/.INBOX.Subfolder1/{cur,tmp,new}
> ~/.maildir/.INBOX.Subfolder2/{cur,tmp,new}
> ~/.maildir/.INBOX.Subfolder2.Subsubfolder1/{cur,tmp,new}
> ...
>
> I have tried manually making those directories and using the 
> "maildirmake.dovecot" command that my system has.  I feel that in the 
> past, folders I have made this way worked.  However, now none are 
> showing up in my clients.
>
> In Thunderbird, they aren't even listed on the "Subscribe" window for 
> me to enable.  Using Squirrelmail doesn't show them either.
>
> Essentially what I am doing is taking my current IMAP dir structure, 
> and making a copy in a subfolder called ".INBOX.Archive.<year>" to 
> archive my old mail.  Thus, .INBOX.Subfolder1.Subfolder2 becomes 
> .INBOX.Archive.2009.Subfolder1.Subfolder2.

Since you have gotten as far as asking on the mailing list, it may be 
worth just sanity checking that your folders are being created under the 
correct user and group IDs.

Bill


More information about the dovecot mailing list