Re: Mailbox inaccessible after setaclmailbox with invalid identifier

Bron Gondwana <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <1527544507.793554.1388387560.3D16A3B7@webmail.messagingengine.com>
If you use cyr_dbtool you can edit the offending line in mailboxes db.

Clearly there's a bug here too, we should be sanitising group names! Or
at least storing them in a reversible format

On Tue, May 29, 2018, at 00:33, Sven Schwedas wrote:
> After running `setaclmailbox some/mailbox "group:name with
> spaces" all`,> all attempts to access the mailbox in any way either result in an
> "Invalid identifier" error message, or can't even find the mailbox.
> 
> deleteaclmailbox with exactly the same parameters as set doesn't help> (same "invalid identifier" error); cyrreconstruct doesn't even
> find the> mailbox. Deliveries are deferred as well.
> 
> Any ideas how I can recover the mailbox without rolling back the whole> server to an older backup?
> 
> (Cyrus 2.5.10 on Debian stretch, if that matters.)
> 
> --
> Mit freundlichen Grüßen, / Best Regards,
> Sven Schwedas, Systemadministrator
> ✉ [email protected] | ☎ +43 680 301 7167
> TAO Digital   | Teil der TAO Beratungs- & Management GmbH
> Lendplatz 45  | FN 213999f/Klagenfurt, FB-Gericht Villach
> A8020 Graz    | https://www.tao-digital.at
> 
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> Email had 1 attachment:


>  * signature.asc 1k (application/pgp-signature)
--
  Bron Gondwana, CEO, FastMail Pty Ltd
  [email protected]

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.