Re: Can't delete folders after migration to a new server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You've listed the version of Cyrus-SASL, not of Cyrus-IMAP.  cyrus-sasl v2.1.27 dates from late 2018, so it's not terribly old.  But we'd need to know the old and new version of cyrus-imap.

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_64

Old 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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux