<code>cyrus ctl_mboxlist -d > filename</code>
'filename' will now be a text file listing the mailboxes. You can
directly edit this file. When you are done making changes to it you can
... re-import it with:
<code>cyrus ctl_mboxlist -u < filename</code>
You will want to move the mailboxes.db out of the way before importing
the text file:
<code>mv mailboxes.db mailboxes.db.bak</code>