[Dovecot] dovecot+shared folders
Alexey Eropkin
zubator at gmail.com
Fri May 6 16:03:39 EEST 2011
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 at 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
More information about the dovecot
mailing list