Lost mailbox ACLs (rewrite)
Troy Carpenter
troy at carpenter.cx
Mon Jul 14 04:39:54 CEST 2008
On Sunday 13 July 2008 09:09:42 pm troy at carpenter.cx wrote:
> I seemed to have foo-bar'ed one of the important sentences...here's a
> rewrite.
>
> Quoting Troy Carpenter <troy at carpenter.cx>:
>
> Something strange happened on my system overnight, and I don't know if my
> recovery actions may have caused this, but some of the mailboxes in users
> accounts are completely missing ACLs. Some inboxes were simply
> missing the ACL for the user, but I'm talking about ones that don't
> have any ACLs at all, so the cyrus admin user can't even add the user
> back in because that account isn't in the ACL either.
>
> The lm command lists the mailboxes, and they exist in the mailbox tree, but
> they don't show up in any clients, and like I said, the lam command comes
> back blank.
>
> If I try to reconstruct the mailboxes, I get the following:
>
> kolab-r at sol$ cyrreconstruct user/troy/Sent at carpenter.cx
> carpenter.cx!user.troy.Sent: Unknown/invalid partition
>
>
> Any ideas?
Ok, here's how I fixed it. I was still able to get the mailbox database via
the command "/kolab/bin/ctl_mboxlist -d > mailboxlist.txt". Then I edited
the file to correct the ACLs as necessary, then reloaded the file with the
opposite command "/kolab/bin/ctl_mboxlist -u < mailboxlist.txt". I basically
used the wiki page
http://wiki.kolab.org/index.php/Backups_for_kolab2#IMAP_store_recovery_.28cyrus.29
as a guide.
Troy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20080713/3125eb9c/attachment.sig>
More information about the users
mailing list