How to keep flags after move mailboxes to another server

From: Amy Jin (no email)
Date: Thu Jun 07 2007 - 17:34:53 EDT

  • Next message: Giuseppe Ravasio: "Re: Ghost emails"

    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
    

  • Next message: Giuseppe Ravasio: "Re: Ghost emails"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD