http://www.perlmonks.org?node_id=780009


in reply to Re^2: recommended storage format for email messages?
in thread recommended storage format for email messages?

Sounds like you just need to generate an index, then, with the starting line of each of the messages. If you kept it separate, then normal mbox-reading programs could use it, and you'd have your alternate way of skipping to messages.