Apologies for the delay in replying, I got it working, I'll follow-up with further information.
I've got a few additional questions as below:
1/ The v2.3 docs here - https://doc.dovecot.org/2.3/configuration_manual/shared_mailboxes/public_sha... (right up the top of the page, first config example box).
They advise - When creating any namespaces, you must also have a private namespace.
Our current config for inbox namespace (users mailboxes) is below:
namespace inbox { inbox = 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 = }
The public mailbox config is working as I would expect:
a/ mail is delivered to the public mailboxes by the MTA (Exim4) b/ mail is delivered by the LDA to the user inboxes
Does it still need type = private in that block?
2/ I had until today the below in the config:
https://doc.dovecot.org/2.3/configuration_manual/shared_mailboxes/public_sha...
Minus the last two lines (I wasn't sure if needed):
alias_for = INBOX/ # the INBOX namespace's prefix location = <same as mail_location>:SUBSCRIPTIONS=subscriptions-shared
I've restarted Dovecot and it still seems to work as expected (mail delivery and users only being able to subscribe to those files that dovecot-acl specifies they should have access to), do I need this block?
3/ I'm not configuring read-only-maildirs and only one public namespace (it happens to be in this section of the docs, unless I'm misunderstanding something), but it is possible that a public mailbox (directory name) could have the same name as a folder in the users inboxes. Do I need to configure INDEX and CONTROL directories to avoid problems or is it just for multiple public namespaces?
https://doc.dovecot.org/2.3/configuration_manual/shared_mailboxes/public_sha...
Many thanks as always
Daniel