On Thu, 7 Jun 2007, Amy Jin wrote: > Hi There, > > I'm running cyrus 2.2.12 on several servers . Recently, I need to move > mailboxes from one server > to another server because of storage shortage. > > I don't have a front-end Cyrus Aggregator, so I can't use cyradm command > "xfermailbox" to do it. > > I write a script to create mailbox and copy mail date to target server. > To avoid duplicated mailbox_id, > the cyrus.header file will not be copied to the target server. > After reconstruct the new mailbox. I loss all of the flags. The seen > flag is easy to handle, just replace the old > mailbox_id with the new id in user.seen file. But how can I keep the > other flags (e.g. important, work, personal, to do, later), > it seems they are in the cyrus.index file? 'imapsync' is really the tool you want to use for this. It will create an exact copy of a mailbox, including flags. Andy ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html