HELP: Can't fix quota, it seems renamed-back mailbox doesn't exists at all

Heiler Bemerguy heiler.bemerguy at cinbesa.com.br
Tue Dec 4 11:53:37 EST 2018


Hail, this is a Cyrus 2.5.10-3 on Debian 9

A mailbox was accidentaly deleted, as the log shows:

Dec  4 11:56:42 localhost cyrus/imap[27354]: Rename: 
user.planejamento^funbosque -> DELETED.user.planejamento^funbosque.5C0695AA
Dec  4 11:56:42 localhost cyrus/imap[27354]: Deleted mailbox 
user.planejamento^funbosque
Dec  4 11:56:42 localhost cyrus/imap[27354]: Rename: 
user.planejamento^funbosque.Drafts -> 
DELETED.user.planejamento^funbosque.Drafts.5C0695AA
Dec  4 11:56:42 localhost cyrus/imap[27354]: Deleted mailbox 
user.planejamento^funbosque.Drafts
Dec  4 11:56:42 localhost cyrus/imap[27354]: Rename: 
user.planejamento^funbosque.Junk -> 
DELETED.user.planejamento^funbosque.Junk.5C0695AA
Dec  4 11:56:42 localhost cyrus/imap[27354]: Deleted mailbox 
user.planejamento^funbosque.Junk
Dec  4 11:56:42 localhost cyrus/imap[27354]: Rename: 
user.planejamento^funbosque.Sent -> 
DELETED.user.planejamento^funbosque.Sent.5C0695AA
Dec  4 11:56:42 localhost cyrus/imap[27354]: Deleted mailbox 
user.planejamento^funbosque.Sent
Dec  4 11:56:42 localhost cyrus/imap[27354]: Rename: 
user.planejamento^funbosque.Spam -> 
DELETED.user.planejamento^funbosque.Spam.5C0695AA
Dec  4 11:56:42 localhost cyrus/imap[27354]: Deleted mailbox 
user.planejamento^funbosque.Spam
Dec  4 11:56:42 localhost cyrus/imap[27354]: Rename: 
user.planejamento^funbosque.Trash -> 
DELETED.user.planejamento^funbosque.Trash.5C0695AA
Dec  4 11:56:42 localhost cyrus/imap[27354]: Deleted mailbox 
user.planejamento^funbosque.Trash

I renamed it back to try to recover it, manually with cyradm:

Dec  4 12:59:38 localhost cyrus/imap[39601]: Rename: 
DELETED.user.planejamento^funbosque.5C0695AA -> user.planejamento^funbosque
Dec  4 12:59:38 localhost cyrus/imap[39601]: Deleted mailbox 
DELETED.user.planejamento^funbosque.5C0695AA
Dec  4 13:02:03 localhost cyrus/imap[39601]: Rename: 
DELETED.user.planejamento^funbosque.Drafts.5C0695AA -> 
user.planejamento^funbosque.Drafts
Dec  4 13:02:03 localhost cyrus/imap[39601]: Deleted mailbox 
DELETED.user.planejamento^funbosque.Drafts.5C0695AA
Dec  4 13:02:27 localhost cyrus/imap[39601]: Rename: 
DELETED.user.planejamento^funbosque.Junk.5C0695AA -> 
user.planejamento^funbosque.Junk
Dec  4 13:02:27 localhost cyrus/imap[39601]: Deleted mailbox 
DELETED.user.planejamento^funbosque.Junk.5C0695AA
Dec  4 13:02:54 localhost cyrus/imap[39601]: Rename: 
DELETED.user.planejamento^funbosque.Sent.5C0695AA -> 
user.planejamento^funbosque.Sent
Dec  4 13:02:54 localhost cyrus/imap[39601]: Deleted mailbox 
DELETED.user.planejamento^funbosque.Sent.5C0695AA
Dec  4 13:03:20 localhost cyrus/imap[39601]: Rename: 
DELETED.user.planejamento^funbosque.Spam.5C0695AA -> 
user.planejamento^funbosque.Spam
Dec  4 13:03:20 localhost cyrus/imap[39601]: Deleted mailbox 
DELETED.user.planejamento^funbosque.Spam.5C0695AA
Dec  4 13:04:18 localhost cyrus/imap[39601]: Rename: 
DELETED.user.planejamento^funbosque.Trash.5C0695AA -> 
user.planejamento^funbosque.Trash
Dec  4 13:04:18 localhost cyrus/imap[39601]: Deleted mailbox 
DELETED.user.planejamento^funbosque.Trash.5C0695AA

All the files are there on the filesystem, but the quota usage isn't 
right. I've already tried

   cyrus reconstruct -r -f user/planejamento^funbosque
   cyrus quota -f user/planejamento^funbosque
   cyrus quota -f user/planejamento.funbosque

And a full "cyrus check" with no luck.. The command LQ simply shows 
nothing. Like this:

127.0.0.1> lq user/planejamento.funbosque

Any ideas?!

root at mailer:/var/spool/cyrus/mail/p/user/planejamento^funbosque# cat 
cyrus.header
Cyrus mailbox header
"The best thing about this system was that it had lots of goals."
         --Jim Morris on Andrew
         3e5650f459303706
$MDNSent $Forwarded
planejamento.funbosque  lrswipkxtecdan
root at mailer:/var/spool/cyrus/mail/p/user/planejamento^funbosque# du -hs
570M    .


-- 

Atenciosamente,

Heiler Bensimon Bemerguy - CINBESA
Analista de Redes, Wi-Fi,
Virtualização e Serviços Internet
(55) 91 98151-4894



More information about the Info-cyrus mailing list