Home » Zimbra » How to install zimbra mail server

How to install zimbra mail server

Zimbra is a collaboration suite very widely used in the world. Users can share folders, contacts, schedules and other things, using a very rich web interface. Install zimbra mail server using following steps.

1 Some Prerequisites
System Requirements
• Intel/AMD 64-bit CPU 1.5 GHz
• 1 GB RAM
• 5 GB free disk space for software and logs
• Temp file space for installs and upgrades*
• Additional disk space for mail storage

The following operating systems are supported:
Red Hat® Enterprise Linux®, AS/ES 6, Centos 6
(64-bit) requires RHEL/Centos6 6.1 or later.

Other Dependencies

For Red Hat Enterprise, Centos, Fedora Core and SUSE operating systems, the server must also have the following installed:
•NPTL . Native POSIX Thread Library
•Sudo . Superuser, required to delegate admins.
•libidn . For internationalizing domain names in applications (IDNA)
• GMP . GNU Multiple-Precision Library

DNS and Hostname Settings
First, we need to configure the DNS entry that is pointing to the server. In this case, we’re using the hostname zimbratest.example.com
Then, we need to configure the hostname in the Linux box.
set the hostname with below command

#hostname serverhostname

Create permanent entry in /etc/sysconfig/network file through below command.

#vi /etc/sysconfig/network&lt

HOSTNAME=ks3099236.domain.com
If you run the below command to check the server hostname

#hostname

It should be as below.
ks3099236.domain.com.
Then open /etc/hosts file and output should be as below.

#vi /etc/hosts

127.0.0.1 localhost.localdomain localhost
91.121.193.9 ks3099236.domain.com.

Installing Packages
Next, we need to install some packages, command will be below:

#yum install -y sysstat perl sqlite

After that change the directory

#cd /opt

Then download the zimbra packages from official website using below command.

#wget http://files2.zimbra.com/downloads/7.0.1_GA/zcs-7.0.1_GA_3105.RHEL5_64.20110304210645.tgz

Or Zimbra 8

#wget http://files2.zimbra.com/downloads/8.0.4_GA/zcs-8.0.4_GA_5737.RHEL6_64.20130524120036.tgz

Note :: Make sure your OS is compatible with Zimbra version.
Then Execute the below command.

#tar -zxvf zcs-7.0.1_GA_3105.RHEL5_64.20110304210645.tgz
#cd zcs-7.0.1_GA_3105.RHEL5_64.20110304210645
# ./install.sh –platform-override

First, we need to agree with the license terms.

Do you agree with the terms of the software license agreement? [N] y

Now, Zimbra will check all the prerequisites. If anything is not found, stop the Wizard and install it with yum.
If everything is ok, the script will ask what are the packages that we want to install. Just select the default options.
Select the packages to install

Install zimbra-ldap [Y] press yes
Install zimbra-logger [Y]
Install zimbra-mta [Y]
Install zimbra-snmp [Y]
Install zimbra-store [Y]
Install zimbra-apache [Y]
Install zimbra-spell [Y]
Install zimbra-memcached [N]
Install zimbra-proxy [N]

Afterwards, the script asks you if you want to override the platform. You say “yes”, of course.
The system will be modified. Continue? [N] y
Now, we need to wait the installation procedures.

When all the packages are installed, a menu will be displayed with some config options. We only need to set the admin password.
To do that, we need to press 3.

Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@zimbratest.example.com
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.kzpbrsgbx7@zimbratest.example.com
+Enable automated spam training: yes
+Spam training user: spam.sd5fsqtdzi@zimbratest.example.com
+Non-spam(Ham) training user: ham.2qun60wc4@zimbratest.example.com
+SMTP host: zimbratest.example.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://zimbratest.example.com:7780/aspell.php
+Configure for use with mail proxy: FALSE
+Configure for use with web proxy: FALSE
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: admin@zimbratest.example.com
+Version update source email: admin@zimbratest.example.com
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit

Address unconfigured (**) items (? – help) 3
Followed by 4. And type the admin password.

Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@zimbratest.example.com
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.kzpbrsgbx7@zimbratest.example.com
6) Enable automated spam training: yes
7) Spam training user: spam.sd5fsqtdzi@zimbratest.example.com
8) Non-spam(Ham) training user: ham.2qun60wc4@zimbratest.example.com
9) SMTP host: zimbratest.example.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: yes
18) Spell server URL: http://zimbratest.example.com:7780/aspell.php
19) Configure for use with mail proxy: FALSE
20) Configure for use with web proxy: FALSE
21) Enable version update checks: TRUE
22) Enable version update notifications: TRUE
23) Version update notification email: admin@zimbratest.example.com
24) Version update source email: admin@zimbratest.example.com

