hello,
I'm using dovecot 2.0.16 and i would like to use acl for subfolder.
The file dovecot-acl is well written in both folder test and the
subfolder test/Test :
cat /home/user2/Maildir/.test.Test/dovecot-acl
user=user1 ilrws
cat /home/user2/Maildir/.test/dovecot-acl
user=user1 ilprws
When user1 want to list, the folder test is well shown, but not the
subfolder test/Test. This is the logs :
Debug: acl: acl username = user1
imap(laurent.foucher): Debug: acl: owner = 0
Shuka-a dovecot: imap(user1): Debug: acl vfile: Global ACL directory: (none)
Shuka-a dovecot: imap(user1): Debug: acl vfile: reading file
/home/user2/Maildir/.test/dovecot-acl
[....]
imap(user1): Debug: acl: Mailbox not in dovecot-acl-list:
Partages/user2/test/Test
I don't userstand why the file dovecot-acl is not read from the
subfolder, while user1 and user2 have the same gid and write access to
the directories.
Thanks for your answers.
dovecot -n
auth_cache_size = 512 M
default_client_limit = 8400
disable_plaintext_auth = no
mail_access_groups = dovecot
mail_debug = yes
mail_location = maildir:~/Maildir
mail_plugins = acl
mail_privileged_group = dovecot
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 ihave imapflags notify
namespace {
inbox = yes
location prefix separator = /
type = private
}
namespace {
list = children
location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
prefix = Partages/%%u/
separator = /
subscriptions = no
type = shared
}
passdb {
args = cache_key=%u%s *
driver = pam
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
acl = vfile
acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes.db
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
mail_log_fields = uid box msgid size
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_extensions = +notify +imapflags
}
postmaster_address = postmaster at iut-tlse3.fr
protocols = " imap sieve"
service auth {
client_limit = 8500
unix_listener auth-userdb {
group = Personnel_IUT
mode = 0666
}
}
service imap-login {
process_limit = 4096
process_min_avail = 16
service_count = 0
vsz_limit = 256 M
}
service imap {
process_limit = 4096
vsz_limit = 3036 M
}
ssl_cert = </etc/ssl/certs/cert-5383-imaps.iut-tlse3.fr.pem
ssl_key = </etc/ssl/private/imaps.iut-tlse3.fr.key
userdb {
driver = passwd
}
userdb {
driver = prefetch
}
protocol lda {
info_log_path = /var/log/dovecot/dovecot-lda.log
log_path = /var/log/dovecot/dovecot-lda-errors.log
mail_plugins = acl sieve
}
protocol imap {
imap_id_log = *
mail_plugins = acl imap_acl listescape
}
--
- Laurent Foucher
< I U T 'A' Paul Sabatier >
laurent.foucher at iut-tlse3.fr
Enseignant/Charg? de mission Syst?mes & R?seau