Re: Corrupt mailbox

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

 




On 03/03/2022 16:14, Pascal Gienger via Info wrote:
On 3/3/2022 8:18 AM, Paul van der Vlis wrote:
Hello,

One of the mailboxes in Cyrus is corrupt.

There are folders in it, which cannot be removed (named "Postvak in" and "Sent Messages") and Thunderbird keeps on going to download everything.

I have removed the folders server-side and did run a reconstruct:
/usr/lib/cyrus/bin/reconstruct -rfG "user.joost"
But the removed folders are re-created.

What to do to make this work fine again?

With regards,
Paul



There is always the "hammer on everything" model (as the mailboxes needing to be recreated are taken from the mailboxes.db):


ctl_mboxlist -d > mailboxes.txt

removing mailboxes from mailboxes.txt

ctl_mboxlist -u < mailboxes.txt




Trying the second command on a standby/testing system first, sure.



and execute a  'cp  /dev/null  mailboxes.db'  before the 'undump' or you will end up with (close to) double the number of entries in de database

(at least on 2.3)


Eric.






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




[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