Linux serverNETWORK ADMINISTRATIONS

Zimbra 8.7 on CentOS 7 – Install And Configure Zimbra

Setting up Zimbra 8.7 on CentOS 7.

This is the 2nd video. We have done setting up local DNS to our server so our email can resolve locally without having to connect externally. This video will not cover yet on how to add external MTA and DNS.

The procedures on installing and configuring Zimbra on CentOS 7 are the following.

1: Install required packages by running ” yum -y install perl-core libaio unzip nmap-ncat sysstat openssh-clients”

2: Download the .tgz file from Zimbra https://www.zimbra.com/downloads/ . I have downloaded it already on my host machine and moved it to my VM server under /opt folder via scp command “scp /opt/zimbra.tgz file name root@192.168.124.32:/opt”

3: Access your /opt folder and extract the file by running “tar xvf zimbra.tgz filename

4: Double check that you’re resolv.conf file is resolving to localhost or 127.0.0.1 primarily.

5: By default, Postfix service is running on our system. Zimbra has a built in postfix MTA which we will be using. We need to disable and stop the Postfix service before we install Zimbra. Run the command “systemctl stop postfix” and “systemctl disable postfix”.

6: Access the extracted folder of Zimbra and run the command “./install.sh” to install the application.

7: Follow the procedures on the video on how to install Zimbra Packages. You can install the necessary packages depends on what you prefer.

8: When you get the prompt to change the domain of your FQDN, type in “YES” and enter your hostname. This will be the domain for every email address that you will make e.g. zimbracentos.lan, every email will use “@zimbracentos.lan” domain.

9: Set the password for Admin. And follow the screen procedures on saving the configuration. Wait for the installation to finish.

10: Once the installation is done, open your browser and access the IP address of your mail server. Type in https://IP Address. FirewallD is not installed by default in CentOS 7, if in case you have FirewallD installed, please follow the video on how to add rules for port 7071 and http, https services so you can access the web client.

11: Zimbra installation comes with dnscache. We will not be using this as we had locally installed our DNS. To remove the package, run “su – zimbra” to switch as Zimbra user then run the command “zmprov gs `zmhostname` -zimbraServiceInstalled dnscache -zimbraServiceEnabled dnscache”.

12: After removing the dnscache and adding rules to your Firewall, access the URL “https://IP Address:7071” to access the Admin Console.

13: Since the “self signed certificate” is already installed, you will be asked to confirm the exception before accessing the web Zimbra client. Just click on “Add Exception” so you can proceed on the login screen.

14: Login on the screen with the Admin password that you set.

15: Follow the video on how to create users on the server via Admin Console.

Hope these videos helped you on how to setup Zimbra for testing purposes. There are other configurations that we need to setup before you can send email outside of the network. This setup is a single node locally. I will do my best to update the series so we can test how to use Zimbra in sending external email.

Please leave some comments or constructive criticism so I can also improve my tutorials.

Don’t forget to subscribe.

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *