2016-11-24 19:04 keltezéssel, "Frank Soyer" ([email protected]) írta:

Hi list,
and sorry if this question was already answered, I can't find any doc :
I'm testing Sogo 3 (what a pleasure ! ;) bravo to all the team for this work !) and wonder if there is some doc ot tuto about sharing email folders. The system is a CentOS7 with dovecot (provided by VestaCP that I'm adapting for Sogo), auth on mysql. Actualy all other functionnalities work like a charm, mails, calendars, address books, and sharing this last two... But not folders. I've read here some posts, particularly from Jonathan Dumaresq : where have you found this conf ?

Thanx for all informations !
Frank


Hi Frank,

I used AD for auth, but I think this little difference won't confuse you.
You have to some changes in your dovecot.conf file:

1. In the mail_plugins line you need to add the acl plugin.

   Example:
   Before: mail_plugins = quota notify
   After: mail_plugins = acl quota notify

2. Into the "plugins" section you need to insert two lines:

      acl_shared_dict = file:/var/mail/shared-mailboxes.db
      acl = vfile

(Of course change the path similar to your environment).

3. At the end of the config you need to add two sections (based on your environment):

   namespace {
      type = private
      separator = /
      prefix =
      inbox = yes
   }
   namespace {
      type = shared
      separator = /
      prefix = shared/%%u/
      location = maildir:/var/mail/%%u:INDEX=/var/mail/%u/shared/%%u
      list = children
   }

4. And finally you have to restart the dovecot service.

I think that above will be enough for the happiness.

Cheers,
Peti
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to