Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan |

This Blog is protected by Powered by Blogger.

How to install and configure zimbra multi server

In small system, to install zimbra All-in-one in single server mail .In medium and large system zimbra mail server, to install and configure multi server (the more ldap, mta , mailbox install in server separate). in this my post, the tutorial install and configure zimbra multi server and  use demo zimbra 8.6 Let's go!

The Script:

Zimbra ldap
Hostname: ldap.huuphan.local
ip address:

Zimbra MTA
Hostname: mta.huuphan.local
ip address:

Zimbra Mailbox
Hostname: mailbox.huuphan.local
ip address:

Zimbra Proxy
Hostname: proxy.huuphan.local
ip address:

The requirement zimbra mail server

*The DNS  mx records point to zimbra mail server to recive mail from internet. A records to resolve hostnames.
*Firewall allow to ports of zimbra or disable firewall the example use to iptable.
*Note: In this my post, using dns bind the external server for zimbra mail server. How To Install the BIND DNS Server on CentOS 6. 

To prepare for all servers ( ldap, mta, mailbox server )

To configrue ip address static.
#vim /etc/sysconfig/network-scripts/ifcfg-eth0
The output:
DNS= (ex: my dns)
To configrue /etc/resolv.conf file.
#vim /etc/resolv.conf
The output:
; generated by /sbin/dhclient-script
search huuphan.local
nameserver (IP address of DNS server)
To configrue /etc/sysconfig/network file.
#vim /etc/sysconfig/network
The output:
HOSTNAME=ldap (hostname of server. ex: ldap or mailbox)
To configure /etc/hosts file.
#vim /etc/hosts
The output: ns1.huuphan.local ns1 ldap.huuphan.local ldap mta.huuphan.local mta mailbox.huuphan.local mailbox proxy.huuphan.local proxy
To restart services and reboot server.
#service network restart

The first, installing the package for server all ( ldap, mta, mailbox)

To install the dependency.
#yum -y update
#yum -y install perl perl-core wget screen w3m elinks openssh-clients openssh-server unzip nmap sed nc sysstat libaio rsync telnet aspell ntp openssh-clients
Disable service sendmail, postfix or SELINUX.
#sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux
#setenforce 0
#service iptables stop
#service ip6tables stop
#chkconfig iptables off
#chkconfig ip6tables off
#service sendmail stop
#service postfix stop
#chkconfig sendmail off
#chkconfig postfix off
To configure NTP server for syn clock the zimbra server

# ntpdate
# date -u
# service ntpd start
# chkconfig ntpd on

*Note: Firewall allow to ports of zimbra or disable firewall the example use to iptable how to.

If you love website. Donate for us to work better!

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command |