...

How to Install Zimbra Mail Server in Ubuntu 20.04|18.04|16.04

Learn how to install Zimbra Mail Server on Ubuntu 20.04, 18.04, or 16.04 with our comprehensive guide. Follow the step-by-step instructions and use the provided command for a successful installation.

Install Zimbra Mail

Table of Contents

Introduction :ย 

Discover how to install Zimbra Mail Server, a popular and robust email collaboration platform,
on Ubuntu 20.04, 18.04, or 16.04.
This guide provides detailed instructions to help you set up and configure Zimbra Mail Server for efficient email communication.

Table of Contents:

What is Zimbra Mail Server?
Advantages of Using Zimbra Mail Server
Prerequisites for Installing Zimbra Mail Server Ubuntu
SSH access to the server
Basic knowledge of the command-line interface (CLI)

Section 1: Installation of Zimbra Mail Server

ย 

Connect to your Ubuntu server via SSH
Download the Zimbra Mail Server installation package
Install Zimbra Mail Server using the provided command

Section 2: Zimbra Mail Server Configuration

ย 

Access the Zimbra administration console
Set up domain names and email accounts
Configure server settings and security features

Section 3: Key Features of Zimbra Mail Server

ย 

Web-based administration interface
Advanced email and collaboration capabilities
Robust security and anti-spam features
Mobile device synchronization
Integration with popular email clients

Section 4: Command for Installing Zimbra Mail Server

Execute the following command in the CLI:

  ======================================================================== 
FQDN Name                   DNS Record Type          Value
========================================================================
zimbra.edabosang.com              A                0.0.0.0.
edabosang.com                     MX               zimbra.edabosang.com  
  sudo apt update && sudo apt upgrade -y  
  sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.bak
sudo vim /etc/dnsmasq.conf
server=8.8.8.8
listen-address=127.0.0.1
domain=zimbra.edabosang.com  # Define domain
mx-host=zimbramx.edabosang.com
address=/zimbra.edabosang.com/192.168.0.103  
  sudo hostnamectl set-hostname zimbra.edabosang.com
exec bash  
  $ vim /etc/hosts
0.0.0.0   zimbra.edabosang.com  
  sudo systemctl restart dnsmasq  
  $ tar xvf zcs-8.8.15_GA_*.tgz  
  $ cd zcs*/  
  $ ./install.sh
Operations logged to /tmp/install.log.QUjypo01
Checking for existing installation...
zimbra-drive...NOT FOUND
zimbra-imapd...NOT FOUND
zimbra-patch...NOT FOUND
zimbra-mta-patch...NOT FOUND
zimbra-proxy-patch...NOT FOUND
zimbra-license-tools...NOT FOUND
zimbra-license-extension...NOT FOUND
zimbra-network-store...NOT FOUND
zimbra-network-modules-ng...NOT FOUND
zimbra-chat...NOT FOUND
zimbra-talk...NOT FOUND
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-dnscache...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-store...NOT FOUND
zimbra-apache...NOT FOUND
zimbra-spell...NOT FOUND
zimbra-convertd...NOT FOUND
zimbra-memcached...NOT FOUND
zimbra-proxy...NOT FOUND
zimbra-archiving...NOT FOUND
zimbra-core...NOT FOUND
----------------------------------------------------------------------
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
License Terms for this Zimbra Collaboration Suite Software:
https://www.zimbra.com/license/zimbra-public-eula-2-6.html
----------------------------------------------------------------------  
  Do you agree with the terms of the software license agreement? [N]Y  
  Use Zimbra's package repository [Y]Y
Warning: apt-key output should not be parsed (stdout is not a terminal)
Importing Zimbra GPG key
Configuring package repository
Checking for installable packages
Found zimbra-core (local)
Found zimbra-ldap (local)
Found zimbra-logger (local)
Found zimbra-mta (local)
Found zimbra-dnscache (local)
Found zimbra-snmp (local)
Found zimbra-store (local)
Found zimbra-apache (local)
Found zimbra-spell (local)
Found zimbra-memcached (repo)
Found zimbra-proxy (local)
Found zimbra-drive (repo)
Found zimbra-imapd (local)
Found zimbra-patch (repo)
Found zimbra-mta-patch (repo)
Found zimbra-proxy-patch (repo)  
  Install zimbra-ldap [Y] 
Install zimbra-logger [Y]
Install zimbra-mta [Y] 
Install zimbra-dnscache [Y] N
Install zimbra-snmp [Y]
Install zimbra-store [Y]
Install zimbra-apache [Y]
Install zimbra-spell [Y]
Install zimbra-memcached [Y]
Install zimbra-proxy [Y]
Install zimbra-drive [Y]
Install zimbra-imapd (BETA - for evaluation only) [N]
Install zimbra-chat [Y]
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-memcached
zimbra-proxy
zimbra-drive
zimbra-patch
zimbra-mta-patch
zimbra-proxy-patch
zimbra-chat  
  The system will be modified.  Continue? [N] Y

Beginning Installation - see /tmp/install.log.zfTL4GQK for details...
zimbra-core-components will be downloaded and installed.
zimbra-timezone-data will be installed.
zimbra-common-mbox-db will be installed.
zimbra-common-mbox-docs will be installed.
zimbra-common-core-jar will be installed.
zimbra-common-mbox-conf will be installed.
zimbra-common-mbox-conf-msgs will be installed.
zimbra-common-mbox-conf-attrs will be installed.
zimbra-common-mbox-native-lib will be installed.
zimbra-common-mbox-conf-rights will be installed.
zimbra-common-core-libs will be installed.
zimbra-core will be installed.
zimbra-ldap-components will be downloaded and installed.
zimbra-ldap will be installed.
zimbra-logger will be installed.
zimbra-mta-components will be downloaded and installed.
zimbra-mta will be installed.
zimbra-snmp-components will be downloaded and installed.
zimbra-snmp will be installed.
zimbra-store-components will be downloaded and installed.
zimbra-jetty-distribution will be downloaded and installed.
zimbra-mbox-war will be installed.
zimbra-mbox-conf will be installed.
zimbra-mbox-service will be installed.
zimbra-mbox-webclient-war will be installed.
zimbra-mbox-store-libs will be installed.
zimbra-mbox-admin-console-war will be installed.
zimbra-store will be installed.
zimbra-apache-components will be downloaded and installed.
zimbra-apache will be installed.
zimbra-spell-components will be downloaded and installed.
zimbra-spell will be installed.
zimbra-memcached will be downloaded and installed.
zimbra-proxy-components will be downloaded and installed.
zimbra-proxy will be installed.
zimbra-drive will be downloaded and installed (later).
zimbra-patch will be downloaded and installed (later).
zimbra-mta-patch will be downloaded and installed (later).
zimbra-proxy-patch will be downloaded and installed (later).
zimbra-chat will be downloaded and installed (later).  
  Downloading packages (10):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-snmp-components
zimbra-store-components
zimbra-jetty-distribution
zimbra-apache-components
zimbra-spell-components
zimbra-memcached
zimbra-proxy-components
...done
Removing /opt/zimbra
Removing zimbra crontab entry...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/security/limits.conf...done.
Finished removing Zimbra Collaboration Server.
Installing repo packages (10):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-snmp-components
zimbra-store-components
zimbra-jetty-distribution
zimbra-apache-components
zimbra-spell-components
zimbra-memcached
zimbra-proxy-components
...done
Installing local packages (25):
zimbra-timezone-data
zimbra-common-mbox-db
zimbra-common-mbox-docs
zimbra-common-core-jar
zimbra-common-mbox-conf
zimbra-common-mbox-conf-msgs
zimbra-common-mbox-conf-attrs
zimbra-common-mbox-native-lib
zimbra-common-mbox-conf-rights
zimbra-common-core-libs
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-mbox-war
zimbra-mbox-conf
zimbra-mbox-service
zimbra-mbox-webclient-war
zimbra-mbox-store-libs
zimbra-mbox-admin-console-war
zimbra-store
zimbra-apache
zimbra-spell
zimbra-proxy
...done
Installing extra packages (5):
zimbra-drive
zimbra-patch
zimbra-mta-patch
zimbra-proxy-patch
zimbra-chat
...done
Running Post Installation Configuration:
Operations logged to /tmp/zmsetup.20220514-205750.log
Installing LDAP configuration database...done.  
  Main menu
1) Common Configuration:
2) zimbra-ldap:                             Enabled
3) zimbra-logger:                           Enabled
4) zimbra-mta:                              Enabled
5) zimbra-snmp:                             Enabled
6) zimbra-store:                            Enabled
+Create Admin User:                    yes
+Admin user to create:                 admin@zimbra.edabosang.com
******* +Admin Password                        UNSET
+Anti-virus quarantine user:           virus-quarantine._wit6hnqbb@zimbra.edabosang.com
+Enable automated spam training:       yes
+Spam training user:                   spam.0ccahhh6ix@zimbra.edabosang.com
+Non-spam(Ham) training user:          ham._xiijxfgz5@zimbra.edabosang.com
+SMTP host:                            zimbra.edabosang.com
+Web server HTTP port:                 8080
+Web server HTTPS port:                8443
+Web server mode:                      https
+IMAP server port:                     7143
+IMAP server SSL port:                 7993
+POP server port:                      7110
+POP server SSL port:                  7995
+Use spell check server:               yes
+Spell server URL:                     http://zimbra.edabosang.com:7780/aspell.php
+Enable version update checks:         TRUE
+Enable version update notifications:  TRUE
+Version update notification email:    admin@zimbra.edabosang.com
+Version update source email:          admin@zimbra.edabosang.com
+Install mailstore (service webapp):   yes
+Install UI (zimbra,zimbraAdmin webapps): yes
7) zimbra-spell:                            Enabled
8) zimbra-proxy:                            Enabled
9) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items  (? - help) 6

Store configuration
1) Status:                                  Enabled
2) Create Admin User:                       yes
3) Admin user to create:                    admin@zimbra.edabosang.com
** 4) Admin Password                           UNSET
5) Anti-virus quarantine user:              virus-quarantine._wit6hnqbb@zimbra.edabosang.com
6) Enable automated spam training:          yes
7) Spam training user:                      spam.0ccahhh6ix@zimbra.edabosang.com
8) Non-spam(Ham) training user:             ham._xiijxfgz5@zimbra.edabosang.com
9) SMTP host:                               zimbra.edabosang.com
10) Web server HTTP port:                    8080
11) Web server HTTPS port:                   8443
12) Web server mode:                         https
13) IMAP server port:                        7143
14) IMAP server SSL port:                    7993
15) POP server port:                         7110
16) POP server SSL port:                     7995
17) Use spell check server:                  yes
18) Spell server URL:                        http://zimbra.edabosang.com:7780/aspell.php
19) Enable version update checks:            TRUE
20) Enable version update notifications:     TRUE
21) Version update notification email:       admin@zimbra.edabosang.com
22) Version update source email:             admin@zimbra.edabosang.com
23) Install mailstore (service webapp):      yes
24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 4

Password for admin@zimbra.edabosang.com (min 6 characters): [CQQfdsJ6u] myAdminSecurePassword
Store configuration
1) Status:                                  Enabled
2) Create Admin User:                       yes
3) Admin user to create:                    admin@zimbra.edabosang.com
4) Admin Password                           set
5) Anti-virus quarantine user:              virus-quarantine._wit6hnqbb@zimbra.edabosang.com
6) Enable automated spam training:          yes
7) Spam training user:                      spam.0ccahhh6ix@zimbra.edabosang.com
8) Non-spam(Ham) training user:             ham._xiijxfgz5@edabosang.com
9) SMTP host:                               zimbra.edabosang.com
10) Web server HTTP port:                    8080
11) Web server HTTPS port:                   8443
12) Web server mode:                         https
13) IMAP server port:                        7143
14) IMAP server SSL port:                    7993
15) POP server port:                         7110
16) POP server SSL port:                     7995
17) Use spell check server:                  yes
18) Spell server URL:                        https://edabosang.com:7780/aspell.php
19) Enable version update checks:            TRUE
20) Enable version update notifications:     TRUE
21) Version update notification email:       admin@zimbra.edabosang.com
22) Version update source email:             admin@zimbra.edabosang.com
23) Install mailstore (service webapp):      yes
24) Install UI (zimbra,zimbraAdmin webapps): yes
Main menu
1) Common Configuration:
2) zimbra-ldap:                             Enabled
3) zimbra-logger:                           Enabled
4) zimbra-mta:                              Enabled
5) zimbra-snmp:                             Enabled
6) zimbra-store:                            Enabled
7) zimbra-spell:                            Enabled
8) zimbra-proxy:                            Enabled
9) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
*** 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.28218]
Saving config in /opt/zimbra/config.28218...done.
The system will be modified - continue? [No] Yes  
  Installing common zimlets...
com_zimbra_email...done.
com_zimbra_tooltip...done.
com_zimbra_viewmail...done.
com_zimbra_url...done.
com_zimbra_ymemoticons...done.
com_zimbra_adminversioncheck...done.
com_zimbra_bulkprovision...done.
com_zimbra_proxy_config...done.
com_zimbra_srchhighlighter...done.
com_zimbra_attachmail...done.
com_zimbra_attachcontacts...done.
com_zextras_drive_open...done.
com_zextras_chat_open...done.
com_zimbra_date...done.
com_zimbra_clientuploader...done.
com_zimbra_phone...done.
com_zimbra_mailarchive...done.
com_zimbra_cert_manager...done.
com_zimbra_webex...done.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...done.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
The VERSION of zcs installed (8.8.15_GA_3869_UBUNTU18_64)
The ADMIN EMAIL ADDRESS created (admin@zimbra.edabosang.com)
Notify Zimbra of your installation? [Yes]
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.8.15_GA_3869_UBUNTU18_64&MAIL=admin@zimbra.edabosang.com
Checking if the NG started running...done.
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.20220514-205750.log to /opt/zimbra/log
Configuration complete - press return to exit  
  $ sudo su - zimbra -c "zmcontrol status"
Host zimbra.edabosang.com
amavis                  Running
antispam                Running
antivirus               Running
ldap                    Running
logger                  Running
mailbox                 Running
memcached               Running
mta                     Running
opendkim                Running
proxy                   Running
service webapp          Running
snmp                    Running
spell                   Running
stats                   Running
zimbra webapp           Running
zimbraAdmin webapp      Running
zimlet webapp           Running
zmconfigd               Running  

To access the Zimbra admin web interface, use the URL https://ServerIP/hostname: 7071

Login with your admin user and the password you set during installation.

Conclusion: By following this guide, you have successfully installed Zimbra Mail Server on your Ubuntu . Enjoy the feature-rich email collaboration platform and leverage its advanced capabilities for efficient communication and collaboration. Customize your server settings through the Zimbra administration console and explore the wide range of features provided by Zimbra Mail Server.

FAQs

Discover how to install Zimbra Mail Server, a popular and robust email collaboration platform, on Ubuntu 20.04, 18.04, or 16.04. This guide provides detailed instructions to help you set up and configure Zimbra Mail Server for efficient email communication.

Effective Warm-Up for Email Sending

To warm up your email sending, start with a small engaged batch of recipients. Gradually increase volume while monitoring metrics closely. Maintain engagement and adapt based on feedback to establish a positive sender reputation and improve deliverability.

Subscribe

Get Free Exclusive Tools, Tutorials, and Ideas That I Only Share With Email Subscribers?

Leave a Comment

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

Leave a Comment

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

Scroll to Top