Services > Archiving e-mail > Setting up in Linux

Setting up the e-mail archive in Linux

Make sure you have j2re installed. This can be obtained from http://java.sun.com. Here is one place on the Sun web site where you can get the software:

http://java.sun.com/products/archive/j2se/1.4.2_03/index.html

CIS recommends at least 1.4 or above.

Here is an example - add to your path as appropriate for the version of java you install. Note that in this case, the java path is for use with jre1.4.2_02.

put java in your path (.bash_profile)

PATH=$PATH:$HOME/bin:/usr/java/j2re1.4.2_02/bin

export PATH

source .bash_profile

cp emex.jar /usr/local/bin/

add the following line to .bashrc
alias emex="java -jar /usr/local/bin/emex.jar"

typing the command emex will bring up the program automatically.

$ which emex
alias emex='java -jar /usr/local/bin/emex.jar'
/usr/java/j2re1.4.2_02/bin/java

Proceed to the E-mail Archive Service requires LDAP authentication