[Dovecot] dovecot+shared folders
Hi all.
I have dovecot 1.2.15 on debian + mysql+shared folders.
My config
login_process_size = 128 login_processes_count = 10 login_process_per_connection = no login_max_connections = 3000 login_max_processes_count = 1000 mail_process_size = 1024
protocols = imap imaps pop3 pop3s managesieve
protocol managesieve { login_executable = /usr/lib/dovecot/managesieve-login mail_executable = /usr/lib/dovecot/managesieve }
disable_plaintext_auth = no log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:~ namespace private { separator = / prefix = inbox = yes hidden = no subscriptions = yes }
namespace shared { separator = / prefix = shared/%%u/ location = maildir:%%h:INDEX=~/shared/%%u:CONTROL=~/shared/%%u inbox = no hidden = no subscriptions = no list = children }
mail_privileged_group = vmail
first_valid_uid = 500 last_valid_uid = 50000 first_valid_gid = 500 last_valid_gid = 50000
protocol imap { imap_client_workarounds = outlook-idle mail_plugins = acl imap_acl }
protocol pop3 { pop3_uidl_format = %08Xu%08Xv }
protocol managesieve { mail_location = mbox:~/ }
protocol lda { postmaster_address = postmasterk@chronopay.ru mail_plugin_dir = /usr/lib/dovecot/modules/lda auth_socket_path = /var/run/dovecot/auth-master mail_plugins = acl sieve }
auth default { mechanisms = plain login #digest-md5 cram-md5
passdb ldap { args = /etc/dovecot/dovecot-ldap.conf }
passdb sql { args = /etc/dovecot/dovecot-sql.conf }
#userdb ldap { # args = /etc/dovecot/dovecot-ldap.conf # }
userdb static { args = uid=5000 gid=5000 home=/.mail/%d/%n }
user = root
socket listen { master { path = /var/run/dovecot/auth-master mode = 0660 user = vmail # User running Dovecot LDA group = vmail # Or alternatively mode 0660 + LDA user in this group } client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } }
}
plugin { sieve = ~/.dovecot.sieve sieve_dir=~/sieve acl = vfile acl_shared_dict = file:/.mail/%d/shared-mailboxes.db }
And all seems ok, but I cannot understand how to make delet flag per user. If I permit t and e in ACL, users delet message forever for all.
-- Software is like sex, it is better when it's free
On Fri, 2011-05-06 at 17:03 +0400, Alexey Eropkin wrote:
And all seems ok, but I cannot understand how to make delet flag per user. If I permit t and e in ACL, users delet message forever for all.
Not possible currently. Although you could easily modify the source code to do that.
participants (2)
-
Alexey Eropkin
-
Timo Sirainen