You'd need to review the release notes spanning from your old version to the new one to see what changes have been made which might require such interventions as database dump & restore.
However, reviewing your original email, you wrote (emphasis mine):
What I've checked:reconstruct -fGR -u lukaszolesiejuk(after deleting cyrus.* files recursevely)
The use of "-f" won't do what you expect if you've deleted "cyrus.* recursively." From the manual (emphasis mine),
-f Examine the filesystem underneath mailbox, adding
all directories
with a cyrus.header
found there as new mailboxes. Useful for
restoring mailboxes from backups.
If you've deleted cyrus.header, then 'reconstruct -f' won't consider
the directory a mailbox, and will ignore it. This would explain
your inability to delete old mailboxes.You can confirm whether or not the system recognizes these mailboxes with a dump of mailboxes.db, 'sudo <Cyrus binaries path>/ctl_mboxlist -d' and grep it for your mailbox of interest.
Cheers,
-nic
On 12/19/22 12:20,
lukasz@xxxxxxxxxxxxxx wrote:
On new server I've got:cyrus-sasl-2.1.27-6.el8_5.x86_64Old server is shutted down and it wont be easy to check old cyrus version... But it was deployed few years ago...Can I check is dump/restore needed? This is production environment...
-- Nic Bernstein nic@xxxxxxxxxxxxxxxx https://www.nicbernstein.com