[Mailman-Users] Archive merge and search

Hal my_list_address at yahoo.no
Mon Nov 10 03:37:05 CET 2014


PS: I just noticed that I've previously replied directly to you, Mark, 
instead of the list (pressing "Reply" instead of "Reply list" in my 
email program). Sorry about that. This one should reach the list.


On 08/11/2014 04:51, Mark Sapiro wrote:
> On 11/07/2014 07:22 PM, Hal wrote:

> Instead of using a temp gfile made with mktemp and then removing it, you
> can just make something more permanent. e.g.
>
> cat mylist.* > total
> /usr/lib/mailman/bin/cleanarch < total > total_cleaned.

Thanks. Unfortunately cleanarch'ing didn't solve my issue.
I did some more research and found out that the MBOX format isn't 
standardized as there are 4 different variations around 
(http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/mail-mbox-formats.html). 
Confusing indeed. What's even stranger is that the Majordomo 
search-interface displays all of those same MBOXes without any issues.

Investigating the MBOX files in a text editor I found the problematic 
ones to have headers starting with ">From " (without the quotes) which 
the working ones didn't, so I removed all those lines from a couple of 
MBOX files, imported into the Mailman archives and all looked fine! 
Obviously I can't check every single posting, so does my discovery and 
solution sound feasible?


Hal


More information about the Mailman-Users mailing list