A MailBox is a logical container for mail.
There are many different physical formats for MailBoxes, which typically use some variation on the following schemes:
There are, of course hybrid approaches, and, of course most of these approaches have various workarounds (indexing, offset tables, header cache files) to overcome the performance problems that they each suffer from. Alas, all of these workarounds and differing approaches tend to be application specific, which makes the vanilla formats more practical most of the time.
For a comparasion of several different schemes, have a read of http://www.washington.edu/imap/documentation/formats.txt.html, or for an even more subjective "discussion",
http://slashdot.org/article.pl?sid=01/01/27/0138202 ;)
7 pages link to MailBox:
lib/main.php:944: Notice: PageInfo: Cannot find action page