On 06/14/2016 12:36 AM, John Poltorak wrote:
> I have managed to obtain all the msgs as individual files. I'm not  sure
> of the mbox format, but hopefully I can create it... Isn't it just a
> concatenation of all the individual files as a single file? There's
> probably more to it, but hopefully it is doable without too much difficulty.


A .mbox is not quite the concatenation of the individual messages. I
have attached an excerpt of a .mbox file with two messages. The key is
that the first line of each message is a 'From_' separator that looks like

'From email@address date'

It begins literally with 'From ' and no other lines in the mbox begin
with these 5 characters - this is why you sometimes see lines in the
body of an email that begin 'From ' escaped by inserting '>' as in
'>From '. For the purposes of bin/arch, the actual contents after the
leading 'From ' are not important, but in general, there should be an
email address representing the envelope sender of the message and a date
in the format of the example. See, e.g.,
<https://en.wikipedia.org/wiki/Mbox>.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
From m...@msapiro.net  Wed Jun 19 14:35:45 2013
Return-Path: <m...@msapiro.net>
X-Original-To: li...@msapiro.net
Delivered-To: li...@msapiro.net
Received: by msapiro.net (Postfix, from userid 1000)
 id 918F54C0E07; Wed, 19 Jun 2013 14:35:45 -0700 (PDT)
Date: Wed, 19 Jun 2013 14:35:45 -0700
From: Mark Sapiro <msap...@ccsf.edu>
To: li...@msapiro.net
Message-ID: <20130619213545.ga3...@msapiro.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: [List1] Test 3
X-BeenThere: li...@msapiro.net
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <list1.msapiro.net>
List-Unsubscribe: <http://msapiro.net/mailman/options/list1>,
 <mailto:list1-requ...@msapiro.net?subject=unsubscribe>
List-Archive: <http://msapiro.net/pipermail/list1/>
List-Post: <mailto:li...@msapiro.net>
List-Help: <mailto:list1-requ...@msapiro.net?subject=help>
List-Subscribe: <http://msapiro.net/mailman/listinfo/list1>,
 <mailto:list1-requ...@msapiro.net?subject=subscribe>
X-List-Received-Date: Wed, 19 Jun 2013 21:35:45 -0000

Wow

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

From m...@msapiro.net  Wed Jun 19 14:36:25 2013
Return-Path: <m...@msapiro.net>
X-Original-To: li...@msapiro.net
Delivered-To: li...@msapiro.net
Received: by msapiro.net (Postfix, from userid 1000)
 id D095C4C0E07; Wed, 19 Jun 2013 14:36:25 -0700 (PDT)
Date: Wed, 19 Jun 2013 14:36:25 -0700
From: Mark Sapiro <msap...@ccsf.edu>
To: li...@msapiro.net
Message-ID: <20130619213625.gb3...@msapiro.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: [List1] Test4
X-BeenThere: li...@msapiro.net
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <list1.msapiro.net>
List-Unsubscribe: <http://msapiro.net/mailman/options/list1>,
 <mailto:list1-requ...@msapiro.net?subject=unsubscribe>
List-Archive: <http://msapiro.net/pipermail/list1/>
List-Post: <mailto:li...@msapiro.net>
List-Help: <mailto:list1-requ...@msapiro.net?subject=help>
List-Subscribe: <http://msapiro.net/mailman/listinfo/list1>,
 <mailto:list1-requ...@msapiro.net?subject=subscribe>
X-List-Received-Date: Wed, 19 Jun 2013 21:36:25 -0000

abcdef

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to