<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:Consolas;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=IT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-family:Consolas'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>We're trying to configure the shared mailbox feature\namespace on a dovecot 2.3 installation .<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>OS : Ubuntu 22.04 x64<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Dovecot : 2:2.3.19.1-2+ubuntu20.04<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Our test enviroment is based on a dovecot frontend ( director + proxy ) and a dovecot backend ( auth and storage ), later we will think about increasing the number of backends and frontends ( if we got it right, as we plan to use multiple backends, we should use imapc in order to bind the sharer and the accessing user to the same backend ) .<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>On dovecot backend we've configured the new shared namespace, as stated in the documentation ( https://doc.dovecot.org/configuration_manual/shared_mailboxes/shared_mailboxes/#user-shared-mailboxes ) :<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>-- Dovecot conf --------------------<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># Maildir's location is under home dir, which is returned by userdb.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>mail_location = maildir:~/Maildir:VOLATILEDIR=/tmp_lock/%2.256Nu/%u<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># Quota, mail_log plugins enabled everywhere<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>mail_plugins = quota notify acl fts fts_lucene mail_log mailbox_alias virtual<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># Default namespace<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>namespace {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> hidden = no<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> inbox = yes<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> location =<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> prefix =<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> separator = /<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> type = private<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>mailbox Sent {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> special_use = \Sent<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> auto = create<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> }<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> mailbox Trash {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> special_use = \Trash<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> auto = create<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> }<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> mailbox Drafts {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> special_use = \Drafts<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> auto = create<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> }<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> mailbox SPAM {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> special_use = \Junk<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> auto = create<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> }<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># namespace used by virtual search<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>namespace {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> prefix = VrtSearch.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> separator = /<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> location = virtual:/etc/dovecot-common-backend/virtual:INDEX=~/virtual<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> hidden = yes<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> subscriptions = no<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> inbox = no<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> list = no<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># IMAP SHARING FEATURE<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>service dict {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> unix_listener dict {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> mode = 0600<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> user = vpopmail<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> group = vchkpw<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> }<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>plugin {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> acl = vfile<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> acl_ignore_namespace = shared/*<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> acl_shared_dict = proxy::acl-mysql<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>dict {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> acl-mysql = mysql:/etc/dovecot-common-backend/dovecot-dict-sql.conf.ext<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># namespace used for IMAP sharing feature<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>namespace {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> type = shared<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> separator = /<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> prefix = shared/%%u/<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> list = children<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> subscriptions = no<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>-- Dovecot dict sql --------------------<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># IMAP SHARING FEATURE<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>connect = host=x.x.x.x dbname=xxxxxx user=xxxxxx password=xxxxxx<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>map {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> pattern = shared/shared-boxes/user/$to/$from<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> table = imap_user_shares<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> value_field = dummy<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> fields {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> from_user = $from<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> to_user = $to<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> }<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>map {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> pattern = shared/shared-boxes/anyone/$from<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> table = imap_anyone_shares<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> value_field = dummy<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> fields {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> from_user = $from<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> }<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>-- Dict DB contents --------------------<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>mysql> select * from imap_user_shares;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>+------------------------------------------+----------------------------------------+-------+<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>| from_user | to_user | dummy |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>+------------------------------------------+----------------------------------------+-------+<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>| test.imapsharer01@td01.testdomain.it | test.imapuser01@td01.testdomain.it | 1 |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>+------------------------------------------+----------------------------------------+-------+<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>For our tests, we've :<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>- created two users<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>test.imapsharer01@td01.testdomain.it<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>test.imapuser01@td01.testdomain.it<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>- Created two INBOX subfolders on the sharer01 user, giving user01 those permissions :<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>subfolder01 giving to user01 Full control<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>subfolder02ro giving to user01 list and read <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>- logging as user01 with thunderbird, we see the shared namespace tree :<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>shared<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> test.imapsharer01@td01.testdomain.it<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> subfolder01<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> subfolder02<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>we're able to see the contents of each folder, even the INBOX .<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Checking the folder properties, thunderbird reports that the user01 has full control on the INBOX of shared01 .<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>If we try to check the ACL via python script ( imaplib.gestacl ) or via doveadm, we can see that the sharer01 INBOX has no rights for user01 .<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>But via thunderbird ( or other email clients ) we can delete emails .<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>ACL - sharer01 accessing its folder<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>('OK', [b'INBOX test.imapsharer01@td01.testdomain.it lrwstipekxacd'])<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>('OK', [b'subfolder01 test.imapuser01@td01.testdomain.it akxeilprwtscd test.imapsharer01@td01.testdomain.it lrwstipekxacd'])<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>('OK', [b'subfolder02ro test.imapuser01@td01.testdomain.it lr test.imapsharer01@td01.testdomain.it lrwstipekxacd'])<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>ACL - user01 accessing sharer01 folders<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>('OK', [b'shared/test.imapsharer01@td01.testdomain.it/INBOX'])<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>('OK', [b'shared/test.imapsharer01@td01.testdomain.it/subfolder01 test.imapuser01@td01.testdomain.it akxeilprwtscd'])<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>('OK', [b'shared/test.imapsharer01@td01.testdomain.it/subfolder02ro test.imapuser01@td01.testdomain.it lr'])<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Testing with doveadm shows the correct ACL :<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># doveadm -c /etc/dovecot-backend01/dovecot.conf acl debug -u test.imapuser01@td01.testdomain.it shared/test.imapsharer01@td01.testdomain.it/INBOX<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox 'INBOX' is in namespace 'shared/test.imapsharer01@td01.testdomain.it/'<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox path: /home/vpopmail/domains/td01.testdomain.it/dccm4584.imapsharer01/Maildir<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: All message flags are shared across users in mailbox<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: User test.imapuser01@td01.testdomain.it has no rights for mailbox<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Error: User test.imapuser01@td01.testdomain.it is missing 'lookup' right<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox shared/test.imapsharer01@td01.testdomain.it/INBOX is NOT visible in LIST<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># doveadm -c /etc/dovecot-backend01/dovecot.conf acl debug -u test.imapuser01@td01.testdomain.it shared/test.imapsharer01@td01.testdomain.it/subfolder01<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox 'subfolder01' is in namespace 'shared/test.imapsharer01@td01.testdomain.it/'<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox path: /home/vpopmail/domains/td01.testdomain.it/dccm4584.imapsharer01/Maildir/.subfolder01<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: All message flags are shared across users in mailbox<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: User test.imapuser01@td01.testdomain.it has rights: lookup read write write-seen write-deleted insert post expunge create delete admin<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox found from dovecot-acl-list<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: User test.imapsharer01@td01.testdomain.it found from ACL shared dict<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox shared/test.imapsharer01@td01.testdomain.it/subfolder01 is visible in LIST<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># doveadm -c /etc/dovecot-backend01/dovecot.conf acl debug -u test.imapuser01@td01.testdomain.it shared/test.imapsharer01@td01.testdomain.it/subfolder02ro<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox 'subfolder02ro' is in namespace 'shared/test.imapsharer01@td01.testdomain.it/'<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox path: /home/vpopmail/domains/td01.testdomain.it/dccm4584.imapsharer01/Maildir/.subfolder02ro<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: All message flags are shared across users in mailbox<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: User test.imapuser01@td01.testdomain.it has rights: lookup read<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox found from dovecot-acl-list<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: User test.imapsharer01@td01.testdomain.it found from ACL shared dict<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>doveadm(test.imapuser01@td01.testdomain.it): Info: Mailbox shared/test.imapsharer01@td01.testdomain.it/subfolder02ro is visible in LIST<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>in the debug log we can see the delete operation :<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox Trash: Mailbox opened<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: acl vfile: file /home/vpopmail/domains/td01.testdomain.it/dccm4584.imapuser01/Maildir/.Trash/dovecot-acl not found<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox shared/test.imapsharer01@td01.testdomain.it: Mailbox opened<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox Trash: Adding field flags to cache for the first time (uid=0)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox Trash: saving UID 0: Opened mail because: header Message-ID (Cache file is unusable)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox Trash: Adding field hdr.Message-ID to cache for the first time (uid=0)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox shared/test.imapsharer01@td01.testdomain.it: UID 1: Expunge requested<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox Trash: Purging (new file_seq=1668506005): creating cache<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox Trash: Purging finished, file_seq changed 0 -> 1668506005, size=0 -> 412, max_uid=0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Info: copy from shared/test.imapsharer01@td01.testdomain.it: box=Trash, uid=1, msgid=<mnid2m.1.24789225.57389.0.1127444.c495198613._@nl.aruba.it><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:25 imap(357716 test.imapuser01@td01.testdomain.it):Info: expunge: box=shared/test.imapsharer01@td01.testdomain.it, uid=1, msgid=<mnid2m.1.24789225.57389.0.1127444.c495198613._@nl.aruba.it><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Nov 15 10:53:26 imap(357716 test.imapuser01@td01.testdomain.it):Debug: Mailbox shared/test.imapsharer01@td01.testdomain.it: UID 1: Mail expunged<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>After we delete a message, we cannot find it on the Trash folders ( user01 or sharer01 ) .<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Are we missing something ?<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Stefano<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p></div></body></html>