MailArchiva

From SME Server
Jump to: navigation, search

MailArchiva for SME Server

PythonIcon.png Skill level: medium
The instructions on this page require a basic knowledge of linux.

Description

MailArchiva is a state-of-the-art email archiving system.

http://www.mailarchiva.com/

Enable SME maillog archiving following this FAQ:

http://wiki.contribs.org/SME_Server:Documentation:FAQ#Keep_a_copy_of_all_emails

Download MailArchiva

http://downloads.sourceforge.net/openmailarchiva

Installation without Tomcat

If you do not have Tomcat in your SME Server, follow these instructions.

tar -zxvf mailarchiva_opensource_edition_v1_7_9c_linux_32bit.tar.gz
cd ./mailarchiva_dist
./install.sh

SME Server specific config changes

config set mailarchiva service TCPPort 8090 access private status enabled
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99mailarchiva

Installation with Tomcat

If you already have Tomcat in your SME Server, follow these instructions.

service tomcat stop
tar -zxvf mailarchiva_opensource_edition_v1_7_9c_linux_32bit.tar.gz
cp -r mailarchiva_dist/mailarchiva/server/webapps/mailarchiva /opt/tomcat/webapps/mailarchiva
cp -r mailarchiva_dist/mailarchiva/server/endorsed /opt/tomcat/endorsed
chown -R tomcat.tomcat /opt/tomcat*
service tomcat start

Configure MailArchiva

Read and follow: mailarchiva_opensource_edition_v1_7_administration_guide.pdf

http://yourserver:8090/mailarchiva

or Tomcat port.

Step 1: Create a Volume and enter your Email Encryption Password
Step 2: Add your Domains
Step 3: Add a Journal Account Connection, username = maillog, test the connection

MailArchiva should now be ready and working.