ctl_mboxlist -u doesn't seem to work (2.3)
Patrick Radtke
phr2101 at columbia.edu
Tue Apr 4 14:09:58 EDT 2006
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?
-Patrick
More information about the Info-cyrus
mailing list