Recovering a corrupt mailboxes.db

Ramprasad A Padmanabhan ramprasad at
Mon Jul 14 08:45:38 EDT 2003

On Mon, 2003-07-14 at 16:55, Ken Murchison wrote:

> Ramprasad A Padmanabhan wrote:
> > On Sun, 2003-07-13 at 20:09, Patrick Welche wrote:
> > 
> >>/On Sat, Jul 12, 2003 at 06:03:54PM +0530, Ramprasad A Padmanabhan wrote:
> >>> Is it possible to reconstruct the mailboxes.db
> >>> 
> >>> I know I can use ctl_mboxlist and a file with all the mailboxes but
> >>> there seems to be no utility that create this file from the mail spool
> >>> directory
> >>
> >>Have a look at /usr/cyrus/bin/reconstruct (!)
> >>/
> >>
> > That Works only for files/mails within the inbox  and not for mails in 
> > sub folders
> Look at reconstruct -r -f

No Sir I did that but of no avail
Ultimately I had to dump the mailboxes.db and create the entries for the
missing folders by hand( I mean by emacs ) 
And upgrade the mailboxes,db again with ctl_mboxlist
This is a pain and I will sure hope it never happens again

Or else  I think I will write a simple perl script that will read all
directories and create those entries in the mailboxes.db dump file

Any comments


NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP
Fleximail: Mail Storage, Management and Relaying

Emergic Freedom: Linux-based Thin Client-Thick Server Computing

BlogStreet: Top Blogs, Neighborhoods, Search and Utilities

Rajesh Jain's Weblog on Technology:

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Info-cyrus mailing list