On 2026-05-11 12:53, quoth Per olof
Ljungmark:
The cyrus.annotations file is 76216 bytes, ALL others are 336 bytes.
That's a reasonable size. Is the error happening on the source system, or the destination system?
trying cyradm setinfo on the mailbox returns
etinfo: Unknown code ____ 255
Try run
cyr_dbtool /var/imap/annotations.db twoskip consistency
to check the database. Replace 'twoskip' with the correct database type for your configuration, and the path to the annotations.db file with the correct file for your configuration. You'll probably need to specify an absolute path for the database file. There's also a repack command for cyr_dbtool, which may help.
Can I just delete cyrus.annotations and recontruct?
You can, but you lose the annotations, so not ideal.
Alternatively, you can try upgrading in-place, which may be simpler. Obviously you don't want to test it on your live system, so test it first on a duplicate machine. I upgraded my system (about 60 users with some very large mailboxes) in-place and it worked fine for me, but that was some time ago. I went from 3.0 to 3.2 to 3.4 etc.
Mark
Disclaimer: http://www2.peralex.com/disclaimer.html