Select, or ‘r’ for previous menu [r] 4
Password for admin@zimbratest.example.com (min 6 characters): [7M_lgfdx3B] secret
Then press r to return to the main menu.
Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@zimbratest.example.com
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.kzpbrsgbx7@zimbratest.example.com
6) Enable automated spam training: yes
7) Spam training user: spam.sd5fsqtdzi@zimbratest.example.com
8) Non-spam(Ham) training user: ham.2qun60wc4@zimbratest.example.com
9) SMTP host: zimbratest.example.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: yes
18) Spell server URL: http://zimbratest.example.com:7780/aspell.php
19) Configure for use with mail proxy: FALSE
20) Configure for use with web proxy: FALSE
21) Enable version update checks: TRUE
22) Enable version update notifications: TRUE
23) Version update notification email: admin@zimbratest.example.com
24) Version update source email: admin@zimbratest.example.com

Select, or ‘r’ for previous menu [r] r

And press a to apply the config. Afterwards, save the configuration data.

Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) Default Class of Service Configuration:
r) Start servers after configuration yes
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.11722]
Saving config in /opt/zimbra/config.11722…done.
The system will be modified – continue? [No] y
We need to wait the end of the process.
Operations logged to /tmp/zmsetup.04042011-131235.log
Setting local config values…done.
Setting up CA…done.
Deploying CA to /opt/zimbra/conf/ca …done.
Creating SSL certificate…done.
Installing mailboxd SSL certificates…done.
Initializing ldap…done.
Setting replication password…done.
Setting Postfix password…done.
Setting amavis password…done.
Setting nginx password…done.
Creating server entry for zimbratest.example.com…done.
Saving CA in ldap …done.
Saving SSL Certificate in ldap …done.
Setting spell check URL…done.
Setting service ports on zimbratest.example.com…done.
Adding zimbratest.example.com to zimbraMailHostPool in default COS…done.
Installing webclient skins…
steel…done.
twilight…done.
pebble…done.
bare…done.
lemongrass…done.
beach…done.
sand…done.
sky…done.
carbon…done.
smoke…done.
lavender…done.
tree…done.
waves…done.
lake…done.
oasis…done.
bones…done.
hotrod…done.
Finished installing webclient skins.
Setting zimbraFeatureTasksEnabled=TRUE…done.
Setting zimbraFeatureBriefcasesEnabled=TRUE…done.
Setting MTA auth host…done.
Setting TimeZone Preference…done.
Initializing mta config…done.
Setting services on zimbratest.example.com…done.
Creating domain zimbratest.example.com…done.
Setting default domain name…done.
Creating domain zimbratest.example.com…already exists.
Creating admin account admin@zimbratest.example.com…done.
Creating root alias…done.
Creating postmaster alias…done.
Creating user spam.sd5fsqtdzi@zimbratest.example.com…done.
Creating user ham.2qun60wc4@zimbratest.example.com…done.
Creating user virus-quarantine.kzpbrsgbx7@zimbratest.example.com…done.
Setting spam training and Anti-virus quarantine accounts…done.
Initializing store sql database…done.
Setting zimbraSmtpHostname for zimbratest.example.com…done.
Configuring SNMP…done.
Checking for default IM conference room…not present.
Initializing default IM conference room…done.
Setting up syslog.conf…done.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (7.0.1_GA_3105_CentOS5_64)
The ADMIN EMAIL ADDRESS created (admin@zimbratest.example.com)

Notify Zimbra of your installation? [Yes/No] no here i am pressing no
Notification skipped
Starting servers…done.
Installing common zimlets…
com_zimbra_bulkprovision…done.
com_zimbra_phone…done.
com_zimbra_attachmail…done.
com_zimbra_linkedin…done.
com_zimbra_srchhighlighter…done.
com_zimbra_attachcontacts…done.
com_zimbra_adminversioncheck…done.
com_zimbra_url…done.
com_zimbra_cert_manager…done.
com_zimbra_date…done.
com_zimbra_email…done.
com_zimbra_webex…done.
com_zimbra_dnd…done.
com_zimbra_social…done.
Finished installing common zimlets.
Restarting mailboxd…done.
Setting up zimbra crontab…done.

Moving /tmp/zmsetup.04042011-131235.log to /opt/zimbra/log

Configuration complete – press return to exit

Congratulations You have installed Zimbra Opensource edition on your server.

The Admin Console

First, we need to access the admin console:
https://hostname:7071
or directly by IP:
https://xx.xx.xx.xx:7071/
Username :: admin@example.domain.com
Password :: ASCDer123L

PS: You will need to accept the SSL cert.

About

I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

3 thoughts on “How to install zimbra mail server

  1. mikaylascaddan says:

    Excellent post. I was checking continuously this blog and I’m impressed!

    Very useful info specifically the last part 🙂 I care for such info a lot.
    I was seeking this certain info for a very long time. Thank you and good luck.

  2. alejandrabrunton says:

    My relatives always say that I am killing my time here at web,
    except I know I am getting knowledge everyday by reading thes pleasant articles or reviews. Great Job…..keep up

  3. cole binkley says:

    Nice response in return of this issue with genuine arguments
    and describing the whole thing about that.

Leave a Reply

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

*
*

Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud