[Mailman-Users] Cleaning up archive that aren't in mbox format?

Dennis Carr dennisthetiger at chez-vrolet.net
Wed Sep 5 18:05:19 CEST 2007


Mark Sapiro wrote:
> Dennis Carr wrote:
> 
>> My list server, as near as I can tell, does not appear to be parsing out
>>from mbox format.
>> (To backtrack, early last month, I had asked the list for help on
>> correctly parsing out the From information.  It is apparently doing this
>> correctly, as in putting the > in front of the From.)
> 
> 
> What are you looking at that has the properly escaped >From_?
> 
> 
>> Now, though, I have the 2007-July file that has the broken messages
>> still in here.
>>
>> In short, did I run the archiver correctly?  Or for that matter, where
>> should I be looking/running this file/whatever?
> 
> 
> You never answered the questions I asked (see
> <http://mail.python.org/pipermail/mailman-users/2007-August/058047.html>).

Oh, bugger all, sorry.  Python 2.4.4, and there is an email package in
pythonlib.

> However, there should be an archives/private/ffml.mbox/ffml.mbox file
> which contains all posts to the ffml list. Look at that file and see
> if the From_ line in the body of the Fri Jul 6 00:13:27 PDT 2007
> Happosai's Life of DOOM #6 post is escaped with a leading '>' or not.
> It should be.

It isn't named with .mbox, but it is the single file with all the
messages.  What I'm looking at are the messages, but in some cases you
get the following:

>From bogus at does.not.exist.com  Fri Jul  6 00:11:24 2007
From: bogus at does.not.exist.com ()
Date: Fri, 06 Jul 2007 07:11:24 -0000
Subject: No subject
Message-ID: <mailman.0.1183706323.27573.ffml at chez-vrolet.net>

...between parts of the entry, with one line of the message omitted and
replaced with the above.


> 
> If it is and if
> 
> bin/cleanarch -n < archives/private/ffml.mbox/ffml.mbox
> 
> doesn't report any problems, then
> 
> bin/arch --wipe ffml
> 
> should rebuild the archive.

I'll give that a whirl and see what happens, thanks Mark.	

-Dennis



More information about the Mailman-Users mailing list