Solved

Eudora, Netscape, Microsoft - mailbox formats

Posted on 1997-09-26
14
250 Views
Last Modified: 2013-12-29
Can anyone give me a description of the file formats for the mail boxes used by a) Eudora  b) Netscape messenger c) MS Internet mail?

If anyone has a complete answer I will raise the points to 250.
0
Comment
Question by:Chrrris
  • 6
  • 3
  • 2
  • +3
14 Comments
 
LVL 25

Expert Comment

by:dew_associates
ID: 1697344
Chris: Is this a test?  Your question is kind of broad, what do you mean by file format description, what do you want to know?
0
 
LVL 1

Author Comment

by:Chrrris
ID: 1697345
No, it's not a test. I need to know how the abovementioned mailbox files are built up. I.e. what are the various fields in them? I need to read the following information:

For inboxes:

1. Sender's full name
2. Sender's email address  
3. Message ID
4. Email address it was received at
5. Date
6. Subject
7. Body

Four outboxes:

1. Receiver's full name
2. Receiver's email address  
3. Message ID
4. Email address it was sent from
5. Date
6. Subject
7. Body

I realise that this question may seem rather odd, but there must be an answer for it. I suppose I just want general ideas on how to do this, and maybe I shouldn't have posted it in this group.

Well, did you get a clearer picture of what I need now?

Chris.
0
 
LVL 14

Expert Comment

by:smeebud
ID: 1697346
I'm not sure you're in the wrong group, just still a little vague on you objective.
there are utilities for converting one format to another.
Is that what your after?
0
 
LVL 3

Expert Comment

by:stratari
ID: 1697347
That's not an answer to your question.
The Eudora and Netscape file formats are simillar. It's just the extension Eudora adds that differs. If you rename an Eudora mailbox cutting off completely the extension, you will end up with a mailbox that Netscape can read (and vice versa)
This can narrow your question to two formats (NS and ME)
0
 
LVL 1

Author Comment

by:Chrrris
ID: 1697348
smeebud, I need to have the conversion functionality built into a piece of software that I am developing. For copyright reasons I need to write that code myself! That's why I am asking about the formats.

stratari, your comment was part of the answer! Keep up the good work.
0
 
LVL 25

Expert Comment

by:dew_associates
ID: 1697349
Okie Dokie Smeebud, this one's all yours guy, right up your alley!
0
 

Expert Comment

by:Data21
ID: 1697350
Couldn't you just ask Microsoft, Netscape, and Qualcomm about this?
0
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
LVL 1

Author Comment

by:Chrrris
ID: 1697351
Well, I chose to come here for help instead. I am sure I will learn more, and get a faster answer this way!


0
 
LVL 3

Accepted Solution

by:
gwalters earned 200 total points
ID: 1697352
It's RFC-822, Unix mailbox format:

"From " at the beginning of a line is a message delimiter (after the first message you can search for "\nFrom " for subsequent messages).


Sender's name and email address--found in the From: line.  There are two generally accepted formats here:
  real name <email address>
  email address (real name)

Message ID--found in the Message-ID: line.

Recipient--found in To: or Cc: line.  

Date--found in Date: line

Subject--found in Subject: line

Body--starts after first blank line.  Ends at first "\nFrom ".   Note that if "\nFrom " is found in a message body, it is usually changed to "\n>From ".  It's a mail reader's responsibility to change it back before display.


0
 
LVL 1

Author Comment

by:Chrrris
ID: 1697353
Thanks gwalter! Your answer seems quite reasonable. I will get back to you with the marks once I tried it out.

By the way, are all three of the above mailclients using the RFC-822 format?
0
 
LVL 3

Expert Comment

by:gwalters
ID: 1697354
Yes and no:

Netscape and Eudora -- YES

Microsoft -- NO (big surprise there).

Microsoft is not too far from RFC-822.  It doesn't have the "\nFrom " delimiter, but the other headers are there (mainly because they're put there by SMTP before the note ever gets there).

If you need to process Microsoft, too, you'll have to decode their index file format.  For example, the inbox is represented by "Inbox.mbx" and "Inbox.idx".  The *.mbx files are the mailboxes themselves, and the *.idx files are indexes into them for individual messages, since there are no message delimiters.

I'll decode the index file for the 250 points you promised ;)


0
 
LVL 1

Author Comment

by:Chrrris
ID: 1697355
Ok, points raised. Thanks for great help, gwalters!
0
 
LVL 1

Author Comment

by:Chrrris
ID: 1697356
Oh, I ran out of points there. I will have to get some more before I raise to 250. Stay tuned...
0
 
LVL 3

Expert Comment

by:gwalters
ID: 1697357
Here's the Microsoft information:

You can ignore the idx file; all the info you need is in the mbx file.

Like I said before, everything works as it does in RFC-822 except for determining the beginning and end of messages, due to the lack of the proper delimiter.  Here's how the mbx file works:

It begins with an 84-byte header.  If a file begins with "JMF6", you can safely assume it's Microsoft, and not Netscape or Eudora.  Here's the header:
bytes 0-3: "JMF6"
      4-7: ??
      8-11: number of messages in file
      12-15: last used message number
      16-19: size of this file in bytes
      20-83: ??

Each message starts with a header (Microsoft's header, as opposed to RFC-822 header).
0-3: in hex: 007F007F (possibly not a guarantee of a delimiter,
     unlike "\nFrom ", so it's best to process each message).
4-7: message number
8-11: total size of message (including this header, message text,       and padding)
12-15: size of message that follows (just message text)
16-??: the message itself; number of bytes is found 12-15
??-??: between 0 and 3 bytes of zeros for padding, to make total
       message size multiple of four bytes.


All the four-byte integers above are least significant first.  In other words, a number from my inbox for the size of a message is as follows:
D5 07 00 00
which means 2005 in decimal.

Good luck!


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now