Hello;
We were able to set up shared folders in a cluster (using dovecot
as proxy on dedicated front-end servers, without using director)
by following
https://doc.dovecot.org/configuration_manual/shared_mailboxes/cluster_setup/.
Here is our related conf on imap farms (dovecot v2.3.16 on Almalinux):
namespaces:mail_location = maildir:~/Maildir namespace default { inbox = yes location = prefix = separator = / }
namespace shared { list = children location = imapc:~/shared/%%u:INDEXPVT=~/shared-pvt/%%u prefix = shared/%%u/ separator = / subscriptions = no type = shared }imapc settings:
imapc_features = fetch-bodystructure fetch-headers rfc822.size search modseq acl delay-login imapc_host = XXXXXX imapc_master_user = %{user} imapc_password = XXXXXX imapc_port = XXXXXX
passdb { args = password=#hidden_use-P_to_show# userdb_namespace/shared/disabled=yes userdb_acl_user=%{auth_user} allow_nets=XXXXX/XX driver = static master = yes } dict { acl-mysql = mysql:/etc/dovecot/conf.d/dovecot-dict-sql.conf.ext }This way, a folder is created under ~/ : shared & shared-pvt :
V 2 Sent Trash Drafts Junk shared/testuser1@sub domain tld/INBOX/folderThe dots in the folder names are replaced by tabs.
Sent Trash Drafts Junk shared/testuser1@sub.domain.tld/INBOX/folder
Thanks a lot for your advice
Best regards
Julien