[Dovecot] Manually creating folders from terminal

William Blunn bill+dovecot at blunn.org
Wed Jul 7 21:31:36 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 am a bit dubious about your directory names. In my experience, INBOX 
is always at

~/Maildir/{cur,tmp,new}

which in your setup would become

~/.maildir/{cur,tmp,new}

Similarly, folders are at

~/Maildir/.folder/{cur,tmp,new}
~/Maildir/.folder.subfolder/{cur,tmp,new}
~/Maildir/.folder.subfolder.subsubfolder/{cur,tmp,new}

which in your setup would become

~/.maildir/.Subfolder1/{cur,tmp,new}
~/.maildir/.Subfolder2/{cur,tmp,new}
~/.maildir/.Subfolder2.Subsubfolder1/{cur,tmp,new}

Bill


More information about the dovecot mailing list