Installation Notes for the Perfect Setup
Note: the MailArchiva Admin Guide contains the official email archiving installation instructions..
It is an excellent idea to install the MailArchiva email archiving on a 64 bit operating system. Here's why: OutOfMemory
Specifications
MailServer is running on Postfix v2.4.6.
MailArchiva will be installed on Ubuntu 6.06.1 LTS (Dapper Drake).
Emails will be retained for 5 years
Mailboxes: 1000
Est. archiving needs 7,2 million messages a year
Intel Dual-XEON, 2 GB RAM
index - 3 x 160 GB SCSI disks (RAID 5)
archive -Network Attached Storage Device (8 TB)
(see attached for sizing requirements)
OS Ubuntu Server
1. Install Ubuntu 6.06.1 LTS (Dapper Drake).
2. After installing the Ubuntu Server Operating System, install updates, ssh, smbfs and unzip:
a. apt-get update
b. apt-get install ssh
c. apt-get install smbfs
d. apt-get install unzip
3. Set IP address by editing /etc/networks/interfaces
a. iface eth0 inet static (was dhcp)
- address 192.14.12.112
ii. netmask 255.255.255.0
iii.gateway 192.14.12.1
4. Add DNS server information in /etc/resolv.conf
a. nameserver= 192.14.1.15
5. Mount archive by adding to /etc/fstab
a. smbfs
//192.14.12.122/archive mnt/archive smbfs username=admin,password=pw
b. nfs
192.14.12.122:/archive mnt/archive nfs
c. check by typing mount
MailArchiva
1. tar –xvzf mailarchiva-server-linux-v1.7.0j.tar.gz
2. cd mailarchiva_dist
3. ./installserver.sh
4. Edit /usr/local/mailarchiva/server/startserver.sh to increase the amount of RAM
allocated to the server:
export CATALINA_OPTS="-Xmx2048m -Xms256m -XX:PermSize=64M -XX:MaxPermSize=64M"
5. start the server as follows:
- /etc/init.d/mailarchiva start
6. ps -ef | grep java (to make sure its running)
7. In Firefox connect to
http://localhost:8090/mailarchiva, press enter at login prompt
8. Click Configuration, in Security tab, set an Encryption Password.
10. In Domains tab, add your domains.
11. In Logins tab, enter a master password.
12. in Volumes tab, create two volumes as follows:
i) add volume (index=/usr/local/mailarchiva/index1, store=mnt/archive/store1)
ii) add volume (index=/usr/local/mailarchiva/index2, store=mnt/archive/store2)
13. save Configuration
Postfix
1. Upgrade Postfix to v2.4.6.
2. Add the following to Postfix’s main.cf file:
milter_default_action = tempfail
smtpd_milters = inet:127.0.0.1:8092
3. Restart send mail
sudo /etc/init.d/postfix restart
--
TWikiGuest - 19 Dec 2007