On Mon, 22 Apr 2002 17:33:07 -0700 (PDT) Steve Florkey <[EMAIL PROTECTED]> wrote:

SF> Oops!  I broke the MBX mail folder for my most active Linux
SF> Users Group.  I looked briefly for the RFC for MBX to try to
SF> fix it, but couldn't find it.

Date: Wed, 17 Oct 2001 13:45:23 -0700 (PDT)
From: Andrew Daviel <[EMAIL PROTECTED]>
Subject: MBX repair tool
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>


We recently had a 20Mb MBX mailbox go bad, and I thought I 
would be able to fix it fairly quickly, convert it to Unix and back or 
something. It wasn't quite that easy. I ended up writing a repair script
in Perl which is able to repair the list in 2 passes by finding the 
message lengths and rewriting the links. It will also rebuild
the UIDs, though I see that mbxcvt is happy to do that.
I just look for string matches with Perl regex, so a valid header
in a message body would throw it.

As so often happens, I thought I was writing a "quick" script and 
didn't go look to see if it had already been done, but having written it I 
thought I might as well make it available.

ftp://andrew.triumf.ca/pub/mbxfix or http://andrew.triumf.ca/pub/mbxfix



_______________________________________________
Mahogany-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-users

Reply via email to