Recovering a mailbox
Johan de Vries
johan_de_vries at bravilor.com
Tue Sep 24 03:34:49 EDT 2002
Oke, some progress is made
I stopped the Imap daemon
Then restored all files in the /var/spool/imap/user/aajv/DMPH dir
Then start the daemon again
Now i can see all emails
But only the headers
When i want to see a email i get the notice: Message not available on the
server
Any suggestions ?
>
>
> HI !
>
> I think, cyrus is holding a sort of caching-DB for
> the mails in the different folders.
> I think, this is the problem, the Caching-Entries
> in the DB are missing....but a recovery should re-create
> them...Hmm...Funny...not really :-)
>
> Bye
> Frank
>
>
> > No success so far
> >
> > I deleted the mailbox
> > Created a new using cyradm cm
> > Checked if it was there using cyradm lm
> > I tried a restore and then leaving the cyrus.* files
> original, and one
> with
> > a overwrite of all files in the /var/spool/imap/user/aajv/DMPH dir
> > All files are set to cyrus/mail and then a reconstruct -rf user.aajv
> > In both situations the mailbox shows up on the client, but
> it is empty
> > If i do a du -ch /var/spool/imap/user/aajv it says the
> box is 5.9M
> >
> > Funny ?
> > Not really
> >
> > Johan
> >
> >
> > > Hi ,
> > >
> > > Sounds kind of strange to me since if the user deleted the
> > > mailbox the
> > > entry should also be gone in the mailboxes.db ...
> > >
> > > I would try the following:
> > >
> > > use cyradm>
> > >
> > > lm user.aajv.DMPH to see if the mbox exists according to the
> > > mailboxes DB.
> > > If it doesn't you can so cm user.aajv.DMPH and assign the
> > > user necessary
> > > permissions on this mailbox.
> > > Than you can run the reconstruct and all mail should be
> there , ...
> > >
> > > If the mailbox does already exist you can do a dm
> user.aajv.DMPH and
> > > after that you can skip to step one to recreate the mailbox
> > > and run the
> > > reconstruct.
> > >
> > > Regards,
> > > Tijl
> > >
> > >
> > >
> > > Johan de Vries wrote:
> > >
> > > >Hi all
> > > >
> > > >I had a quick look though the archives, but couldn't find an
> > > answer for my
> > > >question
> > > >
> > > >One of my users deleted a folder with his mailclient
> > > (Outlook Express)
> > > >I restored this folder ( /var/spool/imap/user/aajv/DMPH)
> > > >All file permissions are set back to : owner=cyrus group=mail
> > > >Then i used the command: reconstruct -rf user.aajv
> > > >
> > > >In Outlook express the folder didn't show on the list at first
> > > >After a "reset list" the folder came up
> > > >
> > > >At this moment the folder is on the list, but there are no
> > > emails according
> > > >to Outlook express
> > > >When i look at the folder on the server the mail is there
> > > >
> > > >Any suggestions how to show the emails again?
> > > >
> > > >Regards
> > > >Johan
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
>
>
>
More information about the Info-cyrus
mailing list