Re: Stuck mailboxes.db entries with mbtype=2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux