Seen Flags per User

Maurice Kunze Maurice.Kunze at hightec-rt.com
Thu Dec 8 09:07:14 UTC 2022


Hello,

i want to configure seen flags per user for shared public mailboxes in 
dovecot. I have added the INDEVPVT Option to the location parameter in 
the namespace and restarted the services and the server.
Unfortunately nothing changed and there are still global seen flags in 
the configuration. In a post i read that i have to manually add some 
files to the location but this isnt specified in the documentation.

below is the version we use and the config.

dovecot --version
2.3.13 (89f716dc2)

dovecot -n
# 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.13 (cdd19fe3)
# OS: Linux 5.10.0-17-amd64 x86_64 Debian 11.4 ext4
# Hostname: <SERVERNAME>
auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
auth_verbose_passwords = plain
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/mail/user
mail_plugins = acl
mail_privileged_group = vmail
mail_uid = vmail
namespace {
   list = yes
   location = maildir:/var/mail/public:INDEXPVT=/var/mail/public
   prefix = public/
   separator = /
   subscriptions = no
   type = public
}
namespace {
   list = yes
   location = 
maildir:/var/mail/user/%u/Maildir:INDEX=/var/mail/user/%u/shared/%u:CONTROL=/var/mail/user/%u/shared/%u
   prefix = shared/%%u/
   separator = /
   subscriptions = no
   type = shared
}
namespace inbox {
   hidden = no
   inbox = yes
   list = yes
   location =
   mailbox Drafts {
     special_use = \Drafts
   }
   mailbox Junk {
     special_use = \Junk
   }
   mailbox Sent {
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox Trash {
     special_use = \Trash
   }
   prefix =
   separator = /
   subscriptions = yes
   type = private
}
passdb {
   args = /etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
plugin {
   acl = vfile
   acl_anyone = allow
   acl_shared_dict = file:/var/mail/database/shared-mailboxes.db
}
protocols = " imap"
service stats {
   unix_listener stats-reader {
     group = vmail
     mode = 0660
     user = vmail
   }
   unix_listener stats-writer {
     group = vmail
     mode = 0660
     user = vmail
   }
}
ssl_cert = </var/ssl/dove.crt
ssl_client_ca_dir = /etc/ssl/certs
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
   args = /etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
protocol imap {
   mail_plugins = acl imap_acl
}



More information about the dovecot mailing list