[Dovecot] Trouble creating shared virtual folders

Daniela Silva daniela.silva at portugalmail.net
Thu Sep 23 20:42:06 EEST 2010


Hi all,

I've tried to contact Timo Sirainen by dovecot irc channel but since I 
couldn't I'm trying the mailinglist.

I'm trying to create shared virtual folders, users should not be able 
either to create or delete a virtual folder. What is the best way to do 
this?

I've tried to do this with virtual mailboxes, but I had problems with 
permissions, I removed write permissions from folder "virtual_folders" 
but if I do that dovecot creates "virtual_folders_indexes" without write 
permissions too, which in this case are needed. I've tried to solve this 
using ACL but as far as I understood I need an ACL file per folder, 
which in my case is undoable.

Thanks,
-- 

Daniela Silva

protocols: imap pop3 managesieve
listen: 10.0.32.1,  10.0.4.14
ssl: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/libexec/dovecot/managesieve-login
login_processes_count: 64
login_max_processes_count: 1024
max_mail_processes: 1000
verbose_proctitle: yes
mail_uid: 500
mail_gid: 100
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_executable(managesieve): /usr/libexec/dovecot/managesieve
mail_plugins(default): quota imap_quota zlib trash virtual acl
mail_plugins(imap): quota imap_quota zlib trash virtual acl
mail_plugins(pop3): quota zlib
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib64/dovecot/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
mail_plugin_dir(managesieve): /usr/lib64/dovecot/managesieve
mail_log_max_lines_per_sec: 0
namespace:
   type: private
   separator: /
   inbox: yes
   hidden: yes
   list: no
   subscriptions: yes
namespace:
   type: private
   separator: /
   prefix: virtual_folders/
   location: 
virtual:~/maildir/virtual_folders:INDEX=~/maildir/virtual_folders_indexes
   list: yes
   subscriptions: yes
lda:
   postmaster_address: postmaster at portugalmail.net
   mail_plugins: quota sieve acl
   auth_socket_path: /var/run/dovecot/auth-master
auth default:
   mechanisms: plain login
   passdb:
     driver: ldap
     args: /etc/dovecot/dovecot-ldap.conf
   userdb:
     driver: ldap
     args: /etc/dovecot/dovecot-ldap.conf
   socket:
     type: listen
     master:
       path: /var/run/dovecot/auth-master
       mode: 384
       user: vmail
       group: users
plugin:
   quota: maildir
   quota_rule: *:storage=102400
   quota_rule2: Lixo:storage=71680
   acl: vfile:/etc/dovecot/acls
   trash: /etc/dovecot/dovecot-trash.conf
   sieve_global_dir: /mnt/sieve/%d/maildir/sieve




More information about the dovecot mailing list