<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi<br>
<br>
I have appended the important bits of my server configuration to the
end of this email<br>
I am trying to get "Mailbox sharing between users" to work.<br>
<br>
For starters it is very hard to follow the doc only<br>
<a class="moz-txt-link-freetext"
href="https://doc.dovecot.org/configuration_manual/shared_mailboxes/shared_mailboxes/">https://doc.dovecot.org/configuration_manual/shared_mailboxes/shared_mailboxes/</a><br>
without an actual example. I tried to use this (sorry in German)<br>
<a class="moz-txt-link-freetext"
href="https://dokuwiki.tachtler.net/doku.php?id=tachtler:dovecot_shares">https://dokuwiki.tachtler.net/doku.php?id=tachtler:dovecot_shares</a><br>
and this got me a little further down the track.<br>
<br>
I followed the instructions required for the dovecot config files.<br>
Restarted dovecot, not errors displayed in the logs.<br>
<br>
I have got access to two user accounts, say USER1 and USER2.<br>
I executed this lines<br>
<pre class="code">doveadm acl set -u USER1 INBOX user=USER2 admin create delete expunge insert lookup post read write write-deleted write-seen
doveadm acl set -u USER2 INBOX user=USER1 admin create delete expunge insert lookup post read write write-deleted write-seen
</pre>
and created (just to be sure) two folders for each user<br>
<br>
<font face="monospace">/home/USER1/Mail/shared/USER1<br>
/home/USER1/Mail/shared/USER2<br>
</font><font face="monospace"> /home/USER2/Mail/shared/USER1<br>
/home/USER2/Mail/shared/USER2<br>
</font><br>
The tried to create a mailboxes like so<br>
<br>
<font face="monospace">/home/USER1/Mail/shared/USER1/testa<br>
</font><font face="monospace">/home/USER1/Mail/shared/USER2/testb</font><br>
<font face="monospace"> /home/USER2/Mail/shared/USER1</font><font
face="monospace"><font face="monospace">/testa<br>
</font>/home/USER2/Mail/shared/USER2</font><font face="monospace"><font
face="monospace">/testb</font> </font><br>
<br>
They are not created and no error is displayed - even looking at the
dovecot logs.<br>
What I see in the folders for BOTH users though (for every folder)<br>
<br>
<font face="monospace">dovecot.list.index.log</font><br>
<br>
On the command line I can see the .imap files and do a 'ls -alR' in
the folders, but no created mbox.<br>
<br>
I can definitely see the folders, but I cannot create a mbox file.<br>
<br>
What am I doing wrong?<br>
Help please.<br>
<br>
<br>
---------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
Here are the important configuration items<br>
<br>
<font face="monospace"># 2.3.16 (7e2e900c1a):
/etc/dovecot/dovecot.conf<br>
# OS: Linux 4.18.0-425.13.1.el8_7.x86_64 x86_64 AlmaLinux release
8.7 (Stone Smilodon) xfs<br>
namespace shared {<br>
list = children<br>
location =
maildir:~/Mail/:INDEX=~/Mail/shared/%%u:CONTROL=~/Mail/shared/<br>
prefix = shared/%%u/<br>
separator = /<br>
subscriptions = yes<br>
type = shared<br>
}<br>
mail_location = mbox:/home/%u/Mail/:INBOX=/var/mail/%u<br>
mail_plugins = acl<br>
passdb {<br>
driver = pam<br>
}<br>
plugin {<br>
acl = vfile<br>
acl_shared_dict = <a class="moz-txt-link-freetext"
href="file:/var/lib/dovecot/db/shared-mailboxes.db">file:/var/lib/dovecot/db/shared-mailboxes.db</a><br>
}<br>
service auth {<br>
unix_listener auth-userdb {<br>
group = dovecot<br>
mode = 0777<br>
user = dovecot<br>
}<br>
}<br>
protocol imap {<br>
mail_plugins = " acl imap_acl"<br>
}<br>
</font><br>
<br>
<div class="moz-signature">-- <br>
<title></title>
</div>
</body>
</html>