RE: migration and seen flag

2012-01-10 Thread Rosenbaum, Larry M.
From: info-cyrus-bounces+info-cyrus=ornl@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+info-cyrus=ornl@lists.andrew.cmu.edu] On Behalf Of Bron Gondwana Seen data is only stored in .seen files for shared or other user mailboxes. The seen data for the mailbox owner is stored in the

RE: migration and seen flag

2012-01-10 Thread Adam Tauno Williams
On Tue, 2012-01-10 at 10:26 -0500, Rosenbaum, Larry M. wrote: From: info-cyrus-bounces+info-cyrus=ornl@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+info-cyrus=ornl@lists.andrew.cmu.edu] On Behalf Of Bron Gondwana Seen data is only stored in .seen files for shared or other user

RE: migration and seen flag

2012-01-06 Thread Ron Vachiyer
Do you know what format the seen files are in on the old server? I think you should be able to copy them across with the rest of the mail spool using rsync, but the default database format for seen might have changed. The default in 2.4 appears to be skiplist. Check the setting

Re: migration and seen flag

2012-01-06 Thread Bron Gondwana
On Fri, Jan 06, 2012 at 10:17:26AM -0500, Ron Vachiyer wrote: however it doesn't create any .seen files like the 2.1.x version, it seems to store seen information in the cyrus.index file in each users mailspool directory. I am using the invoca rpm build, is this a particularity or is there

RE: migration and seen flag

2012-01-06 Thread Ron Vachiyer
Seen data is only stored in .seen files for shared or other user mailboxes. The seen data for the mailbox owner is stored in the cyrus.index. This has two benefits: 1) lower IO for the most common case. We need to update the cyrus.index file anyway to record the new MODSEQ. 2)

RE: migration and seen flag

2012-01-06 Thread Ron Vachiyer
Oh, if you've already moved the mailbox and the seen file hasn't been moved yet... yeah, that's messy :( The main problem is that the seen file is indexed by UNIQUEID rather than mailbox name, otherwise you could just copy-paste the sequence out and run TAG UID STORE paste +Flags

Re: migration and seen flag

2012-01-06 Thread Bron Gondwana
On Fri, Jan 06, 2012 at 01:40:10PM -0500, Ron Vachiyer wrote: To be clear, here is my scenario; I have 8000 user accounts, 40+Gigs of email on a 2.1.17 server. They all seem to be using .seen files stored in /var/lib/imap/user/u/user.seen files. The mailspool is in

Re: migration and seen flag

2012-01-05 Thread Andrew Morgan
On Thu, 5 Jan 2012, Ron Vachiyer wrote: I am to work on migrating a very (very) old install using 2.1.17. The seen information seems to be stored in a /var/lib/imap/user/xx/xxx/xxx.seen file. How can I migrate this seen info to a 2.4.13 install? I thought of using imapsync to move the