Stuck mailboxes.db entries with mbtype=2
Dave McMurtrie
dave64 at andrew.cmu.edu
Tue Aug 24 14:39:28 EDT 2010
On 08/24/2010 01:39 PM, Michael Bacon wrote:
> The mupdate server is fine -- it has the mailbox on the right server, on
> the right partition, with the right mbtype (1, i.e. remote mailbox). The
> backend server is the one with the messed-up mailboxes database. It has
> the mailbox, but it has it with mbtype=2, which is "reserved." Any
> attempt to delete, change, or select the mailbox results in the error
> message, "Mailbox is currently reserved."
Ahhhh, sorry. The only way I would know to fix this would be a
heavy-handed method as you already mentioned. Dump, fix and import, or
just use cyr_dbtool to edit the entry on the backend.
For example:
# cyr_dbtool /imap/conf/mailboxes.db skiplist get user.testuser3
2 u1 testuser3 lrswipkxtecda
# cyr_dbtool /imap/conf/mailboxes.db skiplist set user.testuser3 "0 u1
testuser3 lrswipkxtecda"
Set is in the form "<state> <location> <username> <acl>". Importantly,
the whitespace between the <username> and <acl> must be a tab character,
so ^V^I.
Sorry that I have nothing else to offer.
Dave
--
Dave McMurtrie, SPE
Email Systems Team Leader
Carnegie Mellon University,
Computing Services
More information about the Info-cyrus
mailing list