Re: Corrupt mailbox

Eric Luyten <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Organization Vrije Universiteit Brussel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.