Differences between version 41 and revision by previous author of CyrusNotes.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 41 | Last edited on Sunday, September 3, 2006 4:11:01 pm | by DavidHallett | Revert |
Older page: | version 40 | Last edited on Thursday, August 24, 2006 3:54:57 pm | by CraigBox | Revert |
@@ -101,9 +101,9 @@
----
!! Recovering from accidental deletion of mailspool dir
-If you have (stupidly - I did ths
!) deleted the cyrus spool directory for a mailbox, you will find you are unable to easily remove the mailbox from the db - cyrus will always think it exists. While I have no reason to believe this will harm anything, it is not a pleasant state to leave things in. I fixed it like this:
+If you have (stupidly - I did this
!) deleted the cyrus spool directory for a mailbox, you will find you are unable to easily remove the mailbox from the db - cyrus will always think it exists. While I have no reason to believe this will harm anything, it is not a pleasant state to leave things in. I fixed it like this:
# Copy an existing mailbox spool dir, being careful to preserve the permissions, and name it the same as the one you deleted.
# Su to the cyrus admin user (ie su cyrus)
# Run reconstruct -f nameofmailbox (eg /usr/lib/cyrus/bin/reconstruct -f user/mailbox@I.accidentally.trashed).