Re: force relication to all mailboxes
Hi, Quoting Marcus Schopen : > Hi Bron, > > Am Sonntag, den 19.07.2015, 18:19 -0700 schrieb Bron Gondwana: >> 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 -u is for user -m is for mailbox -s is for sieve scripts >> > ... >> > >> > 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. > > > For understanding: after a restart of a replica the way to get master > und replica fully in sync again is to start the syn_cclient on master > and call "sync_client -S imapsync.server -v -u mailboxname" for each > mailbox, right? > -u username will sync all subfolders of user.username (user/username), the sieve scrips and the mailbox subscription. So -u for each user and -m for shared and news mailboxes. You don't need the -S option if the syncserver is configured in /etc/imapd.conf > And are there any scripts available to check if master and replica > storage completely in sync or mails are missing? > > Ciao > Marcus > > > > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: force relication to all mailboxes
Hi Bron, Am Sonntag, den 19.07.2015, 18:19 -0700 schrieb Bron Gondwana: > 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. For understanding: after a restart of a replica the way to get master und replica fully in sync again is to start the syn_cclient on master and call "sync_client -S imapsync.server -v -u mailboxname" for each mailbox, right? And are there any scripts available to check if master and replica storage completely in sync or mails are missing? Ciao Marcus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: force relication to all mailboxes
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 br...@fastmail.fm Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: force relication to all mailboxes
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? Ciao! Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
force relication to all mailboxes
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? Cheers Marcus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus