How To Install Open Webmail

Posted by admin

Zimbra Collaboration Suite (ZCS) or commonly known as Zimbra Mail, is a collaborative software suite that includes an email server and a web client. It also includes contacts, file sharing, calendar, tasks, etc which can be easily accessed via webmail.Zimbra offers two editions, the commercially supported edition called ‘Network Edition’ & a free/open-source version called ‘Open Source Edition’, which is the focus of this tutorial. In this tutorial, we are going to discuss how to install Zimbra mail on CentOS & RHEL machines.Let’s start by discussing some requirements for Zimbra mail on CentOS,(Recommended Read: )(Also Read: Mail Command: ) Pre-requisites1- We need to have systems with freshly installed OS, minimal OS is recommended.

How To Log Into Webmail

We can also use a system with the pre-installed OS but make sure that we have web, database & mail services (Postfix, Sendmail) disabled.Even with freshly installed OS, we will have some of these services working, mainly POSTFIX. Installing greasemonkey scripts in chrome. Disable it,$ sudo systemctl stop postfix.

$ sudo systemctl disable postfix2- We will also need ‘A record’ & ‘MX record ‘ for our mail server in DNS, this is required to send & receive emails. We can also use a local DNS server for the same.If not have one already, refer to our article on “How to create a BIND Server” to create a local DNS server.3- Create a hostname entry for your server in ‘/etc/hosts’ file,$ sudo vim /etc/hosts192.168.1.120 testmail.linuxtechlab.com testmailwhere, ‘testmail.linuxtechlab.com’ is FQDN of the server & ‘testmail’ is the name of the server. InstallationBefore we can install Zimbra mail on Centos or RHEL system, we need to install dependency packages for ZCS. Install them using the following command,$ sudo yum install wget perl perl-core ntpl nmap sudo libidn gmp libaio libstdc unzip sysstat sqliteAfter these packages have been installed, we are now ready to download & install the latest version of Zimbra mail on CentOS and RHEL systems. At the time of writing this tutorial, 8.8.15 is the latest version available. Download it using the following command,For CentOS/RHEL 7 & 8, use the following command,$ wget https://files.zimbra.com/downloads/8.8.15GA/zcs-8.8.15GA3869.RHEL78004220.tgz. For CentOS & RHEL 6, use the following command to download the install script,$ wget downloaded file is a tar package, extract it$ tar -xzf zcs-8.8.15GA3869.RHEL78004220.tgzNext, enter into the extracted folder,$ cd zcs-8.8.15GA3869.RHEL78004220Now, we will start the installation script for the Zimbra mail,$./install.sh –platform-overrideNote:- ‘–platform-override’ option is used because the script is meant to run on Redhat but to install Zimbra mail on CentOS, we need to add that option.Once the script starts, we would be firstly required to accept the license.

Accept the license by pressing ‘Y’ key,& then will be asked if you would like to use ‘Zimbra Package repository’, press Y. Next, select the packages you need to install.

Webmail

We are selecting all packages for installation. The installation will then start, it will take some time to complete,Once the installation completes, you will get the following screen as output,Here we can change any configuration for our server if we find them wrong or just want to modify them.We will be changing password for admin user, change it by pressing ‘3’ key & provide the password.

Once changes have been made, apply all the configurations made by pressing ‘a’ key & Zimbra will than apply the configurations to the server.Next, save the configuration file by pressing ‘s’ key & quit from the menu by pressing ‘q’ key. Our Zimbra server on the CentOS system is now ready, start the Zimbra service,$ su – zimbra$ zmcontrol start& login to the Zimbra mail from a browser with the URL,the username ‘admin’ & password that we provided during installation,After logging in, we can then perform functions like add new accounts, install certificated, etc.

Install

Install RoundCube Webmail for Postfix Mail Server – Part 4Roundcube is one of such programs, and given its many features (which you can read more about in the project’s website) it is the one we have chosen to use in this tutorial. Check Roundcube Database TablesIn CentOS 7, you will need to create the database manually by either logging on to phpMyAdmin or via the command line.

For brevity, we will use the second proposed method here: # mysql -u root -pMariaDB (none) CREATE DATABASE RoundCubedb;Then exit the MariaDB prompt and run the following SQL script: # mysql -u root -p RoundCubedb. Config.inc.php $config'defaulthost' = 'ssl://mail.linuxnewz.com';$config'defaultport' = 143;$config'smtpserver' = 'tls://mail.linuxnewz.com';$config'smtpport' = 587;$config'smtpuser' = '%u';$config'smtppass' = '%p';$config'smtpauthtype' = 'LOGIN';These last two settings ( productname and useragent) refer to the header in the web interface and to the email headers sent with the messages.