On Mon, Aug 23, 2021 at 3:51 PM Michael Menge <
[email protected]> wrote:

> Where do you see these two different mailboxes, both in cyradm?
> If you have seen it in the reconstruct error message, this is a "problem"
> of
> reconstruct using the "normal" and "internal" mailbox name in the same
> output.
>
> So if you see "[email protected]" in cyradm and
> user^foo@example^com in the filesystem
> or some error logs this is only one mailbox
>
> Yes, I only saw that in the reconstruct msg. The output of cyradm lm looks
> fine. The fact that I'd had unixhierarchysep different in each config
> caused me to believe that something else had gone wrong. Other than what it
> appears has gone wrong, i mean.
>
> If you have lost/did not copy the files from the configdirectory you
> are missing the mailboxes.db .
>

I do not have this.


> There used to by a "-m" option for reconstruct that would by very
> handy now but
>
> >
> > -m     NOTE: CURRENTLY UNAVAILABLE
> >
> >              Rebuild  the  mailboxes file.  Use whatever data in the
> existing
> >              mailboxes file it can scavenge, then scans all partitions
> listed
> >              in the imapd.conf(5) file for additional mailboxes.

Perhaps I could uninstall cyrus and reinstall with the latest version that
includes -m. I'd be grateful if someone can point me to any discussion
about both how this works or why it was removed.


> you are still using the "unixhierarchysep: yes" and it seems that you
> mailboxes.db has been
> "recreated" with only one mailbox using the wrong seperator regarding
> the seperator used by
> the filesystem.
>

Yes. I'd switched it to "no" and that was cleared up.


> > Oh, dear. Let's list the mailboxes:
> >
> > bally@server:~$ cyradm --user cyrus --server localhost
> > Password:
> > localhost> lm
> > [email protected] (\HasNoChildren)
>
> If you did not use acls, the mailboxes.db could be recreated from the
> files in the "partition-default:" directory, by hand but you are
> missing mailbox subscriptions, seen status (can't remember if this was
> still
> stored in "$configdirectory/users/$hash/*.seen" in cyrus 2.4"), and
> sieve scripts.
>

 The seen status is not crucial.


How many users/mailboxes do you have?

Only five.


> Also before you do anything else, stop cyrus, and check your old
> configuration and new configuration for any other changes  (e.g.
> hashimapspool:, fulldirhash:)
>

Both cyrus and postfix are disabled.

Both configs have hashimapspool: true

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T56fa392e69ba2632-Mb11ec839d1950d6727bacdcd
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to