{"id":1511,"date":"2011-12-19T21:14:59","date_gmt":"2011-12-19T13:14:59","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=1511"},"modified":"2023-04-28T09:50:00","modified_gmt":"2023-04-28T09:50:00","slug":"how-to-install-zimbra-collaboration-suite-7-1-3-mail-server-on-redhat-enterprise-linux-5-5","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-zimbra-collaboration-suite-7-1-3-mail-server-on-redhat-enterprise-linux-5-5\/","title":{"rendered":"How to Install Zimbra Collaboration Suite 7.1.3 Mail Server on Redhat Enterprise Linux 5.5"},"content":{"rendered":"<p>In this post, i will share with you on how to install zimbra open source mail server on Redhat Enterprise Linux 5.5 server. According to wikipedia, Zimbra Collaboration Suite (ZCS) is a groupware product created by Zimbra, Inc. It was located in Palo Alto, California, USA. In September 2007, The company was purchased by Yahoo! and subsequently purchased by VMware on January 12, 2010. Two current available version of the zimbra are zimbra open-source version and zimbra network version. Zimbra Network is commercial edition of Zimbra Collaboration Suite.<\/p>\n<p>Before we start to install the zimbra mail server, there are a few prerequisites that must be install and must be configure.<\/p>\n<p>1. Stop sendmail and linux iptables firewall service as below:<\/p>\n<pre class=\"code\">[root@mail ~]# \/etc\/init.d\/sendmail stop\nor\n[root@mail ~]# service sendmail stop\n[root@mail ~]# chkconfig sendmail off\n[root@mail ~]# \/etc\/init.d\/iptables stop\nor\n[root@mail ~]# service iptablesstop\n[root@mail ~]# chkconfig iptables off<\/pre>\n<p>2. The following packages required need to be installed before installing ZCS:<br \/>\n&#8211; NPTL (Native POSIX Thread Library \u2013 installed by default)<br \/>\n&#8211; sudo<br \/>\n&#8211; libidn<br \/>\n&#8211; gmp, and<br \/>\n&#8211; libstdc++<br \/>\n&#8211; perl<br \/>\n&#8211; sysstat<br \/>\n&#8211; sqlite<\/p>\n<p>Please run this youn install to install all those packages:<\/p>\n<pre class=\"code\">[root@mail ~]# yum install nc, sudo, libidn, gmp, libstdc++, perl, sysstat, sqlite -y<\/pre>\n<p>3. Configure DNS server. In this example, i will use the server as a DNS server. So the ip of the DNS and mail server is the same.<\/p>\n<pre class=\"code\">[root@mail ~]# vi \/var\/named\/chroot\/var\/named\/zimbra.local<\/pre>\n<pre class=\"code\">;\n;       Addresses and other host information.\n;\n@       IN      SOA     zimbra.local. hostmaster.zimbra.local. (\n                               2011030801      ; Serial\n                               43200      ; Refresh\n                               3600       ; Retry\n                               3600000    ; Expire\n                               2592000 )  ; Minimum\n\n;       Define the nameservers and the mail servers\n\n               IN      NS      ns.zimbra.local.\n               IN      A       192.168.1.42\n               IN      MX      10 mail.zimbra.local.\n\nmail            IN      A       192.168.1.42\nns              IN      A       192.168.1.42<\/pre>\n<pre class=\"code\">[root@mail ~]# vi \/var\/named\/chroot\/etc\/named.conf<\/pre>\n<pre class=\"code\">options {\n       directory \"\/var\/named\";\n       dump-file \"\/var\/named\/data\/cache_dump.db\";\n       statistics-file \"\/var\/named\/data\/named_stats.txt\";\nforwarders { 8.8.8.8; };\n};\ninclude \"\/etc\/rndc.key\";\n\/\/ We are the master server for zimbra.local\n\nzone \"zimbra.local\" {\n    type master;\n    file \"zimbra.local\";\n};<\/pre>\n<p>4. Configure hosts file correctly:<\/p>\n<pre class=\"code\">[root@mail ~]# cat \/etc\/hosts<\/pre>\n<pre class=\"code\"># Do not remove the following line, or various programs\n# that require network functionality will fail.\n127.0.0.1               localhost.localdomain localhost\n::1             localhost6.localdomain6 localhost6\n192.168.1.42    mail.zimbra.local mail<\/pre>\n<p>5. Verify the DNS records using host command. Host command is one of the bind utilities. Beside host, you also can use dig and nslookup to test your dns configuration.<\/p>\n<pre class=\"code\">[root@mail ~]# host -t mx zimbra.local\nzimbra.local mail is handled by 10 mail.zimbra.local.<\/pre>\n<p>6. Download the software from zimbra website.<\/p>\n<pre class=\"code\">[root@mail ~]# wget http:\/\/files.zimbra.com\/downloads\/7.1.3_GA\/zcs-7.1.3_GA_3346.RHEL5.20110928134520.tgz<\/pre>\n<p>7. Extract the ZCS package and run .\/install.sh to start installation.<\/p>\n<pre class=\"code\">[root@mail ~]# tar xzvf zcs-7.1.3_GA_3346.RHEL5.20110928134520.tgz\n[root@mail ~]# cd zcs-7.1.3_GA_3346.RHEL5.20110928134520\n[root@mail zcs-7.1.3_GA_3346.RHEL5.20110928134520]# .\/install.sh\n\nOperations logged to \/tmp\/install.log.2674\nChecking for existing installation...\n    zimbra-ldap...NOT FOUND\n    zimbra-logger...NOT FOUND\n    zimbra-mta...NOT FOUND\n    zimbra-snmp...NOT FOUND\n    zimbra-store...NOT FOUND\n    zimbra-apache...NOT FOUND\n    zimbra-spell...NOT FOUND\n    zimbra-convertd...NOT FOUND\n    zimbra-memcached...NOT FOUND\n    zimbra-proxy...NOT FOUND\n    zimbra-archiving...NOT FOUND\n    zimbra-cluster...NOT FOUND\n    zimbra-core...NOT FOUND\n\nPLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.\nZIMBRA, INC. (\"ZIMBRA\") 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 the Zimbra Collaboration Suite:\n  http:\/\/www.zimbra.com\/license\/zimbra_public_eula_2.1.html\n\nDo you agree with the terms of the software license agreement? [N] y\n\nChecking for prerequisites...\n     FOUND: NPTL\n     FOUND: nc-1.84-10\n     FOUND: sudo-1.7.2p1-5\n     FOUND: libidn-0.6.5-1.1\n     FOUND: gmp-4.1.4-10\n     FOUND: \/usr\/lib\/libstdc++.so.6\nChecking for suggested prerequisites...\n     FOUND: perl-5.8.8\n     FOUND: sysstat\n     FOUND: sqlite\nPrerequisite check complete.\n\nChecking for installable packages\n\nFound zimbra-core\nFound zimbra-ldap\nFound zimbra-logger\nFound zimbra-mta\nFound zimbra-snmp\nFound zimbra-store\nFound zimbra-apache\nFound zimbra-spell\nFound zimbra-memcached\nFound zimbra-proxy\n\nSelect the packages to install\n\nInstall zimbra-ldap [Y]\n\nInstall zimbra-logger [Y]\n\nInstall zimbra-mta [Y]\n\nInstall zimbra-snmp [Y]\n\nInstall zimbra-store [Y]\n\nInstall zimbra-apache [Y]\n\nInstall zimbra-spell [Y]\n\nInstall zimbra-memcached [N]\n\nInstall zimbra-proxy [N]\nChecking required space for zimbra-core\nchecking space for zimbra-store\n\nInstalling:\n    zimbra-core\n    zimbra-ldap\n    zimbra-logger\n    zimbra-mta\n    zimbra-snmp\n    zimbra-store\n    zimbra-apache\n    zimbra-spell\n\nThe system will be modified.  Continue? [N] y\n\nRemoving \/opt\/zimbra\nRemoving zimbra crontab entry...done.\ndone.\nCleaning up zimbra init scripts...done.\nCleaning up \/etc\/ld.so.conf...done.\nCleaning up \/etc\/prelink.conf...done.\nCleaning up \/etc\/security\/limits.conf...done.\n\nFinished removing Zimbra Collaboration Suite.\n\nInstalling packages\n\n    zimbra-core......zimbra-core-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done\n    zimbra-ldap......zimbra-ldap-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done\n    zimbra-logger......zimbra-logger-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done\n    zimbra-mta......zimbra-mta-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done\n    zimbra-snmp......zimbra-snmp-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done\n    zimbra-store......zimbra-store-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done\n    zimbra-apache......zimbra-apache-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done\n    zimbra-spell......zimbra-spell-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done\nOperations logged to \/tmp\/zmsetup.12202011-035130.log\nInstalling LDAP configuration database...done.\nSetting defaults...\n\nDNS ERROR resolving MX for mail.zimbra.local\nIt is suggested that the domain name have an MX record configured in DNS\nChange domain name? [Yes]\nCreate domain: [mail.zimbra.local] zimbra.local\n        MX: mail.zimbra.local (192.168.1.42)\n\n        Interface: 192.168.1.42\n        Interface: 127.0.0.1\ndone.\nChecking for port conflicts\n\nMain menu\n\n   1) Common Configuration:\n   2) zimbra-ldap:                             Enabled\n   3) zimbra-store:                            Enabled\n        +Create Admin User:                    yes\n        +Admin user to create:                 admin@zimbra.local\n******* +Admin Password                        UNSET\n        +Anti-virus quarantine user:           virus-quarantine.iqk4l5dgz@zimbra.local\n        +Enable automated spam training:       yes\n        +Spam training user:                   spam.f8azigt_ug@zimbra.local\n        +Non-spam(Ham) training user:          ham.ddnnjfq5a@zimbra.local\n        +SMTP host:                            mail.zimbra.local\n        +Web server HTTP port:                 80\n        +Web server HTTPS port:                443\n        +Web server mode:                      http\n        +IMAP server port:                     143\n        +IMAP server SSL port:                 993\n        +POP server port:                      110\n        +POP server SSL port:                  995\n        +Use spell check server:               yes\n        +Spell server URL:                     http:\/\/mail.zimbra.local:7780\/aspell.php\n        +Configure for use with mail proxy:    FALSE\n        +Configure for use with web proxy:     FALSE\n        +Enable version update checks:         TRUE\n        +Enable version update notifications:  TRUE\n        +Version update notification email:    admin@zimbra.local\n        +Version update source email:          admin@zimbra.local\n\n   4) zimbra-mta:                              Enabled\n   5) zimbra-snmp:                             Enabled\n   6) zimbra-logger:                           Enabled\n   7) zimbra-spell:                            Enabled\n   8) Default Class of Service Configuration:\n   r) Start servers after configuration        yes\n   s) Save config to file\n   x) Expand menu\n   q) Quit\n\nAddress unconfigured (**) items  (? - help) 3\n\nStore configuration\n\n   1) Status:                                  Enabled\n   2) Create Admin User:                       yes\n   3) Admin user to create:                    admin@zimbra.local\n** 4) Admin Password                           UNSET\n   5) Anti-virus quarantine user:              virus-quarantine.iqk4l5dgz@zimbra.local\n   6) Enable automated spam training:          yes\n   7) Spam training user:                      spam.f8azigt_ug@zimbra.local\n   8) Non-spam(Ham) training user:             ham.ddnnjfq5a@zimbra.local\n   9) SMTP host:                               mail.zimbra.local\n  10) Web server HTTP port:                    80\n  11) Web server HTTPS port:                   443\n  12) Web server mode:                         http\n  13) IMAP server port:                        143\n  14) IMAP server SSL port:                    993\n  15) POP server port:                         110\n  16) POP server SSL port:                     995\n  17) Use spell check server:                  yes\n  18) Spell server URL:                        http:\/\/mail.zimbra.local:7780\/aspell.php\n  19) Configure for use with mail proxy:       FALSE\n  20) Configure for use with web proxy:        FALSE\n  21) Enable version update checks:            TRUE\n  22) Enable version update notifications:     TRUE\n  23) Version update notification email:       admin@zimbra.local\n  24) Version update source email:             admin@zimbra.local\n\nSelect, or 'r' for previous menu [r] 4\n\nPassword for admin@zimbra.local (min 6 characters): [KGl9iDfP2] password\n\nStore configuration\n\n   1) Status:                                  Enabled\n   2) Create Admin User:                       yes\n   3) Admin user to create:                    admin@zimbra.local\n   4) Admin Password                           set\n   5) Anti-virus quarantine user:              virus-quarantine.iqk4l5dgz@zimbra.local\n   6) Enable automated spam training:          yes\n   7) Spam training user:                      spam.f8azigt_ug@zimbra.local\n   8) Non-spam(Ham) training user:             ham.ddnnjfq5a@zimbra.local\n   9) SMTP host:                               mail.zimbra.local\n  10) Web server HTTP port:                    80\n  11) Web server HTTPS port:                   443\n  12) Web server mode:                         http\n  13) IMAP server port:                        143\n  14) IMAP server SSL port:                    993\n  15) POP server port:                         110\n  16) POP server SSL port:                     995\n  17) Use spell check server:                  yes\n  18) Spell server URL:                        http:\/\/mail.zimbra.local:7780\/aspell.php\n  19) Configure for use with mail proxy:       FALSE\n  20) Configure for use with web proxy:        FALSE\n  21) Enable version update checks:            TRUE\n  22) Enable version update notifications:     TRUE\n  23) Version update notification email:       admin@zimbra.local\n  24) Version update source email:             admin@zimbra.local\n\nSelect, or 'r' for previous menu [r] r\n\nMain menu\n\n   1) Common Configuration:\n   2) zimbra-ldap:                             Enabled\n   3) zimbra-store:                            Enabled\n   4) zimbra-mta:                              Enabled\n   5) zimbra-snmp:                             Enabled\n   6) zimbra-logger:                           Enabled\n   7) zimbra-spell:                            Enabled\n   8) Default Class of Service Configuration:\n   r) Start servers after configuration        yes\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? [Yes] yes\nSave config in file: [\/opt\/zimbra\/config.8980] yes\nSaving config in yes...done.\nThe system will be modified - continue? [No] yes\nOperations logged to \/tmp\/zmsetup.12202011-035130.log\nSetting local config values...done.\nSetting up CA...done.\nDeploying CA to \/opt\/zimbra\/conf\/ca ...done.\nCreating SSL certificate...done.\nInstalling mailboxd SSL certificates...done.\nInitializing ldap...done.\nSetting replication password...done.\nSetting Postfix password...done.\nSetting amavis password...done.\nSetting nginx password...done.\nSetting BES searcher  password...done.\nCreating server entry for mail.zimbra.local...done.\nSaving CA in ldap ...done.\nSaving SSL Certificate in ldap ...done.\nSetting spell check URL...done.\nSetting service ports on mail.zimbra.local...done.\nAdding mail.zimbra.local to zimbraMailHostPool in default COS...done.\nInstalling webclient skins...\n        steel...done.\n        carbon...done.\n        tree...done.\n        sand...done.\n        beach...done.\n        smoke...done.\n        waves...done.\n        sky...done.\n        bones...done.\n        bare...done.\n        oasis...done.\n        pebble...done.\n        twilight...done.\n        lake...done.\n        lemongrass...done.\n        lavender...done.\n        hotrod...done.\nFinished installing webclient skins.\nSetting zimbraFeatureTasksEnabled=TRUE...done.\nSetting zimbraFeatureBriefcasesEnabled=TRUE...done.\nSetting MTA auth host...done.\nSetting TimeZone Preference...done.\nInitializing mta config...done.\nSetting services on mail.zimbra.local...done.\nCreating domain zimbra.local...done.\nSetting default domain name...done.\nCreating domain zimbra.local...already exists.\nCreating admin account admin@zimbra.local...done.\nCreating root alias...done.\nCreating postmaster alias...done.\nCreating user spam.f8azigt_ug@zimbra.local...done.\nCreating user ham.ddnnjfq5a@zimbra.local...done.\nCreating user virus-quarantine.iqk4l5dgz@zimbra.local...done.\nSetting spam training and Anti-virus quarantine accounts...done.\nInitializing store sql database...done.\nSetting zimbraSmtpHostname for mail.zimbra.local...done.\nConfiguring SNMP...done.\nChecking for default IM conference room...not present.\nInitializing default IM conference room...done.\nSetting up syslog.conf...done.\n\nYou have the option of notifying Zimbra of your installation.\nThis helps us to track the uptake of the Zimbra Collaboration Suite.\nThe only information that will be transmitted is:\n        The VERSION of zcs installed (7.1.3_GA_3346_RHEL5)\n        The ADMIN EMAIL ADDRESS created (admin@zimbra.local)\n\nNotify Zimbra of your installation? [Yes] no\nNotification skipped\nStarting servers...done.\nInstalling common zimlets...\n        com_zimbra_email...done.\n        com_zimbra_linkedin...done.\n        com_zimbra_attachmail...done.\n        com_zimbra_webex...done.\n        com_zimbra_bulkprovision...done.\n        com_zimbra_date...done.\n        com_zimbra_dnd...done.\n        com_zimbra_attachcontacts...done.\n        com_zimbra_url...done.\n        com_zimbra_social...done.\n        com_zimbra_srchhighlighter...done.\n        com_zimbra_phone...done.\n        com_zimbra_cert_manager...done.\n        com_zimbra_adminversioncheck...done.\nFinished installing common zimlets.\nRestarting mailboxd...done.\nSetting up zimbra crontab...done.\n\nMoving \/tmp\/zmsetup.12202011-035130.log to \/opt\/zimbra\/log\n\nConfiguration complete - press return to exit<\/pre>\n<p>8. Your installation completed.<br \/>\nZimbra Webmail URL for users:<br \/>\nhttp:\/\/mail.zimbra.local<\/p>\n<p>Zimbra Admin console URL for zimbra administrator :<br \/>\nhttps:\/\/mail.zimbra.local:7071<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, i will share with you on how to install zimbra open source mail server on Redhat Enterprise Linux 5.5 server. According to wikipedia, Zimbra Collaboration Suite (ZCS)&#8230;<\/p>\n","protected":false},"author":6,"featured_media":1538,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2065],"tags":[1356,1536,1619,1698,1713,1951,1953],"class_list":["post-1511","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mail","tag-email-services","tag-linux","tag-open-source","tag-redhat-enterprise-linux-5-5","tag-rhel","tag-zimbra-collaboration-suite","tag-zimbra-mail-server"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=1511"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1511\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/1538"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=1511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=1511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=1511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}