On Sun, May 24, 2015 at 10:46:56AM +1000, Craig Sanders wrote:
- easiest way to search is to either download some of
the mbox files
and load them in your MUA (this is what i usually do for mailing list
archives),
btw, mailman pipermail archives aren't quite correct mbox format.
pipermail mangles both the date and sender address in the From_ line
(envelope sender) and the address in the From: header (changing "@"
to "at"). i usually run pipermail archives through the following perl
script (fix-pipermail.pl) before loading them into mutt:
#! /usr/bin/perl -ni.bak
use Date::Parse ;
use Date::Format ;
$template = "%a %b %d %R:%S %Y" ;
if (/(^From )(\S*) (.*)/) {
chomp;
s/ at /\@/;
s/ +/ /g;
($from,$address,$time) = split / /,$_,3;
$date = time2str($template, $time) ;
print "$from $address $time\n" ;
} elsif (/^From: /) {
# transform <foo at bar.com> to <foo(a)bar.com>
s/ at /\@/;
print ;
} else {
print ;
} ;
BTW, i wrote this script and it is hereby released to the public domain - it's
trivially obvious anyway and should not be subject to copyright.
craig