Marco Gaiarin wrote:
I'm settin up a web archive of a some smartlist lists, and i wont setup archive divided into year and month, like debian does.
You may also be interested in this snipped:
# # Enable archiving on :0 c # http://www.infodrom.org/Mail-Archive/ | /usr/bin/hypermail -i -u -a ../../../ \ -l '<insert title here>' \ -d "/var/www/www.infodrom.org/Mail-Archive/$list/%y/%m"
which requires hypermail, if you only need yearly archives, remove one '../' from -a and remove '/%m' from -d.
This snipped has to be added to $RC_LOCAL_SUBMIT_20 (we're using a special rc.forward for this, though) -- or alternatively add a special mail address like thislist-archive@somehost.com to the dist file and hook the above hypermail-call to that address (useful when the list is to be archived on a different host than the web server is running on -- like what Debian does :)
Regards,
Joey