{"id":2924,"date":"2019-05-12T16:34:28","date_gmt":"2019-05-12T13:34:28","guid":{"rendered":"https:\/\/kifarunix.com\/?p=2924"},"modified":"2024-03-11T22:53:02","modified_gmt":"2024-03-11T19:53:02","slug":"install-zimbra-mail-server-on-fedora30-29-centos-7","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-zimbra-mail-server-on-fedora30-29-centos-7\/","title":{"rendered":"Install Zimbra Mail Server on Fedora30\/29\/CentOS 7"},"content":{"rendered":"\n<p>In this guide, we are going to learn how to install Zimbra Mail Server on Fedora30\/29\/CentOS 7. <a aria-label=\"Zimbra (opens in a new tab)\" href=\"https:\/\/www.zimbra.com\/open-source-email-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Zimbra<\/a> is an enterprise-class email, calendar and collaboration solution. Zimbra Collaboration Suite includes the Zimbra MTA, the Zimbra&nbsp;LDAP server and the Zimbra mailbox server. It comes in two editions, the free opensource edition and the paid network edition. This guide focuses on the opensource edition.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#installing-zimbra-mail-server-on-fedora-cent-os\">Installing Zimbra Mail Server on Fedora|CentOS<\/a><ul><li><a href=\"#prerequisites\">Prerequisites<\/a><\/li><li><a href=\"#install-required-packages\">Install Required Packages<\/a><\/li><li><a href=\"#download-the-zimbra-collaboaration-suite-tarball\">Download the Zimbra Collaboaration Suite tarball<\/a><ul><li><a href=\"#extract-zimbra-tarball\">Extract Zimbra Tarball<\/a><\/li><\/ul><\/li><li><a href=\"#installing-zimbra-on-fedora-30-29-cent-os-7\">Installing Zimbra on Fedora 30\/29\/CentOS 7<\/a><\/li><li><a href=\"#access-zimbra-web-ui\">Access Zimbra Web UI<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-zimbra-mail-server-on-fedora-cent-os\">Installing Zimbra Mail Server on Fedora|CentOS<\/h2>\n\n\n\n<p>This guide focuses on the single server installation of the opensource edition of Zimbra mail server, incorporating all the three components in a single server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"prerequisites\">Prerequisites<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Clean installation of Fedora 30\/CentOS 7 server with no HTTP, MAIL, DNS, Databases or LDAP services running.<\/li>\n\n\n\n<li>Valid A and MX DNS records for your Zimbra mail server.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dig A zimbra.domain.com<br>...<br>;; ANSWER SECTION:<br><strong> zimbra.domain.com.    300 IN  A   &lt;zimbra-server-IP&gt;<\/strong><br>...<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dig MX domain.com<br>...<br>;; ANSWER SECTION:<br><strong> domain.com.        300 IN  MX  1 zimbra.domain.com.<\/strong><br>...<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Fully Qualified Domain (FQDN) for your Zimbra server<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>hostname<br>zimbra.domain.com<br><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>echo \"zimbra-server-IP  zimbra.domain.com\" &gt;&gt; \/etc\/hosts<\/code><\/pre>\n\n\n\n<p>Ensure that the host line appears as the first line before the loopback address mapping.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n# The following lines are desirable for IPv4 capable hosts\n&lt;Server-IP&gt; zimbra.domain.com zimbra\n127.0.0.1 localhost.localdomain localhost\n127.0.0.1 localhost4.localdomain4 localhost4\n...<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-required-packages\">Install Required Packages<\/h3>\n\n\n\n<p>Login to your server on which you are going to host Zimbra and install the following packages.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>yum -y install perl-core unzip libaio nmap-ncat sysstat openssh-clients wget<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download-the-zimbra-collaboaration-suite-tarball\">Download the Zimbra Collaboaration Suite tarball<\/h3>\n\n\n\n<p>Navigate to <a rel=\"noreferrer noopener\" href=\"https:\/\/www.zimbra.com\/downloads\/zimbra-collaboration-open-source\/\" target=\"_blank\">Zimbra Collaboration Suite download page<\/a> and download ZCS 8.8.12 for Red Hat Enterprise Linux 7\/CentOS 7. You can simply execute the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/files.zimbra.com\/downloads\/8.8.12_GA\/zcs-8.8.12_GA_3794.RHEL7_64.20190329045002.tgz<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"extract-zimbra-tarball\">Extract Zimbra Tarball<\/h4>\n\n\n\n<p>Once the download is done, run the command below to extract the Zimbra tarball.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>tar xzf zcs-8.8.12_GA_3794.RHEL7_64.20190329045002.tgz<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"installing-zimbra-on-fedora-30-29-cent-os-7\">Installing Zimbra on Fedora 30\/29\/CentOS 7<\/h3>\n\n\n\n<p>Next, navigate to extracted Zimbra directory, and run the installation script to install Zimbra.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>cd zcs-8.8.12_GA_3794.RHEL7_64.20190329045002<br>.\/install.sh<\/code><\/pre>\n\n\n\n<p>When the installer runs, it will first check for any previous Zimbra installation and then prompts you on whether you agree with the terms of the EULA. Type <strong>y<\/strong> and press enter to accept the license.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n----------------------------------------------------------------------\nPLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.\nSYNACOR, INC. (\"SYNACOR\") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU\nFIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING\nTHE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY\nTHIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS\nAGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.\n\nLicense Terms for this Zimbra Collaboration Suite Software:\nhttps:&#47;&#47;www.zimbra.com\/license\/zimbra-public-eula-2-6.html\n----------------------------------------------------------------------\n\n\n\nDo you agree with the terms of the software license agreement? &#91;N] y\n...<\/code><\/pre>\n\n\n\n<p>Next, you will be prompted whether to use Zimbra package repository.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nUse Zimbra's package repository &#91;Y] y\n\nImporting Zimbra GPG key\n\nConfiguring package repository\n\nChecking for installable packages\n...<\/code><\/pre>\n\n\n\n<p>Proceed to install Zimbra packages. You can simply press Enter to choose the default prompts.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nSelect the packages to install\n\nInstall zimbra-ldap &#91;Y] y\n\nInstall zimbra-logger &#91;Y] y\n\nInstall zimbra-mta &#91;Y] y\n\nInstall zimbra-dnscache &#91;Y] y\n\nInstall zimbra-snmp &#91;Y] y\n\nInstall zimbra-store &#91;Y] y\n\nInstall zimbra-apache &#91;Y] y\n\nInstall zimbra-spell &#91;Y] y\n\nInstall zimbra-memcached &#91;Y] y\n\nInstall zimbra-proxy &#91;Y] y\n\nInstall zimbra-drive &#91;Y] y\n\nInstall zimbra-imapd (BETA - for evaluation only) &#91;N] \n\nInstall zimbra-chat &#91;Y] y\nChecking required space for zimbra-core\nChecking space for zimbra-store\nChecking required packages for zimbra-store\nzimbra-store package check complete.\n\nInstalling:\n    zimbra-core\n    zimbra-ldap\n    zimbra-logger\n    zimbra-mta\n    zimbra-dnscache\n    zimbra-snmp\n    zimbra-store\n    zimbra-apache\n    zimbra-spell\n    zimbra-memcached\n    zimbra-proxy\n    zimbra-drive\n    zimbra-patch\n    zimbra-mta-patch\n    zimbra-proxy-patch\n    zimbra-chat\n...<\/code><\/pre>\n\n\n\n<p>After that, you are prompted on whether to modify the system. Accept by typing <strong>y<\/strong> and press enter to proceed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nBeginning Installation - see \/tmp\/install.log.bjjKUjPx for details...\n\n                          zimbra-core-components will be downloaded and installed.\n                            zimbra-timezone-data will be installed.\n                          zimbra-common-core-jar will be installed.\n                         zimbra-common-mbox-conf will be installed.\n                   zimbra-common-mbox-conf-attrs will be installed.\n                    zimbra-common-mbox-conf-msgs will be installed.\n                  zimbra-common-mbox-conf-rights will be installed.\n                           zimbra-common-mbox-db will be installed.\n                         zimbra-common-mbox-docs will be installed.\n                   zimbra-common-mbox-native-lib will be installed.\n                         zimbra-common-core-libs will be installed.\n                                     zimbra-core will be installed.\n                          zimbra-ldap-components will be downloaded and installed.\n                                     zimbra-ldap will be installed.\n                                   zimbra-logger will be installed.\n                           zimbra-mta-components will be downloaded and installed.\n                                      zimbra-mta will be installed.\n                      zimbra-dnscache-components will be downloaded and installed.\n                                 zimbra-dnscache will be installed.\n                          zimbra-snmp-components will be downloaded and installed.\n                                     zimbra-snmp will be installed.\n                         zimbra-store-components will be downloaded and installed.\n                       zimbra-jetty-distribution will be downloaded and installed.\n                                zimbra-mbox-conf will be installed.\n                                 zimbra-mbox-war will be installed.\n                             zimbra-mbox-service will be installed.\n                       zimbra-mbox-webclient-war will be installed.\n                   zimbra-mbox-admin-console-war will be installed.\n                          zimbra-mbox-store-libs will be installed.\n                                    zimbra-store will be installed.\n                        zimbra-apache-components will be downloaded and installed.\n                                   zimbra-apache will be installed.\n                         zimbra-spell-components will be downloaded and installed.\n                                    zimbra-spell will be installed.\n                                zimbra-memcached will be downloaded and installed.\n                         zimbra-proxy-components will be downloaded and installed.\n                                    zimbra-proxy will be installed.\n                                    zimbra-drive will be downloaded and installed (later).\n                                    zimbra-patch will be downloaded and installed (later).\n                                zimbra-mta-patch will be downloaded and installed.\n                              zimbra-proxy-patch will be downloaded and installed (later).\n                                     zimbra-chat will be downloaded and installed (later).\n\nDownloading packages (12):\n   zimbra-core-components\n   zimbra-ldap-components\n   zimbra-mta-components\n   zimbra-dnscache-components\n   zimbra-snmp-components\n   zimbra-store-components\n   zimbra-jetty-distribution\n   zimbra-apache-components\n   zimbra-spell-components\n   zimbra-memcached\n   zimbra-proxy-components\n   zimbra-mta-patch\n      ...done\n...<\/code><\/pre>\n\n\n\n<p>If you encounter the DNS error issue, just change the domain name and proceed<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nDNS ERROR resolving MX for zimbra.domain.com\nIt is suggested that the domain name have an MX record configured in DNS\nChange domain name? &#91;Yes] yes\nCreate domain: &#91;zimbra.domain.com] domain.com\n...<\/code><\/pre>\n\n\n\n<p>Set Admin password by selecting option 7<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nMain menu\n\n   1) Common Configuration:                                                  \n   2) zimbra-ldap:                             Enabled                       \n   3) zimbra-logger:                           Enabled                       \n   4) zimbra-mta:                              Enabled                       \n   5) zimbra-dnscache:                         Enabled                       \n   6) zimbra-snmp:                             Enabled                       \n   7) zimbra-store:                            Enabled                       \n        +Create Admin User:                    yes                           \n        +Admin user to create:                 admin@domain.com           \n******* +Admin Password                        UNSET                         \n        +Anti-virus quarantine user:           virus-quarantine.v8fedmti@domain.com\n        +Enable automated spam training:       yes                           \n        +Spam training user:                   spam.hbhhttsbi@domain.com  \n        +Non-spam(Ham) training user:          ham.wvaudjtmz@domain.com   \n        +SMTP host:                            zimbra.domain.com        \n        +Web server HTTP port:                 8080                          \n        +Web server HTTPS port:                8443                          \n        +Web server mode:                      https                         \n        +IMAP server port:                     7143                          \n        +IMAP server SSL port:                 7993                          \n        +POP server port:                      7110                          \n        +POP server SSL port:                  7995                          \n        +Use spell check server:               yes                           \n        +Spell server URL:                     http:\/\/zimbra.domain.com:7780\/aspell.php\n        +Enable version update checks:         TRUE                          \n        +Enable version update notifications:  TRUE                          \n        +Version update notification email:    admin@domain.com           \n        +Version update source email:          admin@domain.com           \n        +Install mailstore (service webapp):   yes                           \n        +Install UI (zimbra,zimbraAdmin webapps): yes                           \n\n   8) zimbra-spell:                            Enabled                       \n   9) zimbra-proxy:                            Enabled                       \n  10) Default Class of Service Configuration:                                \n   s) Save config to file                                                    \n   x) Expand menu                                                            \n   q) Quit                                    \n\nAddress unconfigured (**) items  (? - help) 7\n...<\/code><\/pre>\n\n\n\n<p>Next, Select option 4. You can leave the default generated or set your own password.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nStore configuration\n\n   1) Status:                                  Enabled                       \n   2) Create Admin User:                       yes                           \n   3) Admin user to create:                    admin@domain.com           \n** 4) Admin Password                           UNSET                         \n   5) Anti-virus quarantine user:              virus-quarantine.v8fedmti@domain.com\n   6) Enable automated spam training:          yes                           \n   7) Spam training user:                      spam.hbhhttsbi@domain.com  \n   8) Non-spam(Ham) training user:             ham.wvaudjtmz@domain.com   \n   9) SMTP host:                               zimbra.domain.com        \n  10) Web server HTTP port:                    8080                          \n  11) Web server HTTPS port:                   8443                          \n  12) Web server mode:                         https                         \n  13) IMAP server port:                        7143                          \n  14) IMAP server SSL port:                    7993                          \n  15) POP server port:                         7110                          \n  16) POP server SSL port:                     7995                          \n  17) Use spell check server:                  yes                           \n  18) Spell server URL:                        http:\/\/zimbra.domain.com:7780\/aspell.php\n  19) Enable version update checks:            TRUE                          \n  20) Enable version update notifications:     TRUE                          \n  21) Version update notification email:       admin@domain.com           \n  22) Version update source email:             admin@domain.com           \n  23) Install mailstore (service webapp):      yes                           \n  24) Install UI (zimbra,zimbraAdmin webapps): yes                           \n\nSelect, or 'r' for previous menu &#91;r] 4\n\nPassword for admin@domain.com (min 6 characters): &#91;sIyXczeI6] MyStrongP\n...<\/code><\/pre>\n\n\n\n<p>Go back to the previous menu and apply the changes and proceed with zimbra configuration.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nSelect, or 'r' for previous menu &#91;r] r\n\nMain menu\n\n   1) Common Configuration:                                                  \n   2) zimbra-ldap:                             Enabled                       \n   3) zimbra-logger:                           Enabled                       \n   4) zimbra-mta:                              Enabled                       \n   5) zimbra-dnscache:                         Enabled                       \n   6) zimbra-snmp:                             Enabled                       \n   7) zimbra-store:                            Enabled                       \n   8) zimbra-spell:                            Enabled                       \n   9) zimbra-proxy:                            Enabled                       \n  10) Default Class of Service Configuration:                                \n   s) Save config to file                                                    \n   x) Expand menu                                                            \n   q) Quit                                    \n\n*** CONFIGURATION COMPLETE - press 'a' to apply\nSelect from menu, or press 'a' to apply config (? - help) a\nSave configuration data to a file? &#91;Yes] yes\nSave config in file: &#91;\/opt\/zimbra\/config.18030] \nSaving config in \/opt\/zimbra\/config.18030...done.\nThe system will be modified - continue? &#91;No] yes\n...<\/code><\/pre>\n\n\n\n<p>As the installation completes, you are prompted whether to notify Zimbra of your installation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nFinished installing common zimlets.\nRestarting mailboxd...done.\nCreating galsync account for default domain...done.\n\nYou have the option of notifying Zimbra of your installation.\nThis helps us to track the uptake of the Zimbra Collaboration Server.\nThe only information that will be transmitted is:\n\tThe VERSION of zcs installed (8.8.12_GA_3794_RHEL7_64)\n\tThe ADMIN EMAIL ADDRESS created (admin@domain.com)\n\nNotify Zimbra of your installation? &#91;Yes] \nNotifying Zimbra of installation via http:\/\/www.zimbra.com\/cgi-bin\/notify.cgi?VER=8.8.12_GA_3794_RHEL7_64&amp;MAIL=admin@domain.com\n\nNotification complete\n\nChecking if the NG started running...done. \nSetting up zimbra crontab...done.\n\n\nMoving \/tmp\/zmsetup.20190512-140806.log to \/opt\/zimbra\/log\n\n\nConfiguration complete - press return to exit<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"access-zimbra-web-ui\">Access Zimbra Web UI<\/h3>\n\n\n\n<p>Once the installation is done, you can access Zimbra from the browser using the IP address of the Zimbra server over <strong>7071<\/strong> via HTTPS. This port is used for accessing Zimbra admin console only. Clients can connect to Zimbra without the port.<\/p>\n\n\n\n<p>Accept the certificate warning and proceed to Zimbra dashboard. If you get HSTS errors on Chrome broswer, navigate to <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"\/\/net-internals\/#hsts\" target=\"_blank\">chrome:\/\/net-internals\/#hsts<\/a> and delete the domain. <\/p>\n\n\n\n<p>The default login username is <strong>admin<\/strong> and the password is the one you set above.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/zimbra-login-ui.png\"><img loading=\"lazy\" decoding=\"async\" width=\"838\" height=\"480\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/zimbra-login-ui.png\" alt=\"install Zimbra Mail Server on Fedora 30\/29\/CentOS 7\" class=\"wp-image-2927\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/zimbra-login-ui.png 838w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/zimbra-login-ui-768x440.png 768w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/a><\/figure>\n\n\n\n<p>Zimbra Administrative dashboard<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/zimbra-admin-interface.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1356\" height=\"625\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/zimbra-admin-interface.png\" alt=\"Zimbra admin console\" class=\"wp-image-2928\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/zimbra-admin-interface.png 1356w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/zimbra-admin-interface-768x354.png 768w\" sizes=\"(max-width: 1356px) 100vw, 1356px\" \/><\/a><\/figure>\n\n\n\n<p>Zimbra is now installed and is operational. You can now get started by installing your legit SSL\/TLS certificate, adding and managing accounts and other tasks.<\/p>\n\n\n\n<p>Want to Uninstall Zimbra? Well, unless you have not deleted the extracted Zimbra directory, you can uninstall it by running;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>.\/install.sh -u<\/code><\/pre>\n\n\n\n<p>Stay connected for more guides on administering Zimbra. Enjoy<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we are going to learn how to install Zimbra Mail Server on Fedora30\/29\/CentOS 7. Zimbra is an enterprise-class email, calendar and collaboration<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[272,944],"tags":[88,946,924,945],"class_list":["post-2924","post","type-post","status-publish","format-standard","hentry","category-email","category-zimbra","tag-centos-7","tag-email-server","tag-fedora-30","tag-zimbra","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2924"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=2924"}],"version-history":[{"count":7,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2924\/revisions"}],"predecessor-version":[{"id":21151,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2924\/revisions\/21151"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=2924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=2924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=2924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}