Hi, I have a discrete cyrus setup with two frontends, several backends and a single murder.
On the murder server I would like to dump out the mailboxes.db into a plain file, for doing sed/grep modifications then push it back. I'm facing with an inconsistence where the dump made on murder does not contains the backend's hostname. on murder : ctl_mboxlist -d |grep 'my own mailbox' illusion.hu!user.imre 1 common i...@illusion.hu lrswipkxtecda It tells me that is a remote (1) mailbox on partition common. But on which backend host? on backend: ctl_mboxlist -d illusion.hu!user.imre 0 common i...@illusion.hu lrswipkxtecda looks good, it's a local mailbox on common partition on frontend: ctl_mboxlist -d illusion.hu!user.imre 1 cyrus-common!common i...@illusion.hu lrswipkxtecda looks good, it's remote (1) on host 'cyrus-common' on partition 'common' On murder the mailboxes.db does contain the missing information. I converted to db file to flat, got this: illusion.hu!user.imre 1 cyrus-common!common i...@illusion.hu<FF><89>lrswipkxtecda<FF><89> On murder I'm using 2.5.10-3ubuntu1.1 version (ubuntu Bionic build) I digged into the code, imap/ctl_mboxlist.c +183: case DUMP: if (!d->partition || !strcmpsafe(d->partition, mbentry->partition)) { printf("%s\t%d ", mbentry->name, mbentry->mbtype); if (mbentry->server) printf("%s!", mbentry->server); printf("%s %s\n", mbentry->partition, mbentry->acl); if (d->purge) { mboxlist_delete(mbentry->name); } } how can the mbentry->server be empty in my case? The site is operational, it works fine in live, but after a dump/undump in murder all my clients started to complain about dissappeared mailboxes. That made evidence that the frontend configurated properly, using the murder's database as a master. This problem is serious for us: - one of our backend has destroyed, we need to purge the unused mailboxes from database - we want to change the hostname of a backend and want to avoid mailbox deletion after 'mupdate -m' - our mailboxes.db backup on murder is useless. Please give me advices how to handle this case. If any detailed information is needed I'm happy to send. ------------------------------------------ Cyrus: Devel Permalink: https://cyrus.topicbox.com/groups/devel/T211a174b49161d76-Mb0e9ceaa427f1664d36d30b0 Delivery options: https://cyrus.topicbox.com/groups/devel/subscription