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

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

 




On 12/4/18 5:53 PM, Heiler Bemerguy via Info-cyrus wrote:
> 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@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@mailer:/var/spool/cyrus/mail/p/user/planejamento^funbosque# du -hs
> 570M    .
> 
> 


>From my experience (recently tested this on cyrus 3.0), quota info is
removed on deletion and you have to set it again after renaming back
from DELETED.

Cheers,
Javier.


----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




[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