restoring old mail messages

Ken Murchison ken at oceana.com
Sat Mar 22 10:37:47 EST 2003



corner at chello.at wrote:
> 
> /usr/cyrus/bin/reconstruct /var/spool/imap/user/corner/Pumpkin/

reconstruct takes the name of a mailbox, NOT a directory.  Your command
should be:

reconstruct user.corner.Pumpkin

Also make sure that the message files are owned by the cyrus user.


> was one command I ran on a directory with the cyrus.* files deleted.  It seemed
> to do nothing.  No cyrus.* files were generated.  I just tried two directories
> experimentally to see if it would work.



> On 21-Mar-2003 Patrick Boutilier wrote:
> > What is the exact reconstruct command that you ran and did you run it as
> > the cyrus user?
> >
> >
> >
> > corner at chello.at wrote:
> >> Hi,
> >>
> >> I removed the cyrus.* files from two directories and ran reconstruct on them
> >> with no apparent results. The cyrus.* files were not rebuilt and the data is
> >> still inaccessible.  It may be related to the fact that I had previously
> >> inadvertently deleted the /var/imap/db and mailboxes files and had to
> >> reinitialize the whole data structure from scratch.  I had saved the message
> >> directories separately and had hoped I could reintroduce the old messages
> >> and
> >> run reconstruct to gain access to the previous data.  It doesn't work!
> >>
> >> Thanks I am still hoping for a miracle, but am afraid the old data is never
> >> to
> >> be accessible again.
> >>
> >> Tom Corner
> >>
> >> On 21-Mar-2003 Ken Murchison wrote:
> >>
> >>>corner at chello.at wrote:
> >>>
> >>>>Hello and thanks,
> >>>>
> >>>>I have tried the reconstruct program.  The problem is the header files
> >>>>cyrus.*
> >>>>are corrupt.  There are many messages in the mailboxes, but they don't show
> >>>>up
> >>>>in a mail client.  Reconstruct takes no time to execute and acts as if it
> >>>>is
> >>>>doing nothing.
> >>>
> >>>Remove the cyrus.* files and run reconstruct.
> >>>
> >>>
> >>>
> >>>>Thanks,
> >>>>
> >>>>Tom Corner
> >>>>
> >>>>On 21-Mar-2003 Simon Matter wrote:
> >>>>
> >>>>
> >>>>>corner at chello.at schrieb:
> >>>>>
> >>>>>
> >>>>>>I got into problems updating to 2.1.12. In the process I "lost" the
> >>>>>>maiailboxes
> >>>>>>and the db files.  The system no longer recognizes the old messages.  I
> >>>>>>saved a
> >>>>>>copy of the old messages and they are still in the active imap INBOX
> >>>>>>subfolders, but they can not be seen by user programs.  Is there any fix
> >>>>>>or
> >>>>>>work around for this problem?
> >>>>>
> >>>>>Search the cyrus-imapd docs. Keywords are 'reconstruct'...
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Thanks?
> >>>>>>
> >>>>>>Thomas Corner
> >>>>>>
> >>>>>>--
> >>>>>>---------------------------------------------------
> >>>>>>|\/\/\___/\/\/| Carol Anne Corner &
> >>>>>>\____ o o ____/ Thomas Corner corner at chello.at
> >>>>>>    )   (     20-Mar-2003 21:19:39  Vienna,  Austria
> >>>>>>   ( * * )   mailer: xfmail
> >>>>>>    \___/ Web Page: www.corner.chello.at
> >>>>>>---------------------------------------------------
> >>>>>
> >>>
> >>>
> >>>--
> >>>Kenneth Murchison     Oceana Matrix Ltd.
> >>>Software Engineer     21 Princeton Place
> >>>716-662-8973 x26      Orchard Park, NY 14127
> >>>--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
> >>>
> >>
> >>
> >
> 
> --
> ---------------------------------------------------
> |\/\/\___/\/\/| Carol Anne Corner &
> \____ o o ____/ Thomas Corner corner at chello.at
>      )   (     21-Mar-2003 23:59:18  Vienna,  Austria
>     ( * * )   mailer: xfmail
>      \___/ Web Page: www.corner.chello.at
> ---------------------------------------------------

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list