hypermail 2.1.8
Hi,
I've just installed mlmmj, and it's great!!!
Now, I'm trying to setup hypermail 2.1.8 but it seems to read only mbox files. How is possible to let it work with the separeted files created by mlmmj?
Any seggestions?
Thanks
Hi,
I've just installed mlmmj, and it's great!!!
Now, I'm trying to setup hypermail 2.1.8 but it seems to read only mbox files.
How is possible to let it work with the separeted files created by mlmmj?
Any seggestions?
Thanks
Quoted 2 lines · Fabrizio Gatti
Hi,
I've just installed mlmmj, and it's great!!!
Glad you like it.
Quoted 3 lines
Now, I'm trying to setup hypermail 2.1.8 but it seems to read only mbox files.
How is possible to let it work with the separeted files created by mlmmj?
Yeah, there's some options to use with hypermail.
-i : Read messages from standard input -u : Update archive by one article -d dir : The directory to save HTML files in
So you can do something like:
for singlemail in /path/to/listdir/archive* ;
hypermail -i -u -d /www/outputdir < $singlemail
done
Personally I save the index file from the listdir in a lastindex file everytime I update the archive. This way I only have to do it if there's new mails, and I only add the new ones. Something like this:
LASTINDEX=cat lastindex
NEWINDEX=cat /path/to/listdir/index
for IT in seq $LASTINDEX $NEWINDEX
hypermail -i -u -d /www/outputdir < /path/to/listdir/archive/$IT
done
echo $NEWINDEX > lastindex
It's not complete but you might get the idea.
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.