[Dovecot] Virtual mailboxes and subfolders

François-Xavier Payet fx.payet at tfdn.org
Thu Dec 2 11:51:40 EET 2010


 Hello again,
 I'd like to know if there is a way to have subfolders in virtual 
 mailbox?

 In my virtual namespaces, I have some virtual maiboxes named like this 
 :
    Mailbox
    Mailbox.SubMailbox

 (the separator is '.')

 But when I try to access the submailbox, depending on my client, it 
 either :
   - Tells me the mailbox doesn't exists (Roundcube)
   - Don't show me any error, but don't display any mail in the mailbox 
 (Apple Mail.app)

 So I'd like to know if this is because I can't make subfolders of 
 virtual mailboxes, or if I'm doing something wrong.

 Thanks.

 François-Xavier Payet

 dovecot -n :

 # 1.2.15: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.32-bpo.5-amd64 x86_64 Debian 5.0.7
 log_timestamp: %Y-%m-%d %H:%M:%S
 protocols: imaps managesieve
 login_dir: /var/run/dovecot/login
 login_executable(default): /usr/lib/dovecot/imap-login
 login_executable(imap): /usr/lib/dovecot/imap-login
 login_executable(managesieve): /usr/lib/dovecot/managesieve-login
 mail_privileged_group: mail
 mbox_write_locks: fcntl dotlock
 mail_executable(default): /usr/lib/dovecot/imap
 mail_executable(imap): /usr/lib/dovecot/imap
 mail_executable(managesieve): /usr/lib/dovecot/managesieve
 mail_plugins(default): virtual
 mail_plugins(imap): virtual
 mail_plugins(managesieve):
 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
 mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
 mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
 namespace:
   type: private
   separator: .
   location: virtual:/var/vmail/%d/%n/Maildir/virtual:INDEX=MEMORY
   inbox: yes
   list: yes
   subscriptions: yes
 namespace:
   type: private
   separator: .
   prefix: RealMail.
   location: maildir:/var/vmail/%d/%n/Maildir
   hidden: yes
   list: no
   subscriptions: yes
 lda:
   log_path: /var/vmail/dovecot-deliver.log
   auth_socket_path: /var/run/dovecot/auth-master
   postmaster_address: foux at da-foux-server.tfdn.org
   mail_plugins: sieve virtual
 auth default:
   mechanisms: plain login
   passdb:
     driver: sql
     args: /etc/dovecot/dovecot-sql.conf
   userdb:
     driver: passwd
   userdb:
     driver: static
     args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes
   socket:
     type: listen
     client:
       path: /var/spool/postfix/private/auth
       mode: 432
       user: postfix
       group: postfix
     master:
       path: /var/run/dovecot/auth-master
       mode: 384
       user: vmail
 plugin:
   sieve: /var/vmail/%d/%n/sieve
   sieve_dir: /var/vmail/%d/%n/.sieve



More information about the dovecot mailing list