Hi all
Without the listescape plugin I see the following things happen:
- If I share a mailbox, dovecot-acl-list in Maildir root is updated
accordingly.
- If I create a subfolder in an already shared mailbox the dovecot-acl
file of the parent folder is copied to the new folder and
dovecot-acl-list is updated as well.
When I activate the "listescape" plugin, this doesn´t happen.
Additionally (with listescape enabled), if I create a folder which
contains a dot and then share that folder the dovecot-acl-list looses
all entries except the first found shared folder without a dot in
foldername.
I Hope this is not a bug but only a configuration issue.
Thanks for any hints in advance and best Regards
Jens
# 2.0.8: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32 x86_64 Gentoo ext4
auth_mechanisms = plain login cram-md5
auth_socket_path = /var/run/dovecot/auth-userdb
base_dir = /var/run/dovecot/
dict {
quota = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
disable_plaintext_auth = no
first_valid_gid = 12
first_valid_uid = 8
hostname = mail.testdomain.local
last_valid_gid = 12
last_valid_uid = 8
lda_mailbox_autosubscribe = yes
listen = *
mail_debug = yes
mail_gid = mail
mail_home = /var/mail/%d/%n
mail_location = maildir:/var/mail/%d/%n/Maildir/:INDEX=/var/mail/%d/%n/Index
mail_plugins = quota acl trash fts fts_squat mail_log listescape
mail_privileged_group = mail
mail_uid = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
namespace {
inbox = yes
list = yes
location =
prefix =
separator = /
subscriptions = yes
type = private
}
namespace {
list = children
location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
prefix = shared/%%u/
separator = /
subscriptions = no
type = shared
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
acl = vfile
acl_shared_dict = file:/var/mail/shared-mailboxes.db
autocreate = Spam
autosubscribe = Spam
fts = squat
fts_squat = partial=4 full=10
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
mail_log_fields = uid box msgid size
quota = dict:user::proxy::quota
quota_rule = *:storage=1G
quota_rule2 = Trash:storage=+100M
quota_rule3 = Spam:ignore
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_global_dir = /var/lib/dovecot/sieve/global/
}
postmaster_address = postmas...@tock-tock.de
protocols = imap pop3 sieve
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-userdb {
mode = 0600
user = mail
}
}
service dict {
unix_listener dict {
group = mail
mode = 0660
user = mail
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
process_min_avail = 0
service_count = 1
vsz_limit = 64 M
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
unix_listener quota-warning {
user = mail
}
user = dovecot
}
ssl_cert = </etc/ssl/mail.testdomain.local.crt
ssl_key = </etc/ssl/mail.testdomain.local.key
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocol lda {
info_log_path = /var/log/dovecot-lda.log
mail_plugins = quota acl sieve
}
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
imap_idle_notify_interval = 2 mins
mail_plugins = quota acl trash fts fts_squat mail_log listescape imap_quota imap_acl notify autocreate
}
protocol sieve {
managesieve_logout_format = bytes=%i/%o
managesieve_max_line_length = 65536
}