Stuck mailboxes.db entries with mbtype=2

Michael Bacon baconm at email.unc.edu
Tue Aug 24 16:53:53 EDT 2010


Thanks, I'd forgotten about cyr_dbtool.  That's considerably less intrusive 
than other things I'd considered.  A little sketchy, but not too bad...

Michael Bacon
ITS Messaging
UNC Chapel Hill

--On August 24, 2010 2:39:28 PM -0400 Dave McMurtrie 
<dave64 at andrew.cmu.edu> wrote:

> 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
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>






More information about the Info-cyrus mailing list