Zimbra NE Multi-Server Install 7.2
Zimbra NE Multi-Server Install 7.2
Zimbra NE Multi-Server Install 7.2
April 2012
Legal Notices
Copyright 2005-2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware and Zimbra are registered trademarks or trademarks of VMware, Inc. in the United States and/ or other jurisdiction. All other marks and names mentioned herein may be trademarks of their respective companies. VMware, Inc. 3401 Hillview Avenue Palo Alto, California 94304 USA www.zimbra.com
Table of Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Zimbra Collaboration Server License . . . . . . . . . . . . . . . . . . . . . . . . . . 5 For More Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Support and Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Planning for the Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Zimbra Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Downloading the Zimbra Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Zimbra License Requirements for ZCS Network Edition . . . . . . . . . . 10 Zimbra License Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 License Usage by ZCS Account Type . . . . . . . . . . . . . . . . . . . . . . . . 11 License Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 License Not Installed or Activated . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Obtaining a License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Menu-Driven Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Common Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Zimbra LDAP server configuration options . . . . . . . . . . . . . . . . . . . 15 Zimbra Mailbox Server Configuration Options . . . . . . . . . . . . . . . . . 17 Zimbra MTA Server Configuration Options . . . . . . . . . . . . . . . . . . . 21 Configuring IMAP and POP Proxy Server . . . . . . . . . . . . . . . . . . . . . 22 Configuring ZCS HTTP Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Configuring for Virtual Hosting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3 Preparing Your Server Environment . . . . . . . . . . . . . . . . . . . . . . . . 25
Starting the Installation Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Installing Zimbra LDAP Master Server . . . . . . . . . . . . . . . . . . . . . . . . 31 Installing Zimbra Mailbox Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Installing Zimbra MTA on a Server . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Installing zimbra-proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Installing zimbra-archiving Package . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Installing the zimbra-SNMP Package . . . . . . . . . . . . . . . . . . . . . . . . . 49 Final Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Note about MTA servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Verifying Server Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Logging on to the Administration Console . . . . . . . . . . . . . . . . . . . . . 51
VMware Zimbra Collaboration Server Network Edition 7.2 iii
Post Installation Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Defining Classes of Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Provisioning Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Uninstalling Zimbra Collaboration Server . . . . . . . . . . . . . . . . . . . . . . 53
5 Configuring LDAP Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Installing Zimbra Master LDAP Server . . . . . . . . . . . . . . . . . . . . . . . . 55 Enable Replication on the LDAP Master . . . . . . . . . . . . . . . . . . . . . . . 56 Installing a Replica LDAP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Test the replica . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Configuring Zimbra Servers to use LDAP Replica . . . . . . . . . . . . . . . 59 Uninstalling an LDAP replica server . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Remove LDAP replica from all active servers . . . . . . . . . . . . . . . . . 59 Disable LDAP on the Replica . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Monitoring LDAP Replication Status . . . . . . . . . . . . . . . . . . . . . . . . . 60 Feature Requirement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Error Codes and Status Explanations . . . . . . . . . . . . . . . . . . . . . . . . . 60
System Requirements for Zimbra Collaboration Server 7.2 . . . . . . 63
iv
Introduction
Information in this guide is intended for persons responsible for installing the Zimbra Collaboration Server. This guide will help you plan and perform all installation procedures necessary to deploy a fully functioning email system based on Zimbras messaging technology. This guide covers the installation of Zimbra Collaboration Server Network Edition 7.2. Topics in this chapter include: Audience 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.
Administrators Guide. This guide describes product architecture, server functionality, administration tasks, configuration options, and backup and restore procedures. Administrator Help. The administrator Help provides instructions about how to add and maintain your servers, domains, and user accounts from the admin console. Web Client Help. The Web Client Help provides instructions about how to use the Zimbra Web Client features. Migration Wizard Guides. These guide describes how to migrate users that are on Microsoft Exchange or Lotus Domino systems to the Zimbra Collaboration Server. Clustering Guide. This guide describes how to setup clustering for a single server or multiple servers.
Contact Zimbra Sales to purchase Zimbra Collaboration Server. Network Edition customers can contact support at [email protected]. Explore the Zimbra Forums for answers to installation or configuration. problems Join the Zimbra Community Forum, to participate and learn more about the Zimbra Collaboration Server. Send an email to [email protected] to let us know what you like about the product and what you would like to see in the product. If you prefer, post your ideas to the Zimbra Forum.
If you encounter problems with this software, visit www.zimbra.com and submit a bug report. Make sure you provide enough detail so that the bug can be easily duplicated.
This chapter describes the components that are installed and reviews the configuration options that can be made when you install the Zimbra Collaboration Server. Topics in this chapter include: Zimbra Packages on page 7 Configuration Examples on page 9 Downloading the Zimbra Software on page 9 Zimbra License Requirements for ZCS Network Edition on page 10 Menu-Driven Configuration on page 13 Configuring IMAP and POP Proxy Server on page 22 Configuring for Virtual Hosting on page 24
Zimbra Packages
Zimbra architecture includes open-source integrations using industry standard protocols. The third-party software has been tested and configured to work with the Zimbra software. The following describes the Zimbra packages that are installed.
Zimbra Core.
This package includes the libraries, utilities, monitoring tools, and basic configuration files. Zimbra Core is automatically installed on each server. User authentication is provided through OpenLDAP software. Each account on the Zimbra server has a unique mailbox ID that is the primary point of reference to identify the account. The OpenLDAP schema has been customized for the Zimbra Collaboration Server. The Zimbra LDAP server must be configured before the other servers. You can set up LDAP replication, configuring a master LDAP server and replica LDAP servers. The Zimbra store includes the components for the mailbox server, including Jetty, which is the servlet container the Zimbra software runs within. The Zimbra mailbox server includes the following components:
Zimbra LDAP.
Zimbra Store.
Data store. The data store is a MySQL database. Message store. The message store is where all email messages and file
attachments reside.
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. 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. 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.
Zimbra SNMP.
Zimbra Logger.
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. The default is to install one zimbra-convertd on each zimbra-store server. Zimbra proxy can be configured as a POP and IMAP proxy server and for reverse proxy HTTP requests. This package is normally installed on the MTA server or on its own independent server. Zimbra proxy can be installed on more than one server. When the zimbra-proxy package is installed, the proxy feature is enabled. Installing the Zimbra Proxy is optional.
zimbra-memcached.Memcached
is automatically selected when the zimbraproxy is installed. At least one server must run zimbra-memcached when the proxy is in use. All installed zimbra-proxies can use a single memcached server. 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.
Zimbra Archiving.
The Zimbra server configuration is menu driven. The installation menu displays the default configuration values. The menu displays the logical host name and email domain name [example.com] as configured for the computer.
Configuration Examples
Zimbra Collaboration Server 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. The following table shows examples of different configuration options. Zimbra Collaboration Server Configuration Options Small All ZCS components installed on one server See the Zimbra Installation Quick Start for installation instructions Medium Zimbra LDAP and Zimbra message store on one server Zimbra MTA on a separate server. Possibly include additional Zimbra MTA servers Large Zimbra LDAP on one server Multiple Zimbra mailbox servers Multiple Zimbra MTA servers One or more Zimbra Proxy servers Very Large Zimbra Master LDAP server Replicas LDAP servers Multiple Zimbra mailbox servers Multiple Zimbra MTA servers Multiple Zimbra Proxy servers
Zimbra Collaboration Server Connector for Outlook .msi file. This is a MAPI service provider that is installed on users computers, and users can use Microsoft Outlook 2003 or 2007 to access the ZCS server and synchronize data to/from Outlook for offline use. Zimbra Connector for Apple iSync plug-in. When this is installed on users Macs, they can use Apple Address Book, iCal, and Microsoft Entourage to access ZCS. Zimbra Migration Wizard for Microsoft Exchange .exe file to migrate Microsoft Exchange server email accounts to the Zimbra server. Zimbra Migration Wizard for IBM Lotus Domino .exe file to migrate Lotus Domino server email accounts to the Zimbra server. Zimbra Import Wizard for Microsoft Outlook .exe file to allow users to import their Outlook .pst files to the Zimbra server.
Supporting documentation can be found on the administration console Help Desk page or at www.zimbra.com.
Number of mailboxes assigned globally. Number of Zimbra Mobile users. The feature can be enabled or disabled by the administrator using Class of Service. Number of Outlook Connector users. The feature can be enabled or disabled by the administrator using Class of Service. Number of Archiving users assigned globally. Number of Attachment indexing users assigned globally.
Trial. You can obtain a free Trial license from the Zimbra website, at www.zimbra.com. The trial license allows you to create up to 50 users. It expires in 60 days. Trial Extended. You can obtain a Trial Extended license from Zimbra Sales by contacting [email protected] or calling 1-650-427-5701. This license allows you to create up to 50 users and is valid for an extended period of time.
10
Subscription. You must purchase the Zimbra Subscription license. This license is valid for a specific Zimbra Collaboration Server system and is encrypted with the number of Zimbra accounts (seats) you have purchased, the effective date, and expiration date of the subscription license. Perpetual. You must purchase the Zimbra Perpetual license. This license is similar to a subscription license and is valid for a specific Zimbra Collaboration Server system, is encrypted with the number of Zimbra accounts (seats) you have purchased, the effective date,and an expiration date of 2099-12-31. When you renew your support agreement, no new perpetual license is sent to you, but your Account records in the VMware systems is updated with your new support end date.
System accounts. System accounts are specific accounts used by ZCS. They include the spam filter accounts for junk mail (spam and ham), virus quarantine account for email messages with viruses, and GALsync account if you configure GAL for your domain. Do not delete these accounts! These accounts do not count against your license. Administrator account. Administrator accounts count against your license. User accounts. User accounts count against your license account limit. When you delete an account, the license account limit reflects the change. Alias account. Aliases do not count against your license. Distribution list. Distribution lists do not count against your license. Resource account. Resource accounts (location and resources) do not count against your ZCS license.
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 Global Settings>License tab, 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 to maintain network feature functionality.
11
Automatic License Activation 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. 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 tab 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 is not installed. If a license is not installed, the ZCS defaults to single user mode where all features limited by license are limited to one user. License is not valid. If the license file is forged or could not be validated for other reasons, the ZCS defaults to single user mode. License is not activated. A license activation grace period is 10 days. If for some reason the license is never activated, the ZCS defaults to single user mode. License is in future. If the license starting date is still in the future, the ZCS defaults to single user mode. License is in grace period. If the license ending date has passed and is within the 30 day grace period, all features limited by license are still enabled, but administrators may see license renewal prompts. License expired. If the license ending date has passed and the 30 day grace period expired, the ZCS server defaults to single user mode.
Obtaining a License
Go to Zimbras 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
12
Zimbra Collaboration Server 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 Global Settings>License tab 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.
Common Configuration All All Hostname LDAP master host The host name configured in the operating system installation The LDAP master host name. This LDAP host name is configured on every server The default port is 389 Password for the Zimbra admin user and is configured on every server The default is YES. Secure interprocess communications requires that connections between the mail store, and other processes that use Java, use secure communications. It also specifies whether secure communications should be used between the master LDAP server and the replica LDAP servers for replication.
All All
All
13
Main Menu Options Server Configured All Main Menu TimeZone Description Select the time zone to apply to the default COS. The time zone that should be entered is the time zone that the majority of users in the COS will be located. The default time zone is PST (Pacific Time) You can modify the following options Enable SNMP notifications. The default is No. If you enter yes, you 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. Allows you to expand or collapse the menu. When the installation and configuration is complete, if this is set to Yes, the Zimbra server is automatically started. At any time during the installation, you can save the configuration to a file. Expand menus to see the underlying options Quit can be used at any time to quit the installation.
14
15
zimbra-ldap
LDAP Postfix password. This password is automatically generated and is the password used by the postfix user to identify itself to the LDAP server and must be the same password on the LDAP master server and on the MTA server. LDAP Amavis password.This password is automatically generated and is the password used by the amavis user to identify itself to the LDAP server and must be the same password on the LDAP master server and on the MTA server. LDAP Nginx password. This password is automatically generated and is used by the Nginx user to identify itself to the LDAP server and must be the same password on the LDAP master server and on the MTA server. This option is displayed only if the zimbraproxy package is installed.
16
17
Zimbra Mailbox Server Menu Options Zimbra Mailbox Server zimbra-store (continued) Global Document Account This account is automatically created when ZCS is installed. The account holds the templates and the default Documents Notebook. The Documents feature is enabled from the COS or in individual accounts. These default port configurations are shown. SMTP host Web server HTTP port:- 80 Web server HTTPS port: - 443 Web server mode - Can be 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. IMAP server port: 143 IMAP server SSL port: 993 POP server port: 110 POP server SSL port: 995 Use spell checker server: yes (if installed) Spell server URL: http:// <example.com>:7780/aspell.php
18
Zimbra Mailbox Server Menu Options Configure for use with mail proxy. The default is FALSE. Configure for use with web proxy. The default is FALSE. If either or both of these are changed to TRUE, the proxy setting on the mailbox store are enabled in preparation for setting up zimbra proxy. Enable version update checks. ZCS automatically checks to see if a new ZCS update is available. The default is TRUE. Enable version update notifications. This enables automatic notification when updates are available when this is set to TRUE. Version update notification email. This is the email address of the account to be notified when updates are available. The default is to send the notification to the admins account. Version update source email. This is the email address of the account that sends the email notification. The default is the admins account. Note: The software update information can be viewed from the Administration Console Tools Overview pane. License file name is unset. The license file must be saved to a director on the server. You enter the file name and location here and the license is installed as part of the ZCS installation. If you do not have the license, you cannot proceed. Zimbra mailbox server zimbralogger The Logger package is installed on the one mail server. If installed, it is automatically enabled. Logs from all the hosts are sent to the mailbox server where the logger package is installed. This data is used to generate the statistics graphs and reporting. If installed, it is automatically enabled. When composing messages in the Zimbra Web Client, spell check can be run. When you install zimbra-spell, zimbra-apache gets installed automatically.
zimbra-spell
zimbraapache
19
Zimbra Mailbox Server Menu Options Zimbra mailbox server Zimbra mailbox server zimbraconvertd The default is to install one zimbra-convertd on each zimbra-store server. But only one zimbraconvertd needs to be present in a deployment depending on size of ZCS environment. This menu lists major new features for the ZCS release and whether feature are enabled or not. When you change the feature setting during ZCS installation, you change the default COS settings. Default is Yes. Sets the schedule for Backup session to run as a full backup every Sunday at 1 a.m. and as incremental on the other days at 1 a.m.
20
21
Nginx. A high performance IMAP/POP3 proxy server which handles all incoming POP/IMAP requests. Memcached. This is a high performance, distributed memory object caching system. Route information is cached for further use in order to increase performance. Memcached is contained in the zimbra-memcached package. There must be at least one memcached server installed for NGINX to function. It is not necessary for nginx and memcached to be on the same system, and you can have multiple nginx installations with only a single memcached installation. Zimbra Proxy Route Lookup Handler. This is a servlet located on the ZCS mailbox server. This servlet handles queries for the user account route information (the server and port number where the user account resides). When the proxy server is configured, the service ports on backend Zimbra mailbox servers are changed to alternate ports. The proxy now services the standard ports for these protocols. This change is applied even if the proxy services are run on their own independent hosts, in order to distinguish and avoid confusion between the services.
Memcached is shipped as the caching layer to cache LDAP lookups. Memcached does not have authentication and security features so the servers should have a fill set up appropriately. The default port is 11211 and is controlled by zimbramemcacheBindPort conf setting in zimbraserver. When the proxy server is configured, the service ports on backend Zimbra mailbox server are changed to alternate ports. The proxy now services the standard ports for these protocols. This change is applied even if the proxy services are run on their own independent hosts, in order to distinguish and avoid confusion between the services.
22
If you have any other services running on these ports, turn them off. Zimbra IMAP/POP Proxy Server Port Mapping Port Standard Ports served by Proxy IMAP Proxy port IMAP SSL proxy port POP proxy port POP SSL proxy port 143 993 110 995
Alternate Ports Served by Mailbox Servers Route Lookup Handler IMAP server port IMAP SSL server port POP server port POP SSL server port 7072 7143 7993 7110 7995
When an IMAP or POP3 client logs in through the proxy, the following takes place:
The proxy analyzes the login sequence Extracts the user name of the user trying to login Does a HTTP lookup on a mailbox server to find out which server the mailbox of the user attempting to login lives on
This lookup service runs on mailbox servers on port 7072, and this port on mailbox servers should be available from all proxy servers. Which mailbox servers participate in this lookup is determined by the zimbraReverseProxyLookupTarget server attribute on servers running the mailbox service. By default all mailbox servers participate in this lookup. Lookup is performed round-robin across configured mailbox servers. The result of the login name to mailbox server lookup are cached in memcached (an open source distributed in-memory hashtable). The memcached process is run alongside all IMAP/POP proxy services. Note: Memcached will be split into its own service in the future.
Using an nginx-based reverse proxy for HTTP helps to hide names of backend mailbox servers from end users. For example, users can always use their web browser to visit the proxy server at http://mail.example.com. The connection from users whose mailbox lives on mbs1. example.com is proxied to mbs1.example.com by the proxy running on the mail.example.com server. In addition to the ZCS web interface, clients such as REST and CalDAV clients, Zimbra Connector for Outlook and Zimbra Mobile Sync devices are also supported by the proxy. HTTP reverse proxy routes requests as follows:
If the request has an auth token cookie (ZM_AUTH_TOKEN), the request is routed to the backend mailbox server of the authenticated user. If the requesting URL can be examined to determine the user name, then the request is routed to the backend mailbox server of the user in the URL. REST, CalDAV, and Zimbra Mobile Sync are supported through this mechanism. If the above methods do not work, the IP hash method is used to load balance the requests across the backend mailbox servers which are able to handle the request or do any necessary internal proxying.
For more information see the Administration Guide, Zimbra Proxy chapter.
24
In order to successfully install and run Zimbra Collaboration Server, ensure your system meets the requirements described in this section. Topics in this chapter include: System Requirements on page 25 Modifying Operating System Configurations on page 25 DNS Configuration Requirement on page 26 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 Server 7.2 at the end of this guide.
25
Note: Zimbra recommends that the operating systems you use are updated with the latest patches that have been tested with ZCS. See the latest release notes to see the operating systems patch list that has been tested with ZCS.
26
Multiple-Server Installation
The multiple-server installation is straight-forward and easy to run. You run the same install script on each server, select the component(s) to install, and use the menu to configure the system. Topics in this chapter include: Starting the Installation Process on page 28 Installing Zimbra LDAP Master Server on page 31 Installing Zimbra LDAP Master Server on page 31 Installing Zimbra Mailbox Server on page 34 Installing Zimbra MTA on a Server on page 40 Installing the zimbra-SNMP Package on page 49 Final Set-Up on page 49 Verifying Server Configuration on page 51 Logging on to the Administration Console on page 51 Post Installation Tasks on page 51 Uninstalling Zimbra Collaboration Server on page 53 After the installation is complete, two additional steps should be run as described in Final Set-Up on page 49:
When the server installation is complete, the servers are started, and the status is displayed. Important: Install the servers in the following order
1. LDAP server 2. Zimbra mailbox servers 3. Zimbra MTA servers
27
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.
For the latest Zimbra software download, go to www.zimbra.com. Save the Zimbra Collaboration Server tar file to the computer from which you are installing the software. Step 1 through step 4 are performed for each server to be installed.
1. Log in as root to the Zimbra server and cd to the directory where the Zimbra Collaboration Server 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.
28
Multiple-Server Installation
[root@mailhost tmp]# tar xzvf zcs.tgz zcs-NETWORK-7.2.0_GA_3107.UBUNTU10_64.20100916012803/ zcs-NETWORK-7.2.0_GA_3107.UBUNTU10_64.20100916012803/packages/ zcs-NETWORK-7.2.0_GA_3107.UBUNTU10_64.20100916012803/packages/ zimbra-apache_7.2.0_GA_3107.UBUNTU10_64_amd64.deb . . zcs-NETWORK-7.2.0_GA_3107.UBUNTU10_64.20101015012627/install.sh zcs-NETWORK-7.2.0_GA_3107.UBUNTU10_64.20101015012627/README.txt . [root@mailhost tmp]# cd zcs-NETWORK7.2.0_GA_3107.UBUNTU10_64.20101015012627 [root@mailhost tmp/zcs-NETWORK7.2.0_GA_3107.UBUNTU10_64.20101015012627# ./install.sh . . Operations logged to /tmp/install.log.3833 Checking for existing installation... zimbra-ldap...NOT FOUND zimbra-logger...NOT FOUND zimbra-mta...NOT FOUND zimbra-snmp...NOT FOUND zimbra-store...NOT FOUND zimbra-apache...NOT FOUND zimbra-spell...NOT FOUND zimbra-convertd...NOT FOUND zimbra-memcached...NOT FOUND zimbra-proxy...NOT FOUND zimbra-archiving...NOT FOUND zimbra-cluster...NOT FOUND zimbra-core...NOT FOUND
Screen shots in this guide are examples of the Zimbra installation script. The actual script may be different.
2. The installation process checks to see if Sendmail, Postfix, and MySQL
software are running. If any application is running, you are asked to disable it. The default is Yes to disable the applications. Disabling MySQL is optional, but highly recommended. Sendmail and Postfix must be disabled for the Zimbra Collaboration Server to start correctly.
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.
29
VMWARE END USER LICENSE AGREEMENT IMPORTANT-READ CAREFULLY: BY DOWNLOADING, INSTALLING, OR USING THE SOFTWARE, YOU (THE INDIVIDUAL OR LEGAL ENTITY) AGREE TO BE BOUND BY THE TERMS OF THIS END USER LICENSE AGREEMENT (EULA). IF YOU DO NOT AGREE TO THE TERMS OF THIS EULA, YOU MUST NOT DOWNLOAD, INSTALL, OR USE THE SOFTWARE, AND YOU MUST DELETE OR RETURN THE UNUSED SOFTWARE TO THE VENDOR FROM WHICH YOU ACQUIRED IT WITHIN THIRTY (30) DAYS AND REQUEST A REFUND OF THE LICENSE FEE, IF ANY, THAT YOU PAID FOR THE SOFTWARE. EVALUATION LICENSE. If You are licensing the Software for evaluation purposes, your use of the Software is only permitted in a nonproduction environment and for the period limited by the Software License Key. Notwithstanding any other provision in this EULA, an Evaluation License of the Software is provided AS-IS without support or warranty of any kind, expressed or implied. 1. . . DEFINITIONS
Additional License Terms You may create and use for up to the number of Mailbox for which you have paid the applicable license fees. For Software licensed on a Subscription basis, You may create and use for up to the number of Mailbox during the term of the Subscription. Upon expiration or termination of a Subscription, You shall promptly cease use of the Software and product documentation and destroy (and certify to VMware in writing the fact of such destruction), or return to VMware all copies of the Software and product documentation then in Your possession or control.
Do you agree with the terms of the software license agreement? [N] y 4. Next, the installer checks to see that the prerequisite software is installed. If
NPTL, sudo, libidn, cURL, fetchmail, GMP or compat-libstdc++- are not installed, the installation process quits. You must fix the problem and start the installation again. See Other Dependencies in System Requirements for Zimbra Collaboration Server 7.2. 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.
30
Multiple-Server Installation
example, the package to be installed is emphasized. Note: If SNMP is being used, the SNMP package is installed on every Zimbra server. Mark Y.
Select the packages to install Install Install Install Install Install Install Install Install Install Install zimbra-ldap [Y] y zimbra-logger [Y] n zimbra-mta [Y] n zimbra-snmp [Y] n zimbra-store [Y] n zimbra-apache [Y] n zimbra-spell [Y] n zimbra-convertd [N] n zimbra-memcached [N] n zimbra-proxy [N] n
Checking required space for zimbra-core Installing: zimbra-core zimbra-ldap The system will be modified. Continue? [N] y
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 (*).
VMware Zimbra Collaboration Server Network Edition 7.2 31
To navigate the Main menu, select the menu item to change. You can modify any of the values. See Table , Main Menu Options, on page 13 for a description of the Main menu.
Main menu 1) 2) 3) r) s) x) q) Common Configuration: zimbra-ldap: Enable default backup schedule: Start servers after configuration Save config to file Expand menu Quit
*** CONFIGURATION COMPLETE - press 'a' to apply Select from menu, or press 'a' to apply config (? - help)
can change this password. Write down the LDAP password, the LDAP host name and the LDAP port. You must configure this information when you install the mailbox servers and MTA servers. LDAP Admin Password ____________ LDAP Host name ___________ LDAP Port ___________
6. Type 6 to set the correct time zone, if your time zone is not Pacific Time. 7. Type r to return to the Main menu. 8. From the Main menu, type 2) zimbra-ldap to view the Ldap configuration
settings.
32
Multiple-Server Installation
Ldap configuration 1) 2) 3) 4) 5) 6) 7) 8) Status: Create Domain: Domain to create Ldap Root password: Ldap Replication password: Ldap Postfix password: Ldap Amavis password: Ldap Nginx password: Enabled yes ldap-1.example.com set set set set set
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.
33
*** CONFIGURATION COMPLETE - press 'a' to apply Select from menu, or press 'a' to apply config (? - help) a Save configuration data to a file? [Yes] y Save config in file: [/opt/zimbra/config.26148] Saving config in /opt/zimbra/config.26148...done. The system will be modified - continue? [No] y Operations logged to /tmp/zmsetup.10192010-151126.log Setting local config values...done. . . . Starting servers...done. Setting up zimbra crontab...done. Moving /tmp/zmsetup.10192010-151126.log to /opt/zimbra/log
one mailbox server), zimbra-store, and zimbra-spell (optional) packages. When zimbra-spell is installed, the zimbra-apache package also gets installed. In the following screen shot example, the packages to be installed are emphasized. Note: If SNMP is being used, the SNMP package is installed on every Zimbra server. Mark Y.
34
Multiple-Server Installation
Install Install Install Install Install Install Install Install Install Install Install
zimbra-ldap [Y] N zimbra-logger [Y] Y zimbra-mta [Y] N zimbra-snmp [Y] N zimbra-store [Y] Y zimbra-apache [Y] Y zimbra-spell [Y] Y zimbra-convertd [Y] Y zimbra-memcached [N] N zimbra-proxy [N] N zimbra-archiving [N] N
Installing: zimbra-core zimbra-logger zimbra-store zimbra-apache zimbra-spell zimbra-convertd The system will be modified. Continue [N] Y
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.
35
Main menu 1) Common Configuration: +Hostname: ******* +Ldap master host: +Ldap port: ******* +Ldap Admin password: +Secure interprocess communications: +TimeZone: (US & Canada)
2) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: [email protected] ******* +Admin Password UNSET +Enable automated spam training: yes +Spam training user: [email protected] +Non-spam(Ham) training user: [email protected] +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://mailstore1.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: [email protected] +Version update source email: [email protected] ******* +License filename: UNSET 3) zimbra-logger: Enabled 4) zimbra-spell: Enabled 5) zimbra-convertd: Enabled 6) Default Class of Service Configuration: 7) Enable default backup schedule: yes r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit
36
Multiple-Server Installation
Common Configuration: 1)Hostname: mailstore-1.example.com 2)Ldap master host: mailstore-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)
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 6 to set the correct time zone, if your time zone is not Pacific Time.
5. Type r to return to the Main menu. 6. From the Main menu, type 2 to go to the Store configuration menu.
37
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: [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) License filename: UNSET Select, or 'r' for previous menu [r] 4 Password for [email protected] zimbra (min 6 characters): [2LPoBSob]
Type 4 and set the password for the administrator account. The
password is case sensitive and must be a minimum of six characters. During the install process, the admin account is provisioned on the mailbox store server. You log on to the administration console with this password. Note: By default, the email addresses for the admin account, spam, nonspam, 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 mtaserver 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.
38
Multiple-Server Installation
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.
Set either or both of these to TRUE if you are going to set up zimbraproxy. 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.
8. Type r to return to the Main menu. 9. Review the Default Class of Service Configuration settings. If you want to
change the COS default configuration of these features, type the number (6) for the Default Class of Service Configuration. Then type the corresponding number for the feature to be enabled or disabled. The default COS settings are adjusted to match.
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.
11. When Save Configuration data to a file appears, press Enter.
VMware Zimbra Collaboration Server Network Edition 7.2 39
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.
package to be installed is emphasized. Note: If you are installing zimbra-proxy, it is normally installed on the MTA server. Mark the zimbra-proxy package Y.
40
Multiple-Server Installation
Select the packages to install Install Install Install Install Install Install Install Install Install Install zimbra-ldap [Y] N zimbra-logger [Y] N zimbra-mta [Y] Y zimbra-snmp [Y] N zimbra-store [Y] N zimbra-apache [Y] N zimbra-spell [Y] N zimbra-archiving [N] N zimbra-convertd [N] N zimbra-proxy [N] N
Installing: zimbra-mta This system will be modified. Continue [N} Y Configuration section
The Main menu displays the default entries for the Zimbra component you are installing. To expand the menu to see all 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.
41
Main menu 1) Common Configuration: +Hostname: ******* +Ldap master host: +Ldap port: ******* +Ldap Admin password: +Secure interprocess communications: +TimeZone: Time (US & Canada)
2) zimbra-mta: Enabled ********+MTA Auth host: mta-1.example.com +Enable Spamassassin: yes +Enable Clam AV: yes +Notification address for AV alerts: [email protected] +Bind password for postfix ldap user: UNSET +Bind password for amavis ldap user: UNSET 3) r) s) x) q) Enable default backup schedule: Start servers after configuration Save config to file Expand menu Quit yes yes
4. The Main menu displays. Type 1 and press Enter to go to the Common
Configuration menu.
Common Configuration: 1)Hostname: 2)Ldap master host: 3)Ldap port: 4)Ldap Admin password: 5)Secure interprocess communications 6)TimeZone: (US & Canada)
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 6 to set the correct time zone, if your time zone is not Pacific Time.
5. Type r to return to the Main menu.
42
Multiple-Server Installation
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 servers hostname.
([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 6 and enter the postfix password. Type 7 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 zimbraproxy on page 44 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.
9. When Save Configuration data to a file appears, press Enter. 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.
43
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.
Installing zimbra-proxy
Installing the zimbra-proxy package is optional, but recommended for scalable multi-server deployment. Zimbra proxy is normally installed on the MTA server or can be configured on a separate server. Zimbra proxy can be installed on more than one server. At least one instance of zimbra-memcached must be installed to cache the data for NGINX. Important: If you are moving from a non-proxy environment (for example, single server to multi-server environment), additional steps are necessary for the mailbox server and proxy configuration. After you complete the proxy installation, reconfigure the mailbox server as described in the ZCS Administration Guide, Zimbra Proxy chapter. Note: Memcached is shipped as the caching layer to cache LDAP lookups. Memcache does not have authentication and security features so the servers should have a firewall set up appropriately. The default port is 11211 and is controlled by zimbraMemcacheBindPort conf setting in zimbraserver. 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 40. After Step 8, configure the Zimbra-proxy.
1. On the MTA server to install the zimbra-proxy package, type Y and press Enter to install the selected package. 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 default is POP/IMAP proxy enabled and HTTP Proxy disabled. 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.
44
Multiple-Server Installation
Proxy configuration 1) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) Status: Enable POP/IMAP Proxy: IMAP server port: IMAP server SSL port: IMAP proxy port: IMAP SSL proxy port: POP server port: POP server SSL port: POP proxy port: POP SSL proxy port: Bind password for nginx ldap user: Enable HTTP[S] Proxy: Enabled TRUE 7143 7993 143 993 7110 7995 110 995 set FALSE
Return to the MTA section, step 8 on page 43 to continue the MTA server installation. Installing Zimbra-Proxy on a separate server The LDAP host name and the Zimbra LDAP password must be known to the proxy server. If not, the proxy server cannot contact the LDAP server and the installation fails.
1. Follow steps 1 through 4 in Starting the Installation Process on page 28 to open a SSH session to the server, log on to the server as root, and
another server, you must have at least one instance of zimbra-memcached installed to cache the data for NGINX, as shown in the following screen shot example. Note: If SNMP is used, the zimbra-snmp package must also be installed.
45
Select the packages to install Install Install Install Install Install Install Install Install Install Install Install zimbra-ldap [Y] N zimbra-logger [Y] N zimbra-mta [Y] N zimbra-snmp [Y] N zimbra-store [Y] N zimbra-apache [Y] N zimbra-spell [Y] N zimbra-archiving [N] N zimbra-convertd [N] N zimbra-memcached [N] Y zimbra-proxy [N] Y
Installing: zimbra-memcached zimbra-proxy This system will be modified. Continue [N} Y Configuration section
3. Type Y, and press Enter to install the selected package. 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 7 to set the correct time zone, if your time zone is not Pacific Time.
5. Type r to return to the Main menu. 6. Type 2 to select zimbra-proxy.
46
Multiple-Server Installation
Main menu 1) Common Configuration: +Hostname: +Ldap master host: +Ldap port: +Ldap Admin password: +LDAP Base DN: +Secure interprocess communications: +TimeZone: Time (US & Canada) 2) 3) r) s) x) q) zimbra-proxy: Enable default backup schedule: Start servers after configuration Save config to file Expand menu Quit
7. The Proxy Configuration menu displays. You can modify any of the
values.
The default is POP/IMAP proxy enabled and HTTP Proxy disabled. 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) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) Status: Enable POP/IMAP Proxy: IMAP server port: IMAP server SSL port: IMAP proxy port: IMAP SSL proxy port: POP server port: POP server SSL port: POP proxy port: POP SSL proxy port: Bind password for nginx ldap user: Enable HTTP[S] Proxy: Enabled TRUE 7143 7993 143 993 7110 7995 110 995 set FALSE
8. Type r to return to the Main menu. 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.
VMware Zimbra Collaboration Server Network Edition 7.2 47
10. When Save Configuration data to a file appears, 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 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.
Archiving, the ability to archive messages that were delivered to or sent by ZCS Discovery, the ability to search across mailboxes
The prerequisite to enabling archiving and discovery is the installation and configuration of the zimbra-archiving package on at least one mailbox server. The installation of this package provides the ZCS discovery (also known as 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 zimbraarchiving packages during your installation process. The zimbra-core package is installed by default.
Select the packages to install Install Install Install Install Install Install Install Install Install Install zimbra-ldap [Y] N zimbra-logger [Y] N zimbra-mta [Y] N zimbra-snmp [Y] N zimbra-store [Y] Y zimbra-apache [Y] N zimbra-spell [Y] N zimbra-proxy [N] N zimbra-archiving [N] Y zimbra-convertd [N] N
Installing: zimbra-core zimbra-store zimbra-archiving This system will be modified. Continue [N} Y
48
Multiple-Server Installation
See the Zimbra Archiving and Discovery chapter in Zimbra Collaboration Server (ZCS) Administrators Guide for more information about configuring and archiving.
Configure whether to be notified by SNMP or SMTP. The default is No. If you enter yes, you must enter additional information.
For SNMP type the SNMP Trap host name. For SMTP type the SMTP source email address and destination email
address.
8) zimbra-snmp: +Enable SNMP notifications: +SNMP Trap hostname: +Enable SMTP notifications: +SMTP Source email address: +SMTP Destination email address: Enabled yes example.com yes [email protected] [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. 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. ZCS 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, Mail Queue Monitoring.
49
Set Up the SSH Keys To populate the ssh keys, on each server, as Zimbra user (su - zimbra). Type zmupdateauthkeys and press Enter. The key is updated on /opt/zimbra/.ssh/authorized_keys. Enabling Server Statistics Display In order for the server statistics to display on the administration console, the syslog configuration files must be modified. Important: Depending on your operating system, the steps below may not be correct. See your operating system documentation for specific information about how to enable syslog.
1. On each server, as root, type /opt/zimbra/libexec/zmsyslogsetup. This
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
50
Multiple-Server Installation
services should be running. Note: If services are not started, you can type zmcontrol start. See the CLI command appendix in the Administration Guide for more zmcontrol commands.
51
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. Configuring One Account The administration console New Account Wizard steps you through the account information to be completed.
1. From the administration console Navigation pane, click Accounts.
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
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.
52
Multiple-Server Installation
Configuring Many Accounts at Once 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. Import the Content of Users Mailboxes Zimbras 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 users 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.
The Zimbra servers are stopped, the existing packages, the webapp directories, and the /opt/zimbra directory are removed.
4. Delete the zcs directory, type rm -rf [zcsfilename]. 5. Delete the zcs.tgz file, type rm -rf zcs.tgz. 6. Additional files may need to be delete. See the Zimbra Wiki Installation
section on http://wiki.zimbra.com/index.php?title=Main_Page.
53
54
Setting up LDAP replication lets you distribute Zimbra server queries to specific replica LDAP servers. Only one master LDAP server can be set up. This server is authoritative for user information, server configuration, etc. Replica LDAP servers can be defined to improve performance and to reduce the load on the master server. All updates are made to the master server and these updates are copied to the replica servers. The Zimbra install program is used to configure a master LDAP server and additional read-only replica LDAP servers. The master LDAP server is installed and configured first, following the normal ZCS installation options. The LDAP replica server installation is modified to point the replica server to the LDAP master host. When the master LDAP server and the replica LDAP servers are correctly installed, the following is automatically configured:
SSH keys are set up on each LDAP server Trusted authentication between the master LDAP and the LDAP replica servers is set up The content of the master LDAP directory is copied to the replica LDAP server. Replica LDAP servers are read-only. Zimbra servers are configured to query the replica LDAP server instead of the master LDAP server.
Topics in this chapter include: Installing Zimbra Master LDAP Server on page 55 Enable Replication on the LDAP Master on page 56 Installing a Replica LDAP Server on page 56 Configuring Zimbra Servers to use LDAP Replica on page 59 Uninstalling an LDAP replica server on page 59
55
LDAP server installation instructions. After the installation of the master LDAP server has completed continue to the section titled 'Enabling Replication on the LDAP Master.
Select the packages to install Install zimbra-ldap [Y] Y Install zimbra-mta [Y]N Install zimbra-snmp [Y]N Install zimbra-store [Y]N Install zimbra-logger [Y]N Install zimbra-spell [Y]N Installing: zimbra-core zimbra-ldap This system will be modified. Continue [N} Y Configuration section
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.
56
Main menu 1) 2) 3) 4) r) s) x) q) Common Configuration: zimbra-ldap: zimbra-snmp: Enable default backup schedule: Start servers after configuration Save config to file Expand menu Quit
*** CONFIGURATION COMPLETE - press 'a' to apply Select from menu, or press 'a' to apply config (? - help)
3. Type 1 to display the Common Configuration submenus. Type 2 to change the Ldap Master host name to the name of the Master LDAP host. 4. Type 3, to change the port to the same port as configured for the Master
LDAP server.
5. Type 4 and change the password to the Master LDAP Admin user password. Type r to return to the main menu. 6. Type 2 to display the LDAP configuration submenu.
Type 2 and change Create Domain: to No. Type 4 for LDAP replication password, enter the same password to
match the value on the Master LDAP Admin user password for this local config variable. 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
Ldap configuration 1) 2) 3) 4) 5) 6) 7) Status: Create Domain: Ldap Root password: Ldap Replication password: Ldap Postfix password: Ldap Amavis password: Ldap Nginx password: Enabled no set set set set set
57
7. When the LDAP server is configured, type a to apply the configuration changes. Press Enter to save the configuration data.
Select, or press 'a' to apply config (? - help) a Save configuration data? [Yes] Save config in file: [/opt/zimbra/config.2843] Saving config in /opt/zimbra/config.2843...Done The system will be modified - continue? [No] y Operations logged to /tmp/zmsetup.log.2843 Setting local config zimbra_server_hostname to [ldap.example.com] . Operations logged to /tmp/zmsetup.log.2843 Installation complete - press return to exit
8. When Save Configuration data to a file appears, press Enter. 9. 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.
10. 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.
If you do not have a mailbox server setup, you can create domains instead. Use this CLI command to create a domain
zmprov cd <domain name> 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>
58
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
value.
59
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.
Code 3 Code 4
60
Code 5 Code 6
Searching the replica server for the context CSN fails. The replica server becomes out of sync. Status indicates amount of time the replica server is behind the master server in w=weeks, d=days, h=hours, m=minutes, and s=seconds.
For example, ldap002.example.com is the master server, and ldap003.example.com and ldap004.example.com are replicas servers. The following screen-shot shows that replica server ldap003 is in sync with the master server, as indicated by the Code:0 and Status: In Sync, and replica server ldap004 is currently down, as indicated by Code: 4 and Status: Server down.
[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
61
62
This document contains Zimbra Collaboration Server system requirements and available language information for both the Network Edition and the Open Source Edition.
System Requirements
Requirements
Servers Evaluation and Testing Intel/AMD 32-bit or 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
Production environments Minimum - 32-bit OS with Intel/AMD 2.0 GHZ+ CPU Recommended - 64-bit OS Minimum - 2 GB RAM Recommend minimum - 4 GB RAM 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, and the Security Enhanced Linux (SELinux) should be disabled RAID-5 is not recommended for installations with more than 100 accounts.
The following operating systems are supported: Red Hat Enterprise Linux, AS/ES 6 (64-bit) requires RHEL6 6.1 or later. Red Hat Enterprise Linux, AS/ES 5 (32-bit or 64-bit)
Red Hat Enterprise Linux, AS/ES 4 (32-bit or 64-bit) Note: The 7.x series of ZCS will be the last release supported with RHEL4 (32-bit and 64-bit), and RHEL5 (32-bit and 64-bit). SUSE Linux Enterprise Server 11, SP1 (64-bit)
SUSE Linux Enterprise Server 10 (32-bit or 64-bit) Note: Cluster feature is not available on SUSE Linux versions. Note: The 7.x series of ZCS will be the last release supported with SLES10 (32-bit and 64-bit). Based on this expectation, we suggest that new SUSE systems use SLES11 SP1 (64-bit). Ubuntu 10.04 LTS Server Edition (64-bit)
Ubuntu 8.04 LTS Server Edition (32-bit or 64-bit) Note: Cluster feature is not available on Ubuntu Linux versions. Note: The 7.x series of ZCS will be the last release supported with Ubuntu 8.04 (32-bit and 64-bit). Based on this expectation, we suggest that new Ubuntu systems use Ubuntu 10.04 (64-bit). Operating System Open Source Edition In addition to supporting the operating systems listed above for the Network Edition, other operating system versions are available for the Open Source Edition. Check the Zimbra Open Source Downloads page on www.zimbra.com. ext3 file system for Linux deployments
File Systems
64
ZCS 7.2
System Requirements
Other Dependencies
Netcat (nc) is required on all operating systems using ZCS. The nc utility must be installed prior to installation or upgrading. For SUSE, Ubuntu, and Debian systems, disable AppArmor and verify services that are running before installing ZCS. For Red Hat Enterprise, 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.
For Ubuntu 8.04 LTS or Ubuntu 10.04 LTS, and Debian 5: Sudo libidn11 libpcre3 libexpat1
libgmp3c2 Note: Ubuntu 8 (64-bit) requires libperl5.8, Debian 5 and Ubuntu 10 (64-bit) require libperl5.10 Miscellaneous SSH client software to transfer and install the Zimbra Collaboration Server software. Valid DNS configured with an A record and MX record Servers should be configured to run Network Time Protocol (NTP) on a scheduled basis
ZCS 7.2
65
The following operating system/browser combinations are supported: Windows 2000, XP, Vista, and Windows 7 with one of the following: Internet Explorer 7.0 or 8.0 Firefox 3.0, 3.5 or 3.6 Safari 4 or 5 Google Chrome 2.1, 2.2, or 2.3
Mac OS X 10.4, 10.5 or 10.6 with one of the following: Firefox 3.0, 3.5 or 3.6 Safari 4 or 5 Google Chrome 2.1, 2.2, or 2.3
Linux (Red Hat, Ubuntu, Debian, Fedora, or SUSE) with one of the following: Firefox 3.0, 3.5 or 3.6 Google Chrome 2.1, 2.2, or 2.3
66
ZCS 7.2
System Requirements
End User Computers using Zimbra Web Client Note: Other configurations may work.
For Zimbra Web Client - Advanced version: The following operating system/browser combinations for the advanced Zimbra Web Client are supported: Windows 2000, XP SP 3, Vista SP 2, or Windows 7 with one of the following: Internet Explorer 7 or 8 Firefox 3.0. 3.5 or 3.6 Safari 4 or 5 Google Chrome 2.1, 2.2, or 2.3
Mac OS X 10.4, 10.5, or 10.6 with one of the following: Firefox 3.0, 3.5 or 3.6 Safari 4 or 5 Google Chrome 2.1, 2.2, or 2.3
Linux (Red Hat, Ubuntu, Debian, Fedora, or SUSE) with one of the following: Firefox 3.0, 3.5 or 3.6 Google Chrome 2.1, 2.2, or 2.3
ZCS 7.2
67
For Zimbra Web Client - Standard version The following operating system/browser combinations for the standard Zimbra Web Client are supported: Windows 2000, XP SP 3, Vista SP 2, or Windows 7 with one of the following browsers: Internet Explorer 6.0 SP2, 7 or 8 Firefox 3.0, 3.5 or 3.6 Safari 3, 4, or 5 Google Chrome 2.1, 2.2, or 2.3
Mac OS X 10.4, 10.5, or 10.6 with one of the following browsers: Firefox 3.0, 3.5 or 3.6 Safari 4 or 5 Google Chrome 2.1, 2.2, or 2.3
Linux (Red Hat, Ubuntu, Debian, Fedora, or SUSE) with one of the following browsers: End User Computers Using Other Clients Firefox 3.0, 3.5 or 3.6 Google Chrome 2.1, 2.2, or 2.3
Operating system POP/IMAP combinations Windows XP SP 3, Vista SP 2, Windows 7 with Outlook Express 6, Outlook 2003, (MAPI), Thunderbird Fedora Core 4 or later with Thunderbird Mac OS X 10.4 or later with Apple Mail
Accessibility and Screen Readers Zimbra recommends that customers requiring use of screen readers for accessibility leverage the use of the Standard Zimbra Web Client (HTML). Zimbra continues to invest in improving the accessibility of this interface.
68
ZCS 7.2
System Requirements
**Recommendation - If users are presently using IE 6, Zimbra strongly recommends that they upgrade to the latest version of Internet Explorer for optimal performance with ZWC. Monitor Internet Connection Speed Display minimum resolution 1024 x 768 128 kbps or higher
ZCS 7.2
69
Zimbra Connector for Outlook for Network Edition only Zimbra Connector for Outlook requires one of the following: Microsoft Outlook 2003 SP1 or later Microsoft Outlook 2007 SP2 or later Microsoft Outlook 2010 (32-bit or 64-bit)
Zimbra Mobile for Network Edition only Zimbra Mobile provides mobile data access to email, calendar, and contacts for users of selected mobile phones, including: Smartphone Operating Systems: Windows Mobile 5 and 6 Windows Phone 7 Apple iOS RIM BlackBerry Google Android Non-Smartphone Operating Systems: Various device/operating system combinations with mobile WAP browser. See the Zimbra web site http://www.zimbra.com/products/ zimbra_mobile.html for more information.
Zimbra Connector for BlackBerry Enterprise Server for Network Edition only Zimbra Connector for BlackBerry Enterprise Server (ZCB) provides seamless, real-time synchronization of Zimbra user mailbox data to BlackBerry devices. See the Zimbra web site http://www.zimbra.com/products/blackberry-enterpriseserver.html for more information.
70
ZCS 7.2
System Requirements
Available Languages
This section includes information about available languages, including End User Translations and Administrator Translations. End User Translations Component
Zimbra Web Client
Category
Application/UI
Languages
Arabic, Chinese (Simplified PRC and Traditional HK), Danish, Dutch, English (AU, UK, US), French, German, Hindi, Hungarian, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Romanian, Russian, Spanish, Swedish, Thai, Turkish, Ukrainian Chinese (Simplified PRC and Traditional HK), Dutch, English, French, German, Italian, Japanese, Portuguese (Brazil), Russian, Spanish English
Zimbra Web Client - Online Help (HTML) Zimbra Web Client - End User Guide (PDF) Zimbra Connector for Microsoft Outlook
Feature Documentation
Feature Documentation
Installer + Application/UI
Arabic, Chinese (Simplified PRC and Traditional HK), Danish, Dutch, English (AU, UK, US), French, German, Hindi, Hungarian, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Romanian, Russian, Spanish, Swedish, Thai, Turkish, Ukrainian English
Feature Documentation
ZCS 7.2
71
Category
Application
Languages
Arabic, Chinese (Simplified PRC and Traditional HK), Danish, Dutch, English (AU, UK, US), French, German, Hindi, Hungarian, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Romanian, Russian, Spanish, Swedish, Turkish, Ukrainian English
Zimbra Admin Console Online Help (HTML) "Documentation" Install + Upgrade / Admin Manual / Migration / Import / Release Notes / System Requirements Zimbra Connector for Microsoft Outlook - Admin Guide (PDF)
English
English
72
ZCS 7.2
Index
A administration console logging on 51 URL 51 audience 5 C certificate authority 51 class of service 52 common configuration 13 configuration common 13 menu 13 operating system 25 options 9 configuration, examples 9 configure proxy server 22 contact information 6 D disable MySQL 29 DNS 26 download software 9 E examples configuration 9 F feedback 6 firewall, Red Hat 26 forums, join Zimbra 6 H http proxy 23 http proxy, configuring 23 I IMAP proxy server 22 import user mailboxes 53 information contact 6 support 6 installation 28 prerequisite software 30 process 28 L LDAP replication
configuring 59 disable 59 enable 56 install 56 monitor status 60 password 57 test 58 uninstall 59 LDAP server configuration 15 install 31 installing 55 license activation 11 obtaining 12 perpetual 11 requirements 10 subscription 11 trial 10 trial extended 10 logger package 19 M mailbox server configuration 17 install 34 mailbox server, install 34 main menu options 13 memcached 22 menu - main, description 13 menu configuration 13 migrate mailbox 53 MTA Auth host 43 MTA server configuration 21 install 40 multiple-server installation 27 MX record 26 N nginx 22 O obtaining a license 12 operating system configurations 25 overview of Zimbra packages 7 P passwords, amavis and postfix 57 perdition 22
73
perpetual license 11 POP proxy server 22 port configurations, default 18 port mapping for IMAP/POP proxy server 23 ports, proxy server port mapping 23 post installation tasks 51 proxy server 22 proxy,http 23 R relay host 26 S server configuration verify 51 Zimbra LDAP 15 SNMP, install 49 software agreement 29 spam training filter 17 spell checker, install 19 subscription license 11 support contact Zimbra 6 support information 6 system requirements 25 T test, LDAP replica 58 trial extended license 10 trial license 10 U uninstall ZCS 53 uninstall ZCS for Mac server 53 URL, administration console 51 V virtual hosting 24 Z Zimbra Collaboration Server, uninstall 53 Zimbra packages 7 Zimbra proxy components 22 zimbra-archiving, install 48 zimbra-proxy, install 44 zmcontrol status 51
74