Re: Corrupt mailbox

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

 



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




[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