You can use `mbtool -r` to change the uniqueid of a mailbox, allowing you to fix this. Obviously this should never happen but maybe you restored mailboxes with the same "uniqueid" at some point in the past. Usage: mbtool [options] {-r|-t} mailbox...
Commands: -r create new unique IDs for specified mailboxes -t normalise internaldates in specified mailboxes Options: -C alt_config use alternate imapd.conf file Bron. On Thu, May 30, 2024, at 22:49, lode.mert...@axsguard.com wrote: > I asked the same question on the info list, but nobody seems to know the > answer. So hopefully a developer can give me some insights. > > When upgrading to version 3.8.1 we ran a reconstruct on all our mailboxes. > > This resulted in a few mailboxes with errors on standard out: > `Wrong uniqueid! user.xxxx.yyyy (should be user.xxxx.yyyy.zzzz)` > And in syslog: > `SYSLOG err reconstruct[24248] uniqueid clash with user.xxxx.yyyy - changed > user.xxxx.yyyy.zzzz (1a0fb7b061375d7a => 1a0fb7b061375d7a``)` > > We tried reconstruct with multiple flags: > reconstruct -I -x -M -u xxxx > reconstruct -G -I -rf -u xxxx > > But reconstruct doesn't seem able to fix the issue. > Is there a way to fix this issue? Because this stops us from running > "relocate_by_id" > > Creating a new mailbox and then copying over all mails and running > reconstruct seems to resolve the issue, but doing this on terabytes of data > will likely result in multiple days of downtime. > > > *Cyrus <https://cyrus.topicbox.com/latest>* / Devel / see discussions > <https://cyrus.topicbox.com/groups/devel> + participants > <https://cyrus.topicbox.com/groups/devel/members> + delivery options > <https://cyrus.topicbox.com/groups/devel/subscription> Permalink > <https://cyrus.topicbox.com/groups/devel/Tc0ed6ec2ac8bfb94-M511eb723a7e2f086e23ea434> -- Bron Gondwana, CEO, Fastmail Pty Ltd br...@fastmailteam.com ------------------------------------------ Cyrus: Devel Permalink: https://cyrus.topicbox.com/groups/devel/Tc0ed6ec2ac8bfb94-M3351cd65d972d3883c4ee92a Delivery options: https://cyrus.topicbox.com/groups/devel/subscription