Am Montag, dem 10.07.2023 um 10:10 -0400 schrieb joe a:
I am only just starting to use Dovecot as well as Thunderbird as replacements for a legacy system, so am still at the "beginner" stage with both, so my queries may seem inane to some.
Bearing that in mind, it seems "shared folders" may not be possible in the sense/context I am familiar with, at least the way I have been attempting it.
Found the Thunderbird client has a "sharing" option for folders yet states "This server does not support shared folders"
So, is "folder sharing" something that has actually been done with Dovecot/Thunderbird? If so, suggestions on where I may have gone wrong?
This page may help you: https://doc.dovecot.org/configuration_manual/shared_mailboxes/
As you see, "Symlinking mailboxes" (what you did as far as I understand) is just a quick and dirty hack. I never tried that, but I would expect that Thunderbird (and other MUAs) will treat a symlinked folder just like any other folder in the mailbox. You may need to subscribe this symlinked folder explicitely. If you only have virtual users, filesystem rights should not be a problem.
What Thunderbird expects as "sharing" is what is described on the "Mailbox sharing between users" link in the linked page above. Thunderbird will deal with it and display information about the status of a local or shared folder in it's "Sharing" tab. Mailbox sharing must be enabled in dovecot, following instructions in this link.
Enabling mailbox sharing involves namespaces and acls. It's a bit tricky, but can be done even by unexperiences users (like me). If it's enabled, sharing a mailbox owned by user1 to user2 must be done with doveadm on the dovecot machine. There are plenty of how-to pages in the web how to do this.
Afaik, it should be possible to share a folder to someone else in a MUA like Thunderbird via IMAP commands. I don't know about any MUA that supports this, Thunderbird does not, Roundcube does not...
Robert
-- Robert Senger