ctl_mboxlist -u doesn't seem to work (2.3)
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 [EMAIL PROTECTED]:/var/cyrus/proc /etc/init.d/cyrus stop Stopping cyrusmaster: [ OK ] [EMAIL PROTECTED]:/var/cyrus/proc su cyrus -c ctl_mboxlist -d /tmp/ mlist [EMAIL PROTECTED]:/var/cyrus/proc mv /var/cyrus/mailboxes.db /var/ cyrus/mailboxes.bk [EMAIL PROTECTED]:/var/cyrus/proc su cyrus -c ctl_mboxlist -u /tmp/ mlist when logging in I get -- phr2101 Tue Apr 4 13:55:15 2006 11441733150003 SELECT INBOX 11441733150003 NO Unknown/invalid partition 11441733150004 LOGOUT 1144173315* BYE LOGOUT received 0004 OK Completed prior to running the test, logging in would reveal -- phr2101 Tue Apr 4 13:46:57 2006 11441728170003 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] 0003 OK [READ-WRITE] Completed Like wise mbpath no longer works [EMAIL PROTECTED]:/var/cyrus/log/phr2101 mbpath user.phr2101 while before [EMAIL PROTECTED]:/etc/mail mbpath user.phr2101 bratwurst.cc.columbia.edu!2 here's what my entry looks like [EMAIL PROTECTED]:/var/cyrus/log/phr2101 grep user.phr2101 /tmp/mlist user.phr2101bratwurst.cc.columbia.edu!2 phr2101 lrswipcda Shouldn't I be able to restore from a text file? -Patrick 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
Re: ctl_mboxlist -u doesn't seem to work (2.3)
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 [EMAIL PROTECTED]:/var/cyrus/proc /etc/init.d/cyrus stop Stopping cyrusmaster: [ OK ] [EMAIL PROTECTED]:/var/cyrus/proc su cyrus -c ctl_mboxlist -d /tmp/mlist [EMAIL PROTECTED]:/var/cyrus/proc mv /var/cyrus/mailboxes.db /var/cyrus/mailboxes.bk [EMAIL PROTECTED]:/var/cyrus/proc su cyrus -c ctl_mboxlist -u /tmp/mlist when logging in I get -- phr2101 Tue Apr 4 13:55:15 2006 11441733150003 SELECT INBOX 11441733150003 NO Unknown/invalid partition 11441733150004 LOGOUT 1144173315* BYE LOGOUT received 0004 OK Completed prior to running the test, logging in would reveal -- phr2101 Tue Apr 4 13:46:57 2006 11441728170003 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] 0003 OK [READ-WRITE] Completed Like wise mbpath no longer works [EMAIL PROTECTED]:/var/cyrus/log/phr2101 mbpath user.phr2101 while before [EMAIL PROTECTED]:/etc/mail mbpath user.phr2101 bratwurst.cc.columbia.edu!2 here's what my entry looks like [EMAIL PROTECTED]:/var/cyrus/log/phr2101 grep user.phr2101 /tmp/mlist user.phr2101bratwurst.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