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.
My system:
Ubuntu 8.04
# 1.0.10: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
ssl_listen: *
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_privileged_group: mail
mail_access_groups: mail
default_mail_env: ~/.maildir
mail_location: ~/.maildir
auth default:
mechanisms: plain login
passdb:
driver: pam
userdb:
driver: passwd
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
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. > > My system: > Ubuntu 8.04 > > # 1.0.10: /etc/dovecot/dovecot.conf > log_timestamp: %Y-%m-%d %H:%M:%S > ssl_listen: * > disable_plaintext_auth: no > login_dir: /var/run/dovecot/login > login_executable: /usr/lib/dovecot/imap-login > mail_privileged_group: mail > mail_access_groups: mail > default_mail_env: ~/.maildir > mail_location: ~/.maildirI am not a Dovecot expert, but I would wonder if it makes a difference if "mail_location" has not specified the mailbox type, e.g. mail_location = maildir:~/.maildir Also worth noting that the de-facto standard location for Maildirs is "~/Maildir", which would be indicated with mail_location = maildir:~/Maildir Bill
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
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