If you have a mailserver, it may have mailinglists setup for your users/customers internal communication. Some of them/milis' owner/you may want to archive emails sent to mailinglists rather than each users keep the same email copy on their Email Client. (Ms. Outlook has data file limitation about 2GB you know - once as Technical Support I must the datafile with new one if it near 2GB)
I am using QMailToaster (QMT-ISO) as mailserver, the developers and members are very very helpfull (hello there Jake, Erik, Nick, AM, dnk, Jean-Paul and others...). With ezmlm as mailinglist manager, it has ezmlm-cgi to maintain the archive. But for me, it seems difficult and the interface not user-friendly. Yet there are many mailarchiving on the internet but finally I chose MhonArc (they said MailArchive is using it) and mharc. Once I asked Jake to include MhonArc install script on QMT-ISO, but his script is to plain simple
mharc installation itself very easy and explained straightforward on mharc's Installation instructions, so as my contribution back to community, I wrote install-mailarchive.sh script to ease installation. It's not an automatic installation script but rather a interactive script, this script need you to type-in some values. By default mharc only support MBOX format to read mail on MTA/MUA (qmailtoaster user Maildir format) but luckily Ben has create a patch to enable read Maildir format.
Enough talk lets start the installation...
Although install-mailarchive.sh was prepared for installation on QMailToaster or QMT-ISO box but it also can be installed on other linux flavor (especially on RPM based distro). Just make sure perl and make installed and available because mharc require it, on QMailToaster and QMT-ISO they are. Before you run the script make sure to edit it and update the variables the get the latest packages installed on your machine. At the time I made the script, I am using the latest version.
MHONARC_SITE=http://www.mhonarc.org/release/MHonArc/tar/ MHONARC_FILE=MHonArc-2.6.16-1.noarch.rpm # Please check the above site for latest version NAMAZU_SITE=http://www.namazu.org/stable/ NAMAZU_VER=namazu-2.0.17 # Please check the above site for latest version NAMAZU_FILE=$NAMAZU_VER.tar.gz MHARC_SITE=http://www.mhonarc.org/release/mharc/tar/ MHARC_VER=mharc-0.7.3 # Please check the above site for latest version MHARC_FILE=$MHARC_VER.tar.gz QMTISO="1" # this script should run properly on QMT-ISO # if you are not using QMT-ISO but using QMailToaster # change it to 0 TMPFOLDER="mailarchivefiles"
Install how to: # wget http://am3n.profusehost.net/files/install-mailarchive.sh # chmod +x install-mailarchive.sh # vi install-mailarchive.sh # ./install-mailarchive.sh
If you found any error or bug or you update/add some features please let me know at pakogah@pala.bo-tak.info
