Re: OT: Linux Help Needed - Message Archive

From: <Fred>
Date: Thu Jun 14 2007 - 16:52:00 EDT

Fred Hendrix
Engineer
Paulin Research Group
College Station, TX USA

The link in the original post references a PERL script that retrieves messages in Unix mbox format. You can execute the script with a PERL interpreter. A widely used interpreter on Windows is offered by ActiveState (http://www.activestate.com/store/freedownload.aspx? prdGuid=81fbce82-6bd5-49bc-a915-08d58c2648ca).

The important thing to keep in mind is that the mbox format is simply a text file with predefined header records (From, To, Subject, etc.) and 7 bit encoded binary files (file attachments). So, you can convert these into any format you want. You can verify this by opening the file in Notepad.

So, the basic procedure is listed below.

  1. Download the PERL script referenced in the original post.
  2. Download the intepreter installation script through the link given above (http://www.activestate.com).
  3. Run the interpreter installation script from step 2. Make sure that you add the interpreter to your PATH environment variable (offered at the end of the installation).
  4. Open a command prompt window.
  5. Navigate to folder where script downloaded in step 1 was stored.
  6. Enter the command listed below to download the PipingDesign archive into a mailbox file named "yahoo.mbx"...

       perl yahoo2mbox.pl --user=%username% -o yahoo.mbx PipingDesign

where %username% is your Yahoo login name. This will begin a long download process where the messages will be saved in a file named yahoo.mbx.

You can download ranges of messages by using the "--start" and "--end" options. Example of retrieving first 10 messages...

       perl yahoo2mbox.pl --user=%username% --start=1 --end=10 -o yahoo.mbx PipingDesign

   7) Once the script completes, you can open the yahoo.mbx file with pretty much any e-mail reader. For example, you can use "Tools | Import | Mail | Eudora" in Mozilla Thunderbird to import the messages into Mozilla. Mozilla Thunderbird can be downloaded from http://www.mozilla.com.

Alternatively, there are tools available for converting the mbox file into other formats...

   HTML -> http://sourceforge.net/projects/hypermail/    EML (Outlook Express) -> http://www.broobles.com/imapsize/index.php    XML -> http://software.techrepublic.com.com/download.aspx? docid=213298

Good luck. Please let me know if I need to clarify.

Respectfully,
Fred

Received on Thu Jun 14 16:52:00 2007

This archive was generated by hypermail 2.1.8 : Tue Mar 09 2010 - 00:21:19 EST