Install Zimbra MTA 8 on CentOS 6.5

Just a copy from

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


# 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.
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.

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

Also set the hostname at /etc/sysconfig/network and also:
# service network restart
# hostname

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

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

Download the latest Zimbra MTA and extract it:
# cd /opt/
# wget
# 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:
# ./ –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 (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

        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

        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 and client web-mail at


  1. No comments yet.
(will not be published)


Fork me on GitHub