Re: Corrupt mailbox

Paul van der Vlis <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hello Pascal and others,

Op 03-03-2022 om 16:14 schreef Pascal Gienger via Info:
> 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 

That's what I like ;-)

> (as the mailboxes 
> needing to be recreated are taken from the mailboxes.db):
> 
> 
> ctl_mboxlist -d > mailboxes.txt

I found it here: /usr/lib/cyrus/bin/ctl_mboxlist
Interesting to see how many old stuff is there, all old users.

> removing mailboxes from mailboxes.txt
> 
> ctl_mboxlist -u < mailboxes.txt

Looks great, but..

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

Hmm, my testing system has a newer Cyrus version.

But I think I have removed them now with cyradm ;-)

sam "user.joost.Sent Messages" cyrus lrswipcda
dm "user.joost.Sent Messages"


With regards,
Paul

-- 
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T6bc96cdf11ab83bf-Mffabd245f2ad194f5bf88469
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.