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

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

Reply via email to