Install Zimbra MTA 8 on CentOS 6.5


Just a copy from http://scrble.net/install-zimbra-mta-8-on-centos-6-5/

Make sure no mail server and http server is running. Otherwise stop them and disable or uninstall them.

Make sure SELINUX is disabled. By default it is disabled on CentOS 6.5. To confirm it, check using getforce

$ getenforce
Disabled

$ cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

Stop and Disable Postfix and Iptables
$ service postfix stop
$ service ip6tables stop
$ service iptables stop

$ chkconfig postfix off
$ chkconfig ip6tables off
$ chkconfig iptables off

Make sure that domain name is set in correct format at /etc/hosts file. The format is:
ip_address server.domain.com server

Also set the hostname at /etc/sysconfig/network and also:
$ service network restart
$ hostname server.domain.com

Make sure you have proper MX record configured for your domain
# host -t mx server.domain.com
server.domain.com mail is handled by 10 server.domain.com.

Install the required packages:
$ yum install perl nc sysstat -y

Download the latest Zimbra MTA and extract it:
$ cd /opt/
$ wget http://files2.zimbra.com/downloads/8.0.6_GA/zcs-8.0.6_GA_5922.RHEL6_64.20131203103705.tgz
$ tar -zxvf zcs-8.0.6_GA_5922.RHEL6_64.20131203103705.tgz
$ cd zcs-8.0.6_GA_5922.RHEL6_64.20131203103705

Start the installation:
./install.sh --platform-override

Just accept all default:
Do you agree with the terms of the software license agreement? [N] Y
Do you agree with the terms of the software license agreement? [N] Y
Select the packages to install
Install zimbra-ldap [Y]
Install zimbra-logger [Y]
Install zimbra-mta [Y]
Install zimbra-snmp [Y]
Install zimbra-store [Y]
Install zimbra-apache [Y]
Install zimbra-spell [Y]
Install zimbra-memcached [N]
Install zimbra-proxy [N]

Give “Y” when it asked the following:
The system will be modified. Continue? [N] Y

Set the Admin password:
Password for admin@server.domain.com (min 6 characters): [_yTalZUL9OZ] password

Finally press ‘a’ to complete the installation.
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.26430]
Saving config in /opt/zimbra/config.26430...done.
The system will be modified - continue? [No] YES
Configuration complete - press return to exit

Switch user as zimbra
su - zimbra

Start Zimbra services:
$ zmcontrol start
Host server.domain.com
Starting zmconfigd...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.

Check Zimbra services status:
$ zmcontrol status
Host server.domain.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
opendkim Running
snmp Running
spell Running
stats Running
zmconfigd Running

You can check and manage through Zimbra Admin Control Panel at https://server.domain.com:7071 and client web-mail at https://server.domain.com

Install zimbra mta 8 on centos6.5_default

Install zimbra mta 8 on centos6.5_system_02

Zimbra