<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
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.E-MailFormatvorlage17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.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 70.85pt 2.0cm 70.85pt;}
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=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Schau mal hier:</span> </a><a href="http://dokuwiki.tachtler.net/doku.php?id=tachtler:dovecot_shares"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>http://dokuwiki.tachtler.net/doku.php?id=tachtler:dovecot_shares</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hier:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal>namespace {<br> list = yes<br> location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u<br> prefix = shared.%%u.<br> separator = .<br> subscriptions = no <span style='font-family:Wingdings'>ß</span>das müsste auf yes gesetzt werden damit es an gezeigt werden kann<br> type = shared<br>}<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Bei mir funktionierend:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>namespace {<o:p></o:p></p><p class=MsoNormal> list = children<o:p></o:p></p><p class=MsoNormal> location = maildir:/var/mail/maildata/%%u/mail:INDEX=/var/mail/maildata/%u/mail/shared/%%u:CONTROL=%h/shared/%%u<o:p></o:p></p><p class=MsoNormal> prefix = shared/%%u/<o:p></o:p></p><p class=MsoNormal> separator = /<o:p></o:p></p><p class=MsoNormal> subscriptions = yes<o:p></o:p></p><p class=MsoNormal> type = shared<o:p></o:p></p><p class=MsoNormal>}<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Grüße<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Daniel<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><img border=0 width=300 height=2 id="_x0000_i1027" src="cid:image001.gif@01D1D75D.4BC86650" alt="cid:image001.gif@01D0023C.AFBBACF0"></span><b><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'><o:p></o:p></span></b></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm'><b><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'>EDV Daniel Müller</span></b><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'><br><br>Leitung EDV<br>Tropenklinik Paul-Lechler-Krankenhaus<br>Paul-Lechler-Str. </span><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'>24<br>72076 Tübingen <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'>Tel.: 07071/206-463, Fax: 07071/206-499<br> Email: </span><a href="mailto:mueller@tropenklinik.de"><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif;color:blue'>mueller@tropenklinik.de</span></a><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'><br> </span><a href="http://www.tropenklinik.de/"><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'>www.tropenklinik.de</span></a><u><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'><o:p></o:p></span></u></p><p class=MsoNormal><u><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'> www.bauen-sie-mit.tropenklinik.de</span></u><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'> </span><u><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'><o:p></o:p></span></u></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm'><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><img border=0 width=248 height=77 id="Bild_x0020_2" src="cid:image004.png@01D1D75D.76C7F000" alt="TKP Logo 100 Jahre blau 4c"></span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><img border=0 width=300 height=2 id="Bild_x0020_3" src="cid:image001.gif@01D1D75D.4BC86650" alt="cid:image001.gif@01D0023C.AFBBACF0"><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Dennis Riehle [mailto:webmaster@riehle-web.com] <br><b>Gesendet:</b> Dienstag, 5. Juli 2016 15:07<br><b>An:</b> dovecot@listen.jpberlin.de<br><b>Betreff:</b> Shared folders mit Dovecot und Sogo<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hallo zusammen,<br><br>ich bin neu hier in dieser Maillingliste und da ich über Google auf einige hilfreiche Diskussionen hier gestoßen bin, dachte ich, ich frage mit meinem Problem mal hier nach. Vielleicht hat hier ja jemand eine Idee, die mir weiterhelfen kann :-)<br><br>Ich habe einen Sever mit Sogo aufgesetzt, welcher auf meinen bestehenden Mailserver mit Dovecot und Postfix zugreift. Sogesehen reichert der Sogo-Server also mein IMAP/SMTP lediglich im Groupware an, also Kalender, Kontakte etc. Das klappt soweit auch prima und die Oberfläche von Sogo lässt sich auch für die Konfiguration von IMAP ACLs nutzen. Allein Dovecot liefert die freigegebenen Ordner anderer Nutzer leider bei einem LIST-Befehl nicht aus, weshalb die für einen User freigegebenen Ordner nicht sichtbar sind.<br><br>Mittlerweile hab ich keine Idee mehr woran es liegen könnte. Alle Daten von Dovecot liegen in /var/vmail, alle Dateien und Ordner gehören vmail:vmail und haben 0600 bzw. 0700 als Rechte - das müsste doch eigentlich passen? Auch die ACLs selber scheinen zu passen, wie die Ausgabe von doveadm -f table acl und die Inhalte der Datei dovecot-acl zeigen. In meinem Szenario haben <User1> und <User2> jeweils ihre INBOX für den anderen User freigegeben. Keiner der User kann allerdings auf die INBOX des anderen zugreifen. Anbei die Ausgabe von doveconf -n und darunter auch diverser anderen Befehle.<br><br>Hat jemand noch eine Idee was ich falsch machen könnte?<br><br>Herzlichen Dank und Grüße<br>Dennis<br><br><br><br>doveconf -n<br># 2.2.13: /etc/dovecot/dovecot.conf<br>doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf<br>doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:61: namespace shared {} has been replaced by namespace { type=shared }<br># OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.5<br>auth_mechanisms = plain login<br>disable_plaintext_auth = no<br>listen = *,[::]<br>log_timestamp = "%Y-%m-%d %H:%M:%S "<br>mail_debug = yes<br>mail_plugins = quota acl<br>mail_privileged_group = vmail<br>namespace {<br> list = yes<br> location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u<br> prefix = shared.%%u.<br> separator = .<br> subscriptions = no<br> type = shared<br>}<br>namespace inbox {<br> inbox = yes<br> location =<br> prefix =<br> separator = .<br> type = private<br>}<br>passdb {<br> args = /etc/dovecot/dovecot-sql.conf<br> driver = sql<br>}<br>plugin {<br> acl = vfile<br> acl_shared_dict = file:/var/vmail/shared-mailboxes.db<br> quota = dict:user::file:/var/vmail/%d/%n/.quotausage<br> sieve = /var/vmail/%d/%n/.sieve<br>}<br>protocols = imap pop3<br>service auth {<br> unix_listener /var/spool/postfix/private/auth {<br> group = postfix<br> mode = 0660<br> user = postfix<br> }<br> unix_listener auth-userdb {<br> group = vmail<br> mode = 0600<br> user = vmail<br> }<br> user = root<br>}<br>service imap-login {<br> client_limit = 1000<br> process_limit = 500<br>}<br>ssl_cert = </etc/postfix/smtpd.cert<br>ssl_key = </etc/postfix/smtpd.key<br>ssl_protocols = !SSLv2 !SSLv3<br>userdb {<br> args = /etc/dovecot/dovecot-sql.conf<br> driver = sql<br>}<br>protocol imap {<br> mail_plugins = quota acl imap_quota imap_acl<br>}<br>protocol pop3 {<br> mail_plugins = quota<br> pop3_uidl_format = %08Xu%08Xv<br>}<br>protocol lda {<br> mail_plugins = sieve quota acl<br>}<br><br>cat /var/vmail/<HOSTNAME>/<USER2>/Maildir/dovecot-acl<br>user=<USER1>@<HOSTNAME> akxeilprwts<br><br>cat /var/vmail/<HOSTNAME>/<USER2>/Maildir/dovecot-acl-list<br>1467719607 INBOX<br><br>doveadm -f table acl get -u <USER1>@<HOSTNAME> INBOX<br>ID Global Rights<br>user=<USER2>@<HOSTNAME> insert lookup read write write-deleted write-seen<br><br>cat /var/vmail/shared-mailboxes.db<br>shared/shared-boxes/user/<USER2>@<HOSTNAME>/<USER1>@<HOSTNAME><br>1<br>shared/shared-boxes/user/<USER1>@<HOSTNAME>/<USER2>@<HOSTNAME><br>1<br><br>doveadm mailbox list -u <USER1>@<HOSTNAME><br>Trash<br>Sent<br>Junk<br>Drafts<br>shared<br>INBOX<o:p></o:p></p></div></body></html>