Probleme with replication and shared mailbox

Laurent BRAULT (OSILOG) lbrault at osilog.fr
Wed Mar 6 16:41:32 EET 2019


Hi Folks !

 

I finaly resolve my problem ! 😊

 

First of all I had to modify namespaces :

 

#######################################################

 

namespace inbox {

  inbox = yes

  location =

  mailbox Archive {

    auto = subscribe

    special_use = \Archive

  }

  mailbox Drafts {

    auto = subscribe

    special_use = \Drafts

  }

  mailbox Junk {

    auto = subscribe

    special_use = \Junk

  }

  mailbox Sent {

    auto = subscribe

    special_use = \Sent

  }

  mailbox Trash {

    auto = subscribe

    special_use = \Trash

  }

  prefix = INBOX/

  separator = /

  subscriptions = yes

  type = private

}

namespace partage {

  list = children

  location = maildir:/mnt/mail/vmail/%%d/%%n:INDEXPVT=/mnt/mail/vmail/%d/%n/shared/%%u

  prefix = shared/%%u/

  separator = /

  subscriptions = yes

  type = shared

}

 

#######################################################

 

Also change the « replication_dsync_parameters » in aim to syncronize only the Private namespace :

 

==> replication_dsync_parameters = -d -n inbox -l 30 -U

 

 

I change the sharing command from « acl set » to « acl add »

 

AND THE MOST IMPORTANT ==> RUN THE COMMAND ON THE 2 SERVER because of active/active réplication…

 

==> doveadm acl add -u user2 at exemple.fr INBOX user=user1 at exemple.fr admin create delete expunge insert lookup post read write write-deleted write-seen

 

Hope this may help if someone is faced to the same problem

 

Best regards

 

Laurent

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190306/3a30ca34/attachment-0001.html>


More information about the dovecot mailing list