mod_mbox is a mail archive browser. Having mail archives
to browse would be a good idea. For the following steps, we'll
assume that you have a directory (let's call it foo) with
your .mbox files. You must have a .mbox file per
month and each of them must be named in a YYYYMM.mbox
manner.
mod_mbox needs a static preprocessing of the archives
before being able to run. For that, we'll use the tool
mod-mbox-util that was compiled with the module itself at
build time :
mod-mbox-util -v -c foo/
Don't forget to run mod-mbox-util each time you
update your .mbox files !
If you haven't done so yet, you must move your archives to a
directory in your Apache's DocumentRoot (or create a
symbolic link to your directory in it) :
mkdir -p ~www-data/archives
mv foo/ $_
cp mod_mbox/docroot/* $_
chown -R www-data:www-data $_
You can host multiple mailing list archives with
mod_mbox, each stored in a separate directory. If you are
doing so, you should consider adding an index file, displaying a
list of all hosted archives.