[Mailman-Users] broken mbox files: No blank lines before "From"

Bastian Friedrich bastian at bastian-friedrich.de
Sun Jan 22 15:18:49 CET 2006


Hi,

I've been browsing the archives, bug lists and google for a while but 
was unable to find a solution for my problem, so I'm asking here.

The mbox archive of one of my lists (~ 15.000 mails in 2 years) is a 
little broken:  In approx. 5% (guessed) of the cases, two mails are not 
correctly separated by a blank line, i.e. the "From " header of the 
latter email is directly under the last (non-empty) line of the 
preceding letter. This results in some problems:

1) I am in the process of converting the mbox file to a different format 
- this will not work with broken mbox files like this.
2) List archives are not correctly rebuilt by "~mailman/bin/arch"

Do you know how this problem occurs? Should I report this to mailman's 
bug tracker?

Do you have any idea how to fix the problem? I'd be happy to hack a 
newline in all necessary places - but the box is a little big...

Do you have any knowledge of some "fix-my-mbox-program" that does the 
job? Can anyone help me with a perl one-liner or sth?

Thx,
   Bastian

-- 
 Bastian Friedrich                  bastian at bastian-friedrich.de
 Adress & Fon available on my HP   http://www.bastian-friedrich.de/
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
\ A chicken is an egg's way of producing more eggs.




More information about the Mailman-Users mailing list