<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Thank you Aki, for your quick response.<br>
    <br>
    <b>dovecot-shared</b> file flag should actually enable the <b>INDEXPVT
    </b>setting in the NameSpace for each mailbox it has been created
    in, as it did for INDEX setting.<br>
    <br>
    Below folows the output of the `dovecot -n` command: <br>
    <div class="moz-signature">
---------------------------------------------------------------------------------<br>
      <p><font size="-1"><font face="monospace">auth_mechanisms = plain
            login<br>
            disable_plaintext_auth = no<br>
            imap_capability = +SPECIAL-USE XLIST<br>
            listen = *,[::]<br>
            lmtp_rcpt_check_quota = yes<br>
            log_timestamp = "%Y-%m-%d %H:%M:%S "<br>
            mail_attachment_dir = /ZSAFEMAIL/ATTACHED/attached<br>
            mail_attachment_min_size = 64 k<br>
            mail_max_userip_connections = 100<br>
            mail_plugins = quota acl<br>
            mail_privileged_group = vmail<br>
            namespace {<br>
              inbox = no<br>
              list = yes<br>
              location =
sdbox:/var/vmail/PublicFolders:LAYOUT=fs:DIRNAME=dbox-MailFolder:INDEXPVT=~/Maildir/public<br>
              prefix = PublicFolders/<br>
              separator = /<br>
              subscriptions = no<br>
              type = public<br>
            }<br>
            namespace inbox {<br>
              inbox = yes<br>
              location =<br>
              mailbox Drafts {<br>
                special_use = \Drafts<br>
              }<br>
              mailbox Junk {<br>
                special_use = \Junk<br>
              }<br>
              mailbox Sent {<br>
                special_use = \Sent<br>
              }<br>
              mailbox "Sent Messages" {<br>
                special_use = \Sent<br>
              }<br>
              mailbox Trash {<br>
                special_use = \Trash<br>
              }<br>
              prefix =<br>
              separator = /<br>
              subscriptions = yes<br>
              type = private<br>
            }<br>
            passdb {<br>
              args = /etc/dovecot/dovecot-sql-master.conf.ext<br>
              driver = sql<br>
              master = yes<br>
              pass = yes<br>
            }<br>
            passdb {<br>
              args = /etc/dovecot/dovecot-sql.conf<br>
              driver = sql<br>
            }<br>
            plugin {<br>
              acl = vfile<br>
              quota = dict:user::<a class="moz-txt-link-freetext" href="file:/var/vmail/%d/%n/.quotausage">file:/var/vmail/%d/%n/.quotausage</a><br>
              quota_status_nouser = DUNNO<br>
              quota_status_overquota = 552 5.2.2 Mailbox is full<br>
              quota_status_success = DUNNO<br>
              sieve = /var/vmail/%d/%n/.sieve<br>
              sieve_after = /var/vmail/%d/%n/.ispconfig.sieve<br>
              sieve_before = /var/vmail/%d/%n/.ispconfig-before.sieve<br>
              sieve_max_actions = 100<br>
              sieve_max_redirects = 25<br>
              sieve_max_script_size = 2M<br>
            }<br>
            protocols = imap pop3 lmtp<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 = 512<br>
            }<br>
            service lmtp {<br>
              unix_listener /var/spool/postfix/private/dovecot-lmtp {<br>
                group = postfix<br>
                mode = 0600<br>
                user = postfix<br>
              }<br>
            }<br>
            service quota-status {<br>
              client_limit = 1<br>
              executable = quota-status -p postfix<br>
              unix_listener /var/spool/postfix/private/quota-status {<br>
                group = postfix<br>
                mode = 0660<br>
                user = postfix<br>
              }<br>
            }<br>
            service stats {<br>
              unix_listener stats-reader {<br>
                group = vmail<br>
                mode = 0660<br>
                user = vmail<br>
              }<br>
              unix_listener stats-writer {<br>
                group = vmail<br>
                mode = 0660<br>
                user = vmail<br>
              }<br>
            }<br>
            ssl_cert = </etc/postfix/smtpd.cert<br>
            ssl_cipher_list =
ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384<br>
            ssl_dh = # hidden, use -P to show it<br>
            ssl_key = # hidden, use -P to show it<br>
            ssl_min_protocol = TLSv1.2<br>
            userdb {<br>
              driver = prefetch<br>
            }<br>
            userdb {<br>
              args = /etc/dovecot/dovecot-sql.conf<br>
              driver = sql<br>
              override_fields = master_user=%u<br>
            }<br>
            protocol imap {<br>
              auth_verbose = yes<br>
              mail_plugins = quota imap_quota acl<br>
            }<br>
            protocol pop3 {<br>
              auth_verbose = yes<br>
              mail_plugins = quota<br>
              pop3_uidl_format = %08Xu%08Xv<br>
            }<br>
            protocol lda {<br>
              mail_plugins = sieve quota<br>
              postmaster_address = postmaster@...<br>
            }<br>
            protocol lmtp {<br>
              mail_plugins = quota sieve<br>
              postmaster_address = postmaster@...<br>
            }<br>
            <br>
          </font></font><br>
        <font size="-1">
----------------------------------------------------------------------------------</font></p>
      <p><font size="-1">Is it a bug of some kind? <br>
        </font></p>
      <p><font size="-1">Thank you,</font></p>
      <p><font size="-1">Panos.<br>
        </font></p>
    </div>
    <div class="moz-cite-prefix">On 29/3/2021 08:43, Aki Tuomi wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:2014470999.1969.1616996617083@appsuite-dev-gw1.open-xchange.com">
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">On 29/03/2021 02:28 Panayiotis Fafakos <a class="moz-txt-link-rfc2396E" href="mailto:pfaf@wisdomsoftware.net"><pfaf@wisdomsoftware.net></a> wrote:


Dear Timo,
 
 we have successfully used dovecot-shared file flag in MaildirPublicNameSpaces with private index files, to have per-user-seen flags for some but not all mailboxesunder public folders.
 This was actually done on older dovecot versions (i.e dovecot v2.2.33.2) , using a location setting in dovecot.conf like:
 location = maildir:/var/vmail/PublicFolders:LAYOUT=fs:DIRNAME=privDirMailFolder:INDEX=~/Maildir/public
 
 We try to use similar location setting using sdbox storage in dovecot v2.3.4.1, like below:
 location = sdbox:/var/vmail/PublicFolders:LAYOUT=fs:DIRNAME=dbox-MailFolder:INDEXPVT=~/Maildir/public
 but the dovecot-sharedfile flag seems to be ignored. 
 As a result all mailboxes under public folders use the per-user-seen flags setting as set in the location setting, regardless of the existence of the dovecot-shared file flag or not.
 
 Is there any setting to use so that only some mailboxes under public folders use per-user-seen flags?
 
 Thank you in advance for your support,
 
 Panos Fafakos.
 

</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Hi Panos,

INDEXPVT is a namespace level setting, not per-folder setting. I cannot see any "dovecot-sharedfile" flag, maybe provide `doveconf -n`?

Aki
</pre>
    </blockquote>
    <br>
  </body>
</html>