Shared mailbox: share whole inbox
Hi,
I'd like to share the whole INBOX of one user with another. That should go through:
doveadm acl add -u user1@example.cz SharedDirectory user=user2@example.cz lookup read insert
It's works fine, when I connect through imap I see:
. list "" "*"* LIST (\Noselect \HasChildren) "/" shared* LIST (\Noselect \HasChildren) "/" shared/example.cz/name.surname* LIST (\HasNoChildren) "/" shared/example.cz/name.surname/SharedDirectory* LIST (\HasNoChildren) "/" INBOX. OK List completed (0.000 + 0.000 secs).
But now I would like to share the whole INBOX by: doveadm acl delete -u user1@example.cz SharedDirectory user1@example.cz 2 list "" "*" * LIST (\HasNoChildren) "/" INBOX 2 OK List completed (0.000 + 0.000 + 0.002 secs). doveadm acl add -u user1@example.cz INBOX user=user2@example.cz lookup read insert 2 list "" "*" * LIST (\HasNoChildren) "/" INBOX 2 OK List completed (0.000 + 0.000 + 0.002 secs). But it doesn't do what I expected, IMAP output it's the same and INBOX in shared folder is not subscribed. I'm looking for help to debug what might be wrong. Thanks. Z.
auth_cache_size = 10 M auth_default_realm = %d auth_mechanisms = plain login auth_realms = example.cz default_client_limit = 1024 default_process_limit = 1024 dict { acl = pgsql:/etc/dovecot/postgre-acl.conf } mail_location = maildir:/var/vmail/%d/%n/Maildir mail_plugins = acl listescape zlib 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 index ihave duplicate mime foreverypart extracttext imapflags notify namespace { list = children location = maildir:/var/vmail/%%d/%%n/Maildir:INDEX=/var/vmail/%d/%n/Maildir/shared/%%d/%%n:INDEXPVT=/var/vmail/%d/%n/Maildir/shared/%%d/%%n prefix = shared/%%d/%%n/ separator = / subscriptions = no type = shared } namespace inbox { inbox = yes location = prefix = separator = / type = private } passdb { args = /etc/dovecot/dovecot-ldap_people.conf.ext driver = ldap } plugin { acl = vfile acl_shared_dict = proxy::acl recipient_delimiter = + sieve = file:/var/vmail/%d/%n/Maildir/sieve;active=/var/vmail/%d/%n/Maildir/dovecot.sieve sieve_before = /usr/local/etc/dovecot/default.sieve sieve_default = /usr/local/etc/dovecot/default.sieve sieve_extensions = +notify +imapflags +duplicate sieve_trace_debug = yes sieve_trace_level = matching sieve_user_log = file:/var/vmail/%d/%n/Maildir/sieve/sieve_user.log } protocols = " imap lmtp sieve" service auth-worker { user = root } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-userdb { group = postfix mode = 0660 user = postfix } user = dovecot } service dict { unix_listener dict { mode = 0600 user = vmail } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } vsz_limit = 1 G } service imap { vsz_limit = 1 G } service lmtp { executable = lmtp -L process_min_avail = 10 unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 service_count = 1 vsz_limit = 64 M } ssl_ca = < /etc/ssl/certs/mail.example.cz/mail.example.cz.intermediate.crt ssl_cert = < /etc/ssl/certs/mail.example.cz/mail.example.cz.crt ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA ssl_key = # hidden, use -P to show it ssl_prefer_server_ciphers = yes userdb { args = /etc/dovecot/dovecot-ldap_people.conf.ext driver = ldap } protocol lmtp { info_log_path = /var/log/dovecot/dovecot-lmtp.log log_path = /var/log/dovecot/dovecot-lmtp-errors.log mail_plugins = acl listescape zlib quota sieve postmaster_address = admins@example.cz } protocol imap { mail_max_userip_connections = 500 mail_plugins = acl listescape zlib imap_acl } protocol sieve { info_log_path = /var/log/dovecot-sieve.log log_path = /var/log/dovecot-sieve-errors.log mail_max_userip_connections = 100 managesieve_implementation_string = Dovecot Pigeonhole managesieve_max_line_length = 65536 }
participants (1)
-
Zdeněk Sobotka