Using dovecot-shared for an shared index not working

Achim Gottinger achim at ag-web.biz
Fri Feb 18 13:13:55 UTC 2022



Am 18.02.2022 um 13:41 schrieb Achim Gottinger:
> Hello
>
> I'm in the process to migrate our mail server from version 2.2.13 with maildirs to 2.3.13 with sdbox.
> On the old server if we wanted an common index for the seen flag on shared folders we created an file called dovecot-shared in the mail_location folder and the mailbox folders.
> This does not work on the new server for all shared mailboxes the seen flag is stored per user.
>
> The log file shows this if the seen flag is changed
>
> Feb 18 13:24:15 SERVER dovecot[18887]: imap(USER)<18978><51HhlUnYeOfAwAx3>: Debug: imapsieve: mailbox shared/info: FLAG event (changed flags: \Seen)
>
> The dovecot-acl file for the shared/info/INBOX folder has the s flag set.
>
> I hope i can get a few pointers here how to get the seen flag working for all users again.
> On the old server the location variable for the shared folders had the variable INDEX defined which can not be used with sdbox.
>
> location = maildir:/home/vmail/%%u/mail:INDEX=/home/vmail/%u/mail/shared/%%u:INBOX=/home/vmail/%%u/mail/.INBOX
>
> Does that imply that sharing the seen flag can not be used with sdbox?
>
> Thanks in advance,
> Achim
>

Found if I do not define INDEXPVT for the shared location the seen flag is used common for all users.
Would be nice to control that per shared folder.
dovecot-shared does not seem to be used any longer, tought to find old docs on the internet at all.


More information about the dovecot mailing list