This Perl script worked for me. It creates a new output file for each month in the mail archive.
while(<>) {
if (/^From /) {
$date = substr($_,-21); chop $date; $mon = substr($date,-4) . "-" . substr($date,0,3); if ($omon ne $mon) { open(OUT,">$mon") || die "open: $!\n"; $omon = $mon; print "$mon\n"; }
-- Charles Hall Total Sports Raleigh, NC USA http://info.totalsports.netReceived on Wed 26 Aug 1998 04:33:07 PM GMT
This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT