force relication to all mailboxes
Bron Gondwana
brong at fastmail.fm
Sun Jul 19 21:19:04 EDT 2015
On Sun, Jul 19, 2015, at 12:49, Marcus Schopen wrote:
> Am Sonntag, den 19.07.2015, 18:16 +0200 schrieb Marcus Schopen:
> > Hi,
> >
> > I set a cyrus (2.4.12 / Ubuntu 12.04 LTS) with existing mailboxes in
> > replication with an cyrus (2.4.12 / Ubuntu 12.04 LTS). Replication works
> > fine, but a sync of existing mailboxes is only triggered on by new
> > incoming mails to inboxes or by changes inside subfolders. How to I
> > force an initial replication of all mailboxes including subfolders from
> > the master to the replica?
>
> Calling sync_client for each mailbox works fine:
>
> sync_client -S imapsync.server -v -u mailboxname
> ...
>
> Any better ways?
There will be '-A' in the future, but it's not available in LTS. You can script
it up with something that uses cyr_dbtool or ctl_mboxlist to get a listing.
Bron.
--
Bron Gondwana
brong at fastmail.fm
More information about the Info-cyrus
mailing list