I have some issues testing public mailboxes with linux users and groups

creating mailboxes for users for the first group is not really a problem:

doveadm -o mail_gid=testgroup2 mailbox create -u usertest public/publictest1
doveadm -o mail_gid=testgroup2 mailbox create -u usertest6 public/publictest2
doveadm -o mail_gid=testgroup2 mailbox create -u usertest2 public/publictest3

If I remove usertest6 from testgroup2 roundcube instantly stops showing these 
mailboxes. However when I try to make a new public mailbox with a different 
group. I am getting errors.

doveadm -o mail_gid=testgroup3 mailbox create -u usertest6 public/publictest4

missing +r perm: public/mdbox/storage/dovecot.map.index.log
public/mdbox/storage/dovecot.map.index.log, we're not in group

I have the impression I am doing something wrong here, maybe configure the 
namespace with different filesystem layout? 
I assume it is possible to work with multiple groups in one public namespace?

public/
└── mdbox
    ├── dovecot.list.index.log
    ├── dovecot-uidvalidity
    ├── dovecot-uidvalidity.66f00cc7
    ├── mailboxes
    │   ├── publictest1
    │   │   └── dbox-Mails
    │   │       ├── dovecot.index.cache
    │   │       └── dovecot.index.log
    │   ├── publictest2
    │   │   └── dbox-Mails
    │   │       ├── dovecot.index.cache
    │   │       └── dovecot.index.log
    │   ├── publictest3
    │   │   └── dbox-Mails
    │   │       └── dovecot.index.log
    │   └── testthunderbird
    │       └── dbox-Mails
    │           ├── dovecot.index.cache
    │           └── dovecot.index.log
    └── storage
        └── dovecot.map.index.log


namespace public {
  disabled = no
  type = public
  separator = /
  prefix = public/
  location = mdbox:/home/popusers/public/mdbox
  list = yes
  subscriptions = no
}
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to