[Dovecot] Manually creating folders from terminal

A. J. Giurato junk at pastalovers.net
Wed Jul 7 18:40:46 EEST 2010


Thanks for the suggestions.

The user, group, and permissions on all folders (including the cur, new, and tmp) are "aj aj 700".  Also, I added "mail_location = maildir:~/.maildir" (and removed "default_mail_env").  Neither has worked.

Also, my IMAP folders all work fine except for the new ones I want to create manually from the CLI.


On 7/7/2010 11:31 AM, William Blunn wrote:
> 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