Replication and public folders with private (seen) flags

Ralf Becker rb at egroupware.org
Thu Aug 3 13:52:34 EEST 2017


We started using Dovecot replication between two nodes and noticed that
our configured private flags (INDEXPVT) in public/shared mailboxes are
not replicated. We are only replicating INBOX namespace, as we dont want
to replicate content of shared mailboxes for every user again.

Is there a way to replicate the INDEXPVT or is that not (yet) implemented?

Dovecot versions:

# 2.2.31 (65cde28): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.19 (e5c7051)
# OS: Linux 4.4.0-87-generic x86_64

Using following namespaces:

namespace inboxes {
  inbox = yes
  location =
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Templates {
    auto = subscribe
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = INBOX/
  separator = /
  subscriptions = no
}
namespace subs {
  hidden = yes
  list = no
  location =
  prefix =
  separator = /
}
namespace users {
  location = mdbox:%%h/mdbox:INDEXPVT=~/shared/%%u
  prefix = user/%%n/
  separator = /
  subscriptions = no
  type = shared
}

And the following replication config:

root at ka-nfs-mail:~# cat /etc/dovecot/replication.conf
service aggregator {
  fifo_listener replication-notify-fifo {
    user = dovecot
  }
  unix_listener replication-notify {
    user = dovecot
  }
}

service replicator {
  process_min_avail = 1
  unix_listener replicator-doveadm {
    group = dovecot
    user = dovecot
    mode = 0660
  }
}

service doveadm {
  inet_listener {
    port = 12345
    #ssl = yes
  }
}

doveadm_port = 12345
doveadm_password = *******

plugin {
  #mail_replica = tcp:10.44.99.1 # use doveadm_port
  mail_replica = tcp:10.44.88.1 # use doveadm_port
}

replication_dsync_parameters = -d -n INBOX -l 30 -U

-- 
Ralf Becker
EGroupware GmbH [www.egroupware.org]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 631 31657-0


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20170803/f9795db9/attachment.sig>


More information about the dovecot mailing list