migrating mails between two cyrus servers keeping seen states
Hi, I'm planning to move some mailboxes from a cyrus server (2.1.18 - which is a kind of mail archive) to another one (2.4.17+caldav~beta9-3). Playing around on a test system with copying a user's mailbox and doing a following "reconstruct -r" came out with a mailbox without seen states on read mails on the new system; all mails unread. Normally I move mailboxes using imapsync to keep states etc., but on a number of really large mailboxes the initial sync takes days. Any other suggestions than (slow) imapsync tools? 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: migrating mails between two cyrus servers keeping seen states
Hi, Quoting Marcus Schopen via Info-cyrus: Hi, I'm planning to move some mailboxes from a cyrus server (2.1.18 - which is a kind of mail archive) to another one (2.4.17+caldav~beta9-3). Playing around on a test system with copying a user's mailbox and doing a following "reconstruct -r" came out with a mailbox without seen states on read mails on the new system; all mails unread. Normally I move mailboxes using imapsync to keep states etc., but on a number of really large mailboxes the initial sync takes days. Any other suggestions than (slow) imapsync tools? Befor 2.4.x the seen information was stored in extra files in /var/imap/user Did you copy these files too? 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: migrating mails between two cyrus servers keeping seen states
Am Freitag, den 18.12.2015, 14:09 +0100 schrieb Michael Menge via Info-cyrus: > Hi, > > > Quoting Marcus Schopen via Info-cyrus: > > > Hi, > > > > I'm planning to move some mailboxes from a cyrus server (2.1.18 - which > > is a kind of mail archive) to another one (2.4.17+caldav~beta9-3). > > Playing around on a test system with copying a user's mailbox and doing > > a following "reconstruct -r" came out with a mailbox without seen states > > on read mails on the new system; all mails unread. Normally I move > > mailboxes using imapsync to keep states etc., but on a number of really > > large mailboxes the initial sync takes days. Any other suggestions than > > (slow) imapsync tools? > > > Befor 2.4.x the seen information was stored in extra files in /var/imap/user > Did you copy these files too? Ah, it's an old Debian system. These files are stored in eg. /var/lib/cyrus/user/t/testuser.seen. Where do I have to copy this file on the new server to? And there is a testuser.sub in the same dir, which contains the subfolders. What about this file? 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
Re: migrating mails between two cyrus servers keeping seen states
Quoting Marcus Schopen: Am Freitag, den 18.12.2015, 14:09 +0100 schrieb Michael Menge via Info-cyrus: Hi, Quoting Marcus Schopen via Info-cyrus : > Hi, > > I'm planning to move some mailboxes from a cyrus server (2.1.18 - which > is a kind of mail archive) to another one (2.4.17+caldav~beta9-3). > Playing around on a test system with copying a user's mailbox and doing > a following "reconstruct -r" came out with a mailbox without seen states > on read mails on the new system; all mails unread. Normally I move > mailboxes using imapsync to keep states etc., but on a number of really > large mailboxes the initial sync takes days. Any other suggestions than > (slow) imapsync tools? > Befor 2.4.x the seen information was stored in extra files in /var/imap/user Did you copy these files too? Ah, it's an old Debian system. These files are stored in eg. /var/lib/cyrus/user/t/testuser.seen. Where do I have to copy this file on the new server to? And there is a testuser.sub in the same dir, which contains the subfolders. What about this file? The seen information is now included in the cyrus.* files (i think in the index file), but upgrading form an older version with reconstruct should check the .seen file at the old location. The location depends on your setting of configdirectory, fulldirhash and hashimapspool in impad.conf. The handling of the sub file has not changed. But you should copy them to the new server, if you want to keep the subscription information. You should check https://cyrusimap.org/docs/cyrus-imapd/2.4.17/install-upgrade.php 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