How to keep flags after move mailboxes to another server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

Thanks.

-- 
Amy Jin, Systems Analyst
System Services, University of Calgary Information Technologies
2500 University Drive, Calgary, Alberta, Canada T2N 1N4
Phone (403) 220-8997, Fax (403) 282-9361 

----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux