Zimbra Collaboration Multi-Server Installation Guide
Zimbra Collaboration Multi-Server Installation Guide
Network Edition
Legal Notices
Copyright © 2016 Synacor, Inc. All rights reserved. This product is protected by U.S. and international
copyright and intellectual property laws. ZIMBRA is a trademark of Synacor, Inc. in the United States
and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their
respective companies.
Synacor, Inc.
40 La Riviere Drive, Suite 300
Buffalo, New York 14202
www.synacor.com
1 Introduction ......................................... 5
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Zimbra Collaboration License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
For More Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Support and Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Information in this guide is intended for persons responsible for installing the
Zimbra Collaboration. This guide will help you plan and perform all installation
procedures necessary to deploy a fully functioning email system based on
Zimbra’s messaging technology.
This guide covers the installation of Zimbra Collaboration Network Edition 8.6.
Topics in this chapter include:
Audience on page 5
Zimbra Collaboration License on page 5
For More Information on page 5
Support and Contact Information on page 6
Audience
This installation guide assumes you have a thorough understanding of system
administration concepts and tasks and are familiar with email communication
standards, security concepts, directory services, and database management.
This chapter describes the components that are installed and reviews the
configuration options that can be made when you install the Zimbra
Collaboration (ZCS).
Topics in this chapter include:
Zimbra Application Packages on page 7
Configuration Examples on page 9
Downloading the Zimbra Software on page 9
Zimbra License Requirements on page 9
Menu-Driven Configuration on page 12
Overview of the Zimbra Proxy Server on page 21
Configuring for Virtual Hosting on page 25
• Message store. The message store is where all email messages and
file attachments reside.
• Index store. Index and search technology is provided through Lucene.
Index files are maintained for each mailbox.
• Web application services. The Jetty web application server runs web
applications (webapps) on any store server. It provides one or more web
application services.
Zimbra MTA. Postfix is the open source mail transfer agent (MTA) that
receives email via SMTP and routes each message to the appropriate
Zimbra mailbox server using Local Mail Transfer Protocol (LMTP). The
Zimbra MTA also includes the anti-virus and anti-spam components.
Zimbra Proxy. Zimbra Proxy is a high-performance reverse proxy service
for passing IMAP[S]/POP[S]/HTTP[S] client requests to other internal ZCS
services.This package is normally installed on the MTA server(s) or on its
own independent server(s). When the zimbra-proxy package is installed,
the proxy feature is enabled by default. Installing the Zimbra Proxy is highly
recommended, and required if using a separate web application server.
Zimbra Memcached. Memcached is automatically selected when the
zimbra-proxy is installed. At least one server must run zimbra-memcached
when the proxy is in use. You can use a single memcached server with one
or more Zimbra proxies.
Zimbra SNMP. Installing the Zimbra SNMP package is optional. If you
choose to install zimbra-SNMP for monitoring, this package should be
installed on every Zimbra server.
Zimbra Logger. Installing the Zimbra Logger package is optional and is
installed on one mailbox server. The Zimbra Logger installs tools for syslog
aggregation and reporting. If you do not install Logger, the server statistics
section of the administration console will not display.
Note: The Logger package must be installed at the same time as the
mailbox server.
Zimbra Spell. Installing the Zimbra Spell package is optional. Aspell is the
open source spell checker used on the Zimbra Web Client.
Zimbra Apache. This package is installed automatically when Zimbra Spell
or Zimbra Convertd is installed.
Zimbra Convertd. Zimbra-convertd package is installed on the zimbra-
store server. Only one Zimbra-convertd package needs to be present in the
Zimbra Collaboration environment. The default is to install one zimbra-
convertd on each zimbra-store server.
Zimbra Archiving. The Zimbra Archiving and Discovery feature is an
optional feature for ZCS Network Edition. Archiving and Discovery offers
the ability to store and search all messages that were delivered to or sent
by ZCS. This package includes the cross mailbox search function which
can be used for both live and archive mailbox searches.
Note: Using Archiving and Discovery can trigger additional mailbox license
usage. To find out more about Zimbra Archiving and Discovery, contact
Zimbra sales.
Configuration Examples
ZCS can be easily scaled for any size of email environment, from very small
businesses with fewer than 25 email accounts to large businesses with
thousands of email accounts. Contact Zimbra Sales for more information
about setting up your environment.
License Activation
All network edition installations require license activation. New installations
have a 10 day grace period from the license issue date before requiring
activation. Your license can be activated from the administration console by
selecting Configure>Global Settings>License page, then clicking Activate
License in the toolbar. You can also activate your license from the command
line interface.
Upgraded ZCS versions require an immediate activation of a valid license to
maintain network feature functionality.
Licenses are automatically activated if the ZCS server has a connection to the
Internet and can communicate with the Zimbra License server. If you are
unable to automatically activate your license, see the next section Manual
License Activation.
For systems that do not have external access to the Zimbra License server,
you can use the Zimbra Support Portal to manually activate your license. Go
to the Zimbra website at www.zimbra.com and click on the Support page to
display the Zimbra Technical Support page. Click on the Support Portal Login
button to display the Zimbra Support Portal page. Enter your email and
password to log in.
If you have problems accessing the Support Portal, contact Zimbra Sales at
[email protected] or by calling 1-650-427-5701.
License expired. If the license ending date has passed and the 30 day
grace period expired, the ZCS server defaults to the feature set of the Open
Source Edition.
Obtaining a License
Go to Zimbra’s Website to obtain a trial license from the Network Downloads
area. Contact Zimbra sales regarding a trial extended license, or to purchase
a subscription license or perpetual license, by emailing [email protected] or
calling 1-650-427-5701.
The subscription and perpetual license can only be installed on the ZCS
system for which it is purchased. Only one Zimbra license is required for your
Zimbra Collaboration environment. This license sets the number of accounts
that can be created.
Current license information, including the number of accounts purchased, the
number of accounts used, and the expiration date, can be viewed from
Configure>Global Settings>License page on the administration console.
Menu-Driven Configuration
The menu driven installation displays the components and their existing
default values. During the installation process you can modify the default
values. Only those menu options associated with the package being installed
are displayed.
The following table describes the Main menu common configuration options.
Server
Main Menu Description
Configured
Common Configuration
All LDAP master host The LDAP master host name. This
LDAP host name is configured on
every server
All LDAP Admin password Password for the Zimbra admin user
and is configured on every server
Server
Main Menu Description
Configured
All servers, if zimbra-snmp You can modify the following options
installed Installing SNMP is • Enable SNMP notifications. The
optional, but if installed it default is No. If you enter yes, you
must be on all servers. must enter the SNMP Trap
hostname.
• SNMP Trap hostname
• Enable SMTP notification — The
default is No.
• SMTP Source email address — If
you enter yes for SMTP
notification, you must enter the
SMTP source email address and
SMTP Destination email address
— destination email address.
Zimbra zimbra-mta Postfix is the open source mail transfer agent (MTA)
mailbox that receives email via SMTP and routes each
server message to the appropriate Zimbra mailbox server
using Local Mail Transfer Protocol (LMTP). The
Zimbra MTA also includes the anti-virus and anti-
spam components.
Zimbra Default Class This menu lists major new features for the ZCS
mailbox of Service release and whether feature are enabled or not.
server Configuration When you change the feature setting during ZCS
installation, you change the default COS settings.
Zimbra Enable default Default is Yes. Sets the schedule for Backup session
mailbox backup to run as a full backup every Sunday at 1 a.m. and as
server schedule incremental on the other days at 1 a.m.
Note: New installs of ZCS limit spam/ham training to the first MTA installed. If
you uninstall or move this MTA, you will need to enable spam/ham
training on another MTA, as one host should have this enabled to run
zmtrainsa --cleanup. To do this set zmlocalconfig -e
zmtrainsa_cleanup_host=TRUE.
Deployment Strategy
The deployment strategy and position with respect to non-proxy hosts, Zimbra
actively suggests using the Proxy server on the edge (either on an
independent server or on the same server running LDAP/MTA) with mailbox
servers behind it. In the case of multiple proxies, an external load balancer
can be placed in front to distribute the load evenly among the proxy servers.
Note the Zimbra Proxy package does not act as a firewall and needs to be
behind the firewall in customer deployments.
1) Status: Enabled
2) Enable POP/IMAP Proxy: TRUE
3) IMAP proxy port: 143
4) IMAP SSL proxy port: 993
5) POP proxy port: 110
6) POP SSL proxy port: 995
7) Bind password for nginx ldap user: set
8) Enable HTTP[S] Proxy: TRUE
9) HTTP proxy port: 80
10) HTTPS proxy port: 443
11) Proxy server mode: https
HTTP 80
HTTPS 443
POP3 110
IMAP 143
Important: Do not manually create the user ‘zimbra’ before running the ZCS
installation. The installation automatically creates this user and sets up its
environment.
System Requirements
For the ZCS system requirements see System Requirements for Zimbra
Collaboration at the end of this guide.
You must configure a relay host if you do not enable DNS. After ZCS is
installed, go to the Configure>Global Settings>MTA page on the administration
console and uncheck Enable DNS lookups. Enter the relay MTA address to
use for external delivery.
The multiple-server installation is straight-forward and easy to run. You run the
same installation script on each server, select the component(s) to install, and
use the menu to configure the system.
When the server installation is complete after final set-up and server
configuration steps are run, the servers are started and the status is displayed.
Topics in this chapter include:
Starting the Installation Process on page 32
Installing Zimbra LDAP Master Server on page 37
Installing the Zimbra Mailbox Server on page 41
Installing Zimbra MTA on a Server on page 48
Installing Zimbra Proxy on page 52
Installing zimbra-archiving Package on page 56
Installing the zimbra-SNMP Package on page 57
Final Set-Up on page 58
Verifying Server Configuration on page 60
Logging on to the Administration Console on page 60
Post Installation Tasks on page 61
Uninstalling Zimbra Collaboration on page 62
Order of Installation
1. Zimbra LDAP server(s)
Note: Zimbra-proxy is normally installed on the MTA server or you can install
it on its own server.
Important: Do not manually create the user ‘zimbra’ before running the ZCS
installation. The installation automatically creates this user and sets up its
environment.
Important: Before you start, verify that the system clocks are synced on all
servers.
Note: The screen shots are examples of the Zimbra installation script. The
actual script may be different.
1. Log in as root to the Zimbra server and cd to the directory where the
Zimbra Collaboration archive file is saved (cd /var/<tmp>). Type the
following commands.
• tar xzvf [zcs.tgz] to unpack the file
• cd [zcs filename] to change to the correct directory. The file name
includes the release and build date.
• ./install.sh to begin the installation.
Note: As the installation proceeds, press Enter to accept the defaults that
are shown in brackets [ ] or enter the appropriate answer for your
configuration.
3. The Zimbra software agreement displays. Read the agreement and when
Do you agree with the terms of the software license agreement? [N]
displays, enter Y to continue.
Important: The license agreement displays in three sections, and you must
accept each section of the license agreement.
4. The Zimbra software agreement displays. Read the agreement and when
Do you agree with the terms of the software license agreement? [N]
displays, enter Y to continue.
Important: The license agreement displays in three sections, and you must
accept each section of the license agreement.
Do you agree with the terms of the software license agreement? [N] y
system will be configured to add the Zimbra packaging repository for yum
or apt-get as appropriate so it can install the Zimbra third party packages.
Note: For the cross mailbox search feature, install the Zimbra Archive
Package. To use the archiving and discovery feature, contact Zimbra
Sales.
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-dnscache
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-convertd
Found zimbra-memcached
Found zimbra-proxy
Found zimbra-archiving
6. Next, the installer checks to see that the prerequisite packages are
installed as listed in the Other Dependencies section of the System
Requirements for Zimbra Collaboration.
Note: Before the Main menu is displayed, the installer checks to see if the
hostname is resolvable via DNS and if there is an error asks you if
would like to change the hostname. The domain name should have an
MX record configured in DNS.
2. Type Y and press Enter to install the zimbra-ldap package. The MTA, Store
and Logger packages should be marked N. In the following screen shot
example, the package to be installed is emphasized.
Installing:
zimbra-core
zimbra-ldap
3. Type Y, and press Enter to modify the system. The selected packages are
installed on the server.
The Main menu displays the default entries for the Zimbra component you
are installing. To expand the menu to see the configuration values type x
and press Enter. The main menu expands to display configuration details
for the package being installed. Values that require further configuration
are marked with asterisks (*).
To navigate the Main menu, select the menu item to change. You can
modify any of the values. See Main Menu Options on page 13 for a
description of the Main menu.
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) Enable default backup schedule: yes
s) Save config to file
x) Expand menu
q) Quit
Common Configuration:
1)Hostname: ldap-1.example.com
2)Ldap master host: ldap-1.example.com
3)Ldap port: 389
4)Ldap Admin password: set
5)Secure interprocess communications: Yes
6)TimeZone: (GMT-08.00) Pacific Time (US & Canada)
7)IP Mode: ipv4
8) Default SSL digest: sha256
8. From the Main menu, type 2) zimbra-ldap to view the Ldap configuration
settings.
Ldap configuration
1) Status: Enabled
2) Create Domain: yes
3) Domain to create ldap-1.example.com
4) Ldap root password: set
5) Ldap replication password: set
6) Ldap postfix password: set
7) Ldap amavis password: set
8) Ldap nginx password: set
9) Ldap Bes Searcher password: set
10. When Save configuration data to file appears, type Yes and press Enter.
11. The next request asks where to save the files. To accept the default, press
Enter. To save the files to another directory, enter the directory and press
Enter.
12. When The system will be modified - continue? appears, type y and press
Enter.
The server is modified. Installing all the components and configuring the
server can take a few minutes. This includes but is not limited to setting
local config values, creating and installing SSL certificates, setting
passwords, timezone preferences, and starting the servers, among other
processes.
13. When Configuration complete - press return to exit displays, press Enter.
Important: A web application server split environment must have proxy and
memcached installed.
The Zimbra license file can be installed on one of the mailbox servers during
the installation. If you do not have a license file, you can install it from the
administration console when the ZCS install is complete. See Zimbra License
Requirements on page 9.
2. Type Y and press Enter to install the zimbra-logger (optional and only on
one mail server) and zimbra-store. In the following screen shot example,
the packages to be installed are emphasized.
Installing:
zimbra-core
zimbra-logger
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-convertd
3. Type Y, and press Enter to modify the system. The selected packages are
installed on the server.
The Main menu displays the default entries for the Zimbra component you
are installing. To expand the menu to see the configuration values type x
and press Enter.
To navigate the Main menu, select the menu item to change. You can
modify any of the values. For information about the menu values, see
Planning for the Installation chapter, Menu-Driven Configuration section.
Main menu
1) Common Configuration:
+Hostname: mailstore-1.example.com
******* +Ldap master host: UNSET
+Ldap port: 389
******* +Ldap Admin password: UNSET
+Secure interprocess communications: yes
+TimeZone: (GMT-08.00) Pacific Time (US & Canada)
+IP Mode: ipv4
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: [email protected]
******* +Admin Password UNSET
+Anti-virus quarantine user:: virus-
[email protected]
+Enable automated spam training: yes
+Spam training user: [email protected]
+Non-spam(Ham) training user: ham.msoyzx@mailstore-
1.example.com
+SMTP host mailstore-1.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://mailstore-
1.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
+Install mailstore (service webapp): yes
+Install UI (zimbra,zimbraAdmin webapps): yes
+Version update notification email: admin@mailstore-
1.example.com
+Version update source email: [email protected]
******* +License filename: UNSET
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) zimbra-convertd: Enabled
9) Enable VMware HA: Enabled
10) Default Class of Service Configuration:
11) Enable default backup schedule: yes
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Common configuration
1) Hostname: mailstore-1.example.com
**2) Ldap master host: UNSET
3) Ldap port: 389
** 4) Ldap Admin password: UNSET
5) LDAP Base DN: cn=zimbra
6) Secure interprocess communications: yes
7) TimeZone: America/Chihuahua
8) IP Mode: ipv4
9) Default SSL digest: sha256
The mailbox server hostname is displayed. You must change the LDAP
master host name and password to be the values configured on the LDAP
server.
• Type 2, press Enter, and type the LDAP host name.
(ldap-1.example.com in this example.)
• Type 4, press Enter, and type the LDAP password.
To obtain the LDAP password, you will need to log on to the LDAP server
as the zimbra user, and run the following command:
zmlocalconfig -s zimbra_ldap_password
After you set these values, the server immediately contacts the LDAP
server. If it cannot contact the server, you cannot proceed.
• Type 7 to set the correct time zone.
5. Type r to return to the Main menu.
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create:
[email protected]
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-
[email protected]
6) Enable automated spam training: yes
7) Spam training user: [email protected]
8) Non-spam(Ham) training user:
[email protected]
9) SMTP host: mailhost.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://mailhost.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:
[email protected]
24) Version update source email:
[email protected]
25) Install mailstore (service webapp): yes
26) Install UI (zimbra,zimbraAdmin webapps): yes
**27) License filename: UNSET
Note: By default, the email addresses for the admin account, spam, non-
spam, wiki are set to be the zimbra mailstore server address. You
may want to change these to be the ZCS primary domain address
instead. (example.com in this example)
• Type the corresponding number to set the SMTP host. This is the mta-
server host name.
• Type the corresponding number if you want to change the default web
server mode. The communication protocol options are HTTP, HTTPS,
mixed, both or redirect.
Mixed mode uses HTTPS for logging in and HTTP for normal session
traffic
Both mode means that an HTTP session stays HTTP, including during
the login phase, and an HTTPS session remains HTTPS throughout,
including the login phase.
Redirect mode redirects any users connecting via HTTP to a HTTPS
connection.
All modes use SSL encryption for back-end administrative traffic.
• If you are configuring proxy servers, type the corresponding number to
enable the servers. When you enable these, the mail server port and
proxy port numbers are automatically changed. See the Planning for the
Installation chapter, Configuring Proxy Server.
• If you install the zimbra spell package, it is installed on every mailstore.
The http address for each is the mailstore server it is installed on host
name.
• Enable version update checks and Enable version update notifications
are set to TRUE. ZCS automatically checks for the latest ZCS software
updates and notifies the account that is configured in Version update
notification email. You can modify this later from the administration
console.
• If the zimbra-proxy package is not installed on the mailbox server, two
menu options are displayed so you can preconfigure the mailbox server
for use with the zimbra proxy server:
• Configure for use with mail proxy
• Configure for use with web proxy
Set either or both of these to TRUE if you are going to set up zimbra-
proxy. The zimbra-proxy ports display in the menu when these are set
to TRUE.
• Type the corresponding menu number to install the Zimbra license file.
Enter the location of the Zimbra license file. For example, if you saved
the license file to the tmp directory, you would type /tmp/ZCSLicense.xml.
You cannot proceed without a license.
Note: See the release notes for additional configuration information for
installing a split node environment.
10. When the mailbox server is configured, return to the Main menu and type
a to apply the configuration changes. Press Enter to save the configuration
data.
12. The next request asks where to save the files. To accept the default, press
Enter. To save the files to another directory, enter the directory and then
press Enter.
13. When The system will be modified - continue? appears, type y and press
Enter.
The server is modified. Installing all the components and configuring the
mailbox server can take a few minutes. This includes installing SSL
certificates, setting passwords, setting ports, installing skins and zimlets,
setting time zone preferences, and starting the servers, among other
processes.
14. When Configuration complete - press return to exit displays, press Enter.
Installing:
zimbra-mta
zimbra-dnscache
Main menu
1) Common Configuration:
+Hostname: mta-1.example.com
******* +Ldap master host: UNSET
+Ldap port: 389
******* +Ldap Admin password: UNSET
+LDAP Base DN: cn=zimbra
+Secure interprocess communications: yes
+TimeZone: (GMT-08.00) Pacific
Time (US & Canada)
+IP Mode: ipv4
+Default SSL digest: sha256
2) zimbra-mta: Enabled
********+MTA Auth host: mta-1.example.com
+Enable Spamassassin: yes
+Enable Clam AV: yes
+Enable OpenDKIM: yes
+Notification address for AV alerts: admin@mta-
1.example.com
+Bind password for postfix ldap user: UNSET
+Bind password for amavis ldap user: UNSET
3) zimbra-dnscache: Enabled
4) Enable default backup schedule: yes
s) Save config to file
x) Expand menu
q) Quit
4. The Main menu displays. Type 1 and press Enter to go to the Common
Configuration menu.
Common Configuration:
1)Hostname: mta-1.example.com
2)Ldap master host: ldap-1.example.com
3)Ldap port: 389
4)Ldap Admin password: set
5)LDAP Base DN: cn=zimbra
6)Secure interprocess communications yes
7)TimeZone: (GMT-08.00) Pacific Time
(US & Canada)
8)IP Mode: ipv4
9) Default SSL digest: sha256
The mailbox server hostname is displayed. You must change the LDAP
master host name and password to be the values configured on the LDAP
server.
• Type 2, press Enter, and type the LDAP host name.
(ldap-1.example.com in this example.)
• Type 4, press Enter, and type the LDAP password.
After you set these values, the server immediately contacts the LDAP
server. If it cannot contact the server, you cannot proceed.
• Type 7 to set the correct time zone.
5. Type r to return to the Main menu.
Mta configuration
1) Status: Enabled
**2) MTA Auth host: UNSET
3) Enable Spamassassin: yes
4) Enable Clam AV: yes
5) Enable OpenDKIM: yes
6) Notification address for AV alerts: [email protected]
**7) Bind password for postfix ldap user: UNSET
**8) Bind password for amavis ldap user: UNSET
• Type 2 to set the MTA Auth host. This is the MTA authentication server
host name and is set to one of the Zimbra mailbox server’s hostname.
• You can change 6, AV alerts notification address. This should be an
address on the domain, such as the admin address.
([email protected])
Note: If you enter an address other than the admin address, you must
provision an account with that address after the installation is
complete.
You must set the same postfix ldap user password and the same amavis
ldap user password that is configured on the LDAP master server.
• Type 7 and enter the postfix password.
• Type 8 and enter the amavis password.
7. Type r to return to the Main menu.
Note: If you are installing the zimbra-proxy package, see Installing Zimbra
Proxy on page 52 before continuing.
8. When the MTA server is configured, return to the Main menu and type a to
apply the configuration changes. Press Enter to save the configuration
data.
10. The next request asks where to save the files. To accept the default, press
Enter. To save the files to another directory, enter the directory and then
press Enter.
11. When The system will be modified - continue? appears, type y and press
Enter.
The server is modified. Installing all the components and configuring the
MTA server can take a few minutes. This can include setting passwords,
setting ports, setting time zone preferences, and starting the server,
among other processes.
12. When Installation complete - press return to exit displays, press Enter.
If you are installing zimbra-proxy on the MTA server, select the zimbra-proxy
package and the zimbra-memcached package. Follow the installation process
for Installing Zimbra MTA on a Server on page 48. After Step 8, configure the
Zimbra-proxy.
2. The Main menu displays the default entries for the Zimbra component you
are installing. Select Proxy Configuration menu. You can modify any of the
values.
• The Bind password for Nginx ldap user is configured when the LDAP
server was installed. This is set when the MTA connected to the LDAP
server. This is not used unless the Kerberos5 authenticating mechanism
is enabled. Note: Setting the password even though GSSAPI auth/proxy
is not set up does not cause any issues.
Proxy configuration
1) Status: Enabled
2) Enable POP/IMAP Proxy: TRUE
3) IMAP proxy port: 143
4) IMAP SSL proxy port: 993
5) POP proxy port: 110
6) POP SSL proxy port: 995
7) Bind password for nginx ldap user:set
8) Enable HTTP[S] Proxy: TRUE
9) HTTP proxy port: 80
10) HTTPS proxy port: 443
11) Proxy server mode: https
Return to the MTA section, Step 8 on page 51 to continue the MTA server
installation.
Installing:
zimbra-memcached
zimbra-proxy
4. The Main menu displays. Type 1 and press Enter to go to the Common
Configuration menu.
The mailbox server hostname is displayed. You must change the LDAP
master host name and password to be the values configured on the LDAP
server.
• Type 2, press Enter, and type the LDAP host name.
(ldap-1.example.com, in this example.)
• Type 4, press Enter, and type the LDAP password.
After you set these values, the server immediately contacts the LDAP
server. If it cannot contact the server, you cannot proceed.
• Type 7 to set the correct time zone.
5. Type r to return to the Main menu.
Main menu
1) Common Configuration:
+Hostname: localhost
+Ldap master host: ldap-1.example.com
+Ldap port: 389
+Ldap Admin password: set
+LDAP Base DN: cn=zimbra
+Secure interprocess communications: yes
+TimeZone: (GMT-08.00) Pacific
Time (US & Canada)
+IP Mode: ipv4
+Default SSL digest: sha256
2) zimbra-proxy: Enabled
+Enable POP/IMAP Proxy: TRUE
+IMAP server port: 7143
+IMAP server SSL port: 7993
+IMAP proxy port: 143
+IMAP SSL proxy port: 993
+POP server port: 7110
+POP server SSL port: 7995
+POP proxy port: 110
+POP SSL proxy port: 995
******* +Bind password for nginx ldap user: Not Verified
+Enable HTTP[S] Proxy: TRUE
+Web server HTTP port: 8080
+Web server HTTPS port: 8443
+HTTP proxy port: 80
+HTTPS proxy port: 443
+Proxy server mode: https
7. The Proxy Configuration menu displays. You can modify any of the values.
• The Bind password for Nginx ldap user is configured when the LDAP
server was installed. This is set when the MTA connected to the LDAP
server. This is not used unless the Kerberos5 authenticating mechanism
is enabled. Note: Setting the password even though GSSAPI auth/proxy
is not set up does not cause any issues.
Proxy configuration
1) Status: Enabled
2) Enable POP/IMAP Proxy: TRUE
3) IMAP server port: 7143
4) IMAP server SSL port: 7993
5) IMAP proxy port: 143
6) IMAP SSL proxy port: 993
7) POP server port: 7110
8) POP server SSL port: 7995
9) POP proxy port: 110
10) POP SSL proxy port: 995
11) Bind password for nginx ldap user: set
12) Enable HTTP[S] Proxy: TRUE
13) Web server HTTP port: 8080
14) Web server HTTPS port: 8443
15) HTTP proxy port: 80
16) HTTPS proxy port: 443
17) Proxy server mode: https
9. When the proxy server is configured, return to the Main menu and type a
to apply the configuration changes. Press Enter to save the configuration
data.
11. The next request asks where to save the files. To accept the default, press
Enter. To save the files to another directory, enter the directory and then
press Enter.
12. When The system will be modified - continue? appears, type y and press
Enter.
13. When Installation complete - press return to exit displays, press Enter.
cross mailbox) search tool and sets the attributes that allow archiving to be
enabled on the Zimbra MTAs.
To enable archiving and discovery, select the zimbra-store and zimbra-
archiving packages during your installation process. The zimbra-core package
is installed by default.
Installing:
zimbra-core
zimbra-store
zimbra-archiving
8) zimbra-snmp: Enabled
+Enable SNMP notifications: yes
+SNMP Trap hostname: example.com
+Enable SMTP notifications: yes
+SMTP Source email address: [email protected]
+SMTP Destination email address: [email protected]
Final Set-Up
After the Zimbra servers are configured in a multi-node configuration, the
following functions must be configured:
In order for remote management and postfix queue management, the ssh
keys must be manually populated on each server. See Set Up the SSH
Keys.
If logger is installed, set up the syslog configuration files on each server to
enable server statistics to display on the administration console, and then
enable the logger monitor host. The server statistics includes information
about the message count, message volume, and anti-spam and anti-virus
activity. See Enabling Server Statistics Display.
Zimbra Collaboration ships a default zimbra user with a disabled password.
ZCS requires access to this account via ssh public key authentication. On
most operating systems this combination is okay, but if you have modified
pam rules to disallow any ssh access to disabled accounts then you must
define a password for the zimbra UNIX account. This will allow ssh key
authentication for checking remote queues. See the Zimbra wiki article,
http://wiki.zimbra.com/wiki/Mail_Queue_Monitoring.
2. On the logger monitor host, you must enable either syslog or rsyslog to log
statistics from remote machines:
For syslog:
a. Edit the /etc/sysconfig/syslog file, add -r to the SYSLOGD_OPTIONS
setting, SYSLOGD_options=”-r -m 0”
b. Stop the syslog daemon. Type /etc/init.d/syslog stop
c. Start the syslog daemon. Type /etc/init.d/syslog start
For syslog on Debian or Ubuntu:
a. Edit the /etc/default/syslogd file, add -r to the SYSLOGD_OPTIONS
setting, SYSLOGD_options=”-r -m 0”
b. Stop the syslog daemon. Type /etc/init.d/sysklogd stop
c. Start the syslog daemon. Type /etc/init.d/sysklogd start
For rsyslog:
a. Uncomment the following lines in /etc/rsyslog.conf
$modload imudp
$UDPServerRun 514
b. Restart rsyslog
#
# uncomment to process log messages from network:
#
#udp(ip("0.0.0.0") port(514));
2. Type su - zimbra.
Note: If services are not started, you can type zmcontrol start. See the CLI
command appendix in the Administration Guide for more zmcontrol
commands.
Note: The administration console address must be typed with “https”, even if
you configured only “http”.
Note: The first time you log on, a certificate authority (CA) alert may be
displayed. Click Accept this certificate permanently to accept the
2. Enter the admin user name and password configured during the
installation process. Enter the user name as [email protected].
Provisioning Accounts
You can configure one account at a time with the New Account Wizard or you
can create many accounts at once using the Account Migration Wizard.
The administration console New Account Wizard steps you through the
account information to be completed.
Note: Four accounts are listed: admin account, two spam training
accounts, and a global Documents account. These accounts do not
need any additional configuration.
2. Click New. The first page of the New Account Wizard opens.
3. Enter the account name to be used as the email address and the last
name. This the only required information to create an account.
4. You can click Finish at this point, and the account is configured with the
default COS and global features.
To configure aliases, forwarding addresses, and specific features for this
account, proceed through the dialog before you click Finish.
When the accounts are provisioned, these accounts can immediately start to
send and receive emails.
You can provision multiple accounts at once using the Account Migration tool
from the administration console. The wizard guides you through the steps to
import accounts from an external directory server, either Active Directory or an
LDAP server. The wizard downloads account information from your directory
and creates the accounts in ZCS.
Refer to the administration guide to learn more about provisioning accounts.
Zimbra’s migration and import tools can be used to move users’ email
messages, calendars, and contacts from their old email servers to their
accounts on the Zimbra server. When the user’s files are imported, the folder
hierarchy is maintained. These tools can be accessed from the administration
console Download page and instruction guides are available from the
Administration Console Help Desk.
1. Change directories to the original install directory for the zcs files.
6. Additional files may need to be delete. See the Zimbra Wiki Installation
section on http://wiki.zimbra.com/wiki/UnInstall_Zimbra.
In the Zimbra Collaboration (ZCS) single server environment, the LDAP, MTA,
and mailbox services are on one machine. This chapter explains how to add a
new machine that is configured as a mailbox server to a single server
configuration and how to remove the mailbox server from the single server
node.
Overview of Process
Zimbra Mailbox Server is installed on the prepared machine.
Customized configuration for the single-server, such as custom themes
and Zimlets are added to the new mailbox server.
Commercial SSL certificates are added to the new mailbox server.
User accounts are moved from the single server to the new mailbox server.
If you are moving all accounts from the single server, the mailbox server is
stopped on the single server machine.
Make sure you know the LDAP master password as you configure it on the
sever that is being added. To find the master LDAP password on the single
server node, type
zmlocalconfig -s zimbra_ldap_password
Important: Before you begin make sure you have an up-to-date backup!
Note: If SNMP is being used, type Y for the zimbra-SNMP. If SNMP is used,
it is installed on every Zimbra server.
3. Type Y, and press Enter to modify the system. The selected packages are
installed on the server.
The Main menu displays the default entries for the Zimbra component you
are installing.
• Type the corresponding number to set the SMTP host. This is the mta-
server host name.
• Type the corresponding number if you want to change the default web
server mode.
• If you are setting up IMAP/POP proxy servers, type the corresponding
number to enable the servers.
• If the zimbra-proxy is used and is installed on another server, configure
the following menu options
• Configure for use with mail proxy
• Configure to use with web proxy
Set either or both of these to TRUE if you are going to set up zimbra -
proxy.
• Type the corresponding menu number to install the Zimbra license file.
Enter the location of the license file. For example, if you saved the
license file to the tmp directory, you would type /tmp/ZCSLicense.xml.
You cannot proceed without a license file.
• If you are setting up proxy servers, type the corresponding number to
enable the servers. When you enable these, IMAP/POP/HTTP server
port numbers and proxy port numbers are automatically changed. See
the Planning for the Installation chapter, Configuring Proxy Server.
7. When the mailbox server is configured, return to the Main menu and type a
to apply the configuration changes. Press Enter to save the configuration
data.
9. The next request asks where to save the files. To accept the default, press
Enter. To save the files to another directory, enter the directory and then
press Enter.
10. When The system will be modified - continue? appears, type y and press
Enter.
The server is modified. Installing all the components and configuring the
mailbox server can take a few minutes. This includes installing SSL
certificates, setting passwords, setting ports, installing skins and Zimlets,
setting time zone preferences, and starting the servers, among other
processes.
11. When Configuration complete - press return to exit displays, press Enter.
Move Mailboxes
The command, zmmboxmove, is run to move user accounts from the mailbox
server on the single-sever node to the new mailbox server.
You can set global options to exclude items from the mailbox move. See the
Zimbra Collaboration Administrator Guide, Managing User Accounts chapter
for more information about the mailbox move feature.
Move the following types of mailboxes
User accounts.
Admin mailboxes. If you do not move the admin mailbox, you cannot log
into the Zimbra Web Client.
Spam and ham mailboxes.
Note: If you were using Archive and Discovery on the single server mailbox,
move the archival mailboxes as well.
3. Type Y, and press Enter to modify the system. The selected packages are
installed.
The Main menu shows the default entries for the LDAP server.
4. Type 1 to display the Common Configuration submenus.
a. Type 2 to change the Ldap Master host name to the name of the
primary master name host (example, master1.example.com).
b. Type 4 to change the LDAP admin password to the Zimbra admin
password of the primary master.
Type r to return to the main menu.
5. Type 2 to display the LDAP configuration submenu.
a. Type 4 to change the type to mmr.
b. Note that 5, LDAP Server ID, is set to 2. If this is the second master,
leave it unchanged. If it the third or later master, select 5 and update
the server ID.
The next four steps are to change the default passwords on this server to
match the passwords on the master1 LDAP server.
c. Type 7 to change the LDAP replication password.
d. Type 8 to change the LDAP postfix password.
e. Type 9 to change the LDAP amavis password.
f. Type 10 to change the LDAP NGINX password.
Type r to return to the main menu.
6. Type a to apply the configuration changes. Press Enter to save the
configuration data.
8. When The system will be modified - continue? appears, type y and press
Enter.
The server is modified. Installing all the components and configuring the
server can take a few minutes.
9. When Installation complete - press return to exit displays, press Enter. The
installation is complete.
10. Update the ldap_master_url attribute to contain both masters, enter this
new master as the first master in the list.
1. On the master LDAP server find the LDAP replication, Postfix, Amavis,
and NGINX passwords
zmlocalconfig -s | grep passw | grep ldap
2. Change the LDAP passwords on the server you are promoting to be the
same as the first master LDAP server.
• LDAP replication password = zmldappasswd -l <password>
• LDAP postfix password = zmldappasswd -p <password>
• LDAP amavis password = zmldappasswd -a <password>
• LDAP NGINX password = zmldappasswd -n <password>
3. Assign the next Server ID to this master. This example is 3
/opt/zimbra/libexec/zmldappromote-replica-mmr -s 3
4. Update the ldap_master_url attribute to add the master to the list.
zmlocalconfig -e ldap_master_url="ldap://<<master1.example.com>>:389 ldap://
<<master2.example.com>>:389 ldap://<<master3.example.com>>:389"
This updates the replica to be a multi-master replica, enabled with a server ID.
It is automatically configured to be a paired master with the master it was
previously replicating from.
Note: Deleting an MMR node can only be performed in ZCS 8.0.7 and later.
3. Monitor /var/log/zimbra.log on the MMR node that will be shut down and
confirm it is no longer receiving modification traffic.
4. Run ldap stop on the MMR node that is being shut down.
5. Log into the remaining MMR nodes and perform the following:
a. /opt/zimbra/libexec/zmldapmmrtool -q
b. Find the matching RID for the MMR node you shut down
c. /opt/zimbra/libexec/zmldapmmrtool -d -o RID
zimbra@ldap1:/tmp/mmr$ ./zmldapmmrtool -q
Master replication information
Master replica 1
rid: 100 URI: ldap://ldap2.example.com:389/ TLS: critical
Master replica 2
rid: 101 URI: ldap://ldap3.example.com:389/ TLS: critical
zimbra@ldap1:/tmp/mmr$ ./zmldapmmrtool -q
Master replication information
Master replica 1
rid: 100 URI: ldap://ldap2.example.com:389/ TLS: critical
zimbra@ldap1:/tmp/mmr$
Feature Requirement
Run the script zmreplchk located in /opt/zimbra/libexec.
Important: This script must be run on a ZCS server that has a localconfig
value set for ldap_url that includes all of the master servers.
[email protected]
Master: ldap://ldap003.example.com:389 Code: 0 Status: In Sync CSN:
20120528123456.123456Z#000000#001#000000
Master: ldap://ldap004.example.com:389 Code: 0 Status: In Sync CSN:
20120528123456.123456Z#000000#001#000000
Master: ldap://ldap005.example.com:389 Code: 4 Status: Server down
1. Type Y and press Enter to install the zimbra-ldap package. In the screen
shot below, the package to be installed is emphasized.
Installing:
zimbra-core
zimbra-ldap
2. Type Y, and press Enter to modify the system. The selected packages are
installed.
The Main menu shows the default entries for the LDAP replica server. To
expand the menu type X and press Enter.
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
.
.
.
.
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Common Configuration:
1)Hostname: ldap-1.example.com
2)Ldap master host: ldap-1.example.com
3)Ldap port: 389
4)Ldap Admin password: set
5)Secure interprocess communications: Yes
6)TimeZone: (GMT-08.00) Pacific Time (US & Canada)
4. Type 2 to change the Ldap Master host name to the name of the Master
LDAP host.
5. Type 3, to change the port to the same port as configured for the Master
LDAP server.
6. Type 4 and change the password to the Master LDAP Admin user
password. Type r to return to the main menu.
Ldap configuration
1) Status: Enabled
2) Create Domain: no
3) Ldap Root password: set
4) Ldap Replication password: set
5) Ldap Postfix password: set
6) Ldap Amavis password: set
7) Ldap Nginx password: set
Note: All passwords must be set to match the master ldap admin user
password.To determine this value on the master LDAP, run
zmlocalconfig -s ldap_replication_password
Important: If you have installed Zimbra MTA on the LDAP server, configure
the Amavis and the Postfix passwords. To find these values, run
zmlocalconfig -s ldap_amavis_password
zmlocalconfig -s ldap_postfix_password
10. When The system will be modified - continue? appears, type y and press
Enter.
The server is modified. Installing all the components and configuring the
server can take a few minutes.
11. When Installation complete - press return to exit displays, press Enter.
The installation on the replica LDAP server is complete. The content of the
master LDAP directory is copied to the replica LDAP server.
2. To see if the accounts were correctly copied to the replica LDAP server, on
the replica LDAP server, type zmprov -l gaa. Type zmprov gad to check all
domains.
The accounts/domains created on the master LDAP server should display
on the replica LDAP server.
In cases where the mailbox server is not setup, you can also use the following
command for account creation.
zmprov ca <name@domain> <password> zimbraMailTransport <where_to_deliver>
2. Update the ldap_url value. Enter the replica LDAP server URL
zmlocalconfig -e ldap_url=”ldap://<replicahost> ldap://<masterhost>”
Enter more than one replica hostnames in the list typed as ”ldap://
<replicahost1> ldap://<replicahost2> ldap://<masterhost>”. The hosts are tried
in the order listed. The master URL must always be included and is listed
last.
3. Update the ldap_master_url value. Enter the master LDAP server URL, if
not already set.
zmlocalconfig -e ldap_master_url=ldap://<masterhost>:port
Additional Steps for MTA hosts. After updating the ldap_url, rerun /opt/zimbra/
libexec/zmmtainit.
3. Type zmcontrol start to start other current Zimbra services on the server.
Additional steps for MTA host. After updating the ldap_url with zmlocalconfig,
rerun /opt/zimbra/libexec/zmmtainit. This rewrites the Postfix configuration with
the updated ldap_url.
Feature Requirement
Run the script zmreplchk located in /opt/zimbra/libexec.
Important: This script must be run on a ZCS server that has a localconfig
value set for ldap_url that includes all of the replica servers and ends with the
master server.
[email protected]
Replica: ldap://ldap003.example.com:389 Code: 0 Status: In Sync
Replica: ldap://ldap004.example.com:389 Code: 4 Status: Server down
If the replica server becomes out of sync with the master server, the status
given indicates in a time format how far behind the master server it has
become:
Replica: ldap://ldap003.example.com:389 Code: 0 Status: In Sync
Replica: ldap://ldap004.example.com:389 Code: 6 Status: 0w 0d 0h 14m 42s
behind
Requirements
Servers Evaluation and Testing
• Intel/AMD 64-bit CPU 1.5 GHz
• RAM requirements:
• For single server installations, a minimum
of 8GB of RAM is required.
• For multi-server installations, contact
Zimbra sales for recommendations.
• 5 GB free disk space for software and logs
• Temp file space for installs and upgrades*
• Additional disk space for mail storage
Production environments
• Intel/AMD 2.0 GHZ+ 64-bit CPU
• RAM requirements:
• For single server installations, a minimum
of 8GB of RAM is required.
• For multi-server installations, contact
Zimbra sales for recommendations.
• Temp file space for installs and upgrades*
• 10 GB free disk space for software and logs (SATA
or SCSI for performance, and RAID/Mirroring for
redundancy)
• Additional disk space for mail storage
*Temp files space: The zimbra-store requires 5GB for /
opt/zimbra, plus additional space for mail storage. The
other nodes require 100MB.
General Requirements
• Firewall Configuration should be set to “No
firewall”.
• RAID-5 is not recommended for installations with
more than 100 accounts.
Other Dependencies For Ubuntu systems, disable AppArmor and verify that
the AppArmor service is not running before installing
Zimbra Collaboration.
Recommended
• Intel/AMD/Power PC CPU 1.5GHz
• 512MB RAM
EWS Interoperability
• Exchange 2007+
Monitor Display minimum resolution
1024 x 768
Available Languages
This section includes information about available languages, including End
User Translations and Administrator Translations.
Administrator Translations
Revision History
Legal Notices
Copyright © 2005-2016 Synacor, Inc. All rights reserved. This product is
protected by U.S. and international copyright and intellectual property laws.
“Zimbra” is a registered trademark of Synacor, Inc. in the United States and
other jurisdictions. You may not alter or remove any trademark, copyright, or
other notice from copies of the content. All other marks and names mentioned
herein may be trademarks of their respective companies.
Synacor, Inc.
40 La Riviere Drive, Suite 300
Buffalo, New York 14202
www.synacor.com