On Jun 17, 2013, at 13:01 PM, Mark Sapiro <m...@msapiro.net> wrote:

> On 06/17/2013 10:21 AM, Matthew Needham wrote:
>> 
>> Older.mbox contains 1512 messages, five of which contain unescaped lines 
>> starting with "From ". What's the best way to escape those lines and 
>> preserve archive order? Is it as simple as escaping the line and adding an 
>> empty "From " immediately after the containing message?
> 
> 
> Yes, that should do it.


It did work, but I noticed that cleanarch complained about the new lines. I was 
a little concerned that a future admin would notice the warnings and "fix" them 
in a way that broke the archives, so I inserted lines like this:

        From nob...@hdfgroup.org Thu May 31 00:00:00 2007
        Date: Thu May 31 00:00:00 2007

That placed the five empty messages at the very beginning of the archives where 
they're least likely to bother anyone. This is better than the previous 
location at the end of the archives, and much better than the previous problem 
with missing content after the unescaped From. With these changes, a fixed, 
reordered, and consolidated mbox, and a readme file to inform any future 
admins, I hope this problem won't return.


Thanks for all your help.


-- 

Matthew Needham

The HDF Group
1800 South Oak Street, Suite 203
Champaign, IL 61820
 
217-531-6110
mneed...@hdfgroup.org

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to