Re: ctl_mboxlist -u doesn't seem to work (2.3)

From: Ken Murchison (no email)
Date: Tue Apr 04 2006 - 14:24:23 EDT

  • Next message: Ken Murchison: "Re: re-adding a folder"

    Patrick Radtke wrote:
    > I was testing getting a text dump using ctl_mboxlist -d and then
    > restoring using u.
    > It all seems to work until I connect and get errors. I'm doing this test
    > using a CVS version from March 30th. The machine is a frontend.
    >
    >
    >
    >
    > I do
    >
    > rphr2101 at hotdog:/var/cyrus/proc> /etc/init.d/cyrus stop
    > Stopping cyrusmaster: [ OK ]
    > rphr2101 at hotdog:/var/cyrus/proc> su cyrus -c "ctl_mboxlist -d > /tmp/mlist"
    > rphr2101 at hotdog:/var/cyrus/proc> mv /var/cyrus/mailboxes.db
    > /var/cyrus/mailboxes.bk
    > rphr2101 at hotdog:/var/cyrus/proc> su cyrus -c "ctl_mboxlist -u <
    > /tmp/mlist"
    >
    > when logging in I get
    >
    >
    > ---------- phr2101 Tue Apr 4 13:55:15 2006
    >
    > <1144173315<00000003 SELECT INBOX
    > >1144173315>00000003 NO Unknown/invalid partition
    > <1144173315<00000004 LOGOUT
    > >1144173315>* BYE LOGOUT received
    > 00000004 OK Completed
    >
    >
    >
    > prior to running the test, logging in would reveal
    >
    > ---------- phr2101 Tue Apr 4 13:46:57 2006
    >
    > <1144172817<00000003 SELECT INBOX
    > >1144172817>* FLAGS (\Answered \Flagged \Draft \Deleted \Seen NotJunk
    > Junk JunkRecorded $NotJunk $Junk $Forwarded)
    > * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen NotJunk
    > Junk JunkRecorded $NotJunk $Junk $Forwarded \*)]
    > * 2215 EXISTS
    > * 2 RECENT
    > * OK [UNSEEN 673]
    > * OK [UIDVALIDITY 1120243065]
    > * OK [UIDNEXT 40335]
    > 00000003 OK [READ-WRITE] Completed
    >
    >
    >
    > Like wise mbpath no longer works
    > cyrus at mockduck:/var/cyrus/log/phr2101> mbpath user.phr2101
    >
    > while before
    >
    > cyrus at mockduck:/etc/mail> mbpath user.phr2101
    > bratwurst.cc.columbia.edu!2
    >
    >
    >
    > here's what my entry looks like
    >
    > cyrus at mockduck:/var/cyrus/log/phr2101> grep user.phr2101 /tmp/mlist
    > user.phr2101 bratwurst.cc.columbia.edu!2 phr2101 lrswipcda
    >
    >
    > Shouldn't I be able to restore from a text file?

    Yes. Please add this to bugzilla and I'll look into it.

    -- 
    Kenneth Murchison
    Systems Programmer
    Project Cyrus Developer/Maintainer
    Carnegie Mellon University
    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Ken Murchison: "Re: re-adding a folder"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD