zimbra prerequisite

zimbra prerequisite

zimbra prerequisite

When you run the install script then Zimbra installation verifies that the correct prerequisite packages are installed.
• Zimbra Core installs the libraries, utilities, and monitoring tools.
• Zimbra LDAP installs the OpenLDAP software, an open source LDAP directory services.
• Zimbra MTA installs the Postfix open source MTA, the Clam AntiVirus antivirus engine, the SpamAssassin junk mail filter, and the Amavisd-New content filter.
• Zimbra Store installs the mailbox server, including Apache Tomcat, the servlet container for the Zimbra server.
• Zimbra Spell installs the Aspell open source spelling checker. When Zimbra spell is installed, Zimbra-Apache is also installed.
• Zimbra SNMP installs the SNMP package for monitoring. This package is optional.
• Zimbra Logger installs tools for syslog aggregation, reporting, and message tracing.
The Zimbra server configuration is menu driven. The installation menu shows you the default configuration values. The menu displays the logical host name and email domain name [mailhost.knowledgelinux.com] as configured on the computer. You can change any of the values. For single server installs, the only value you must define is the administrator’s password. The password is used to log on to the Zimbra administration console.
Downloading the Zimbra Software
For the latest Zimbra software download, go to www.Zimbra.com. Save the Zimbra Collaboration Suite archive file to the computer from which you will install the software.
When the Zimbra Collaboration Suite is installed, the following Zimbra applications are saved to the Zimbra server:
• Zimbra Collaboration Suite Connector for Outlook® (ZCS Network Edition only). Format is a .msi file. This is a MAPI service provider that is installed on users’ computers.
• Zimbra Collaboration Suite Migration Wizard for Exchange. Format is .exe file. Users can be migrated from Microsoft® Exchange server email accounts to Zimbra server accounts.
• Zimbra Collaboration Suite Import Wizard for Outlook. Format is an .exe file. Users can import their Outlook .pst files to the Zimbra server.
• ZCS documents, including administrator’s guide, installation guides, Migration Wizard guide, and release notes.
See the Administrator’s Guide for information about the ZCS Connector for Outlook and the PST Import Wizard. See the Migration Wizard Guide for information about the Migration Wizard file.
Basic Configuration
The default configuration installs the Zimbra-LDAP, the Zimbra-MTA with anti-virus and anti-spam protection, the Zimbra mailbox server, the SNMP monitoring tools (optional), Zimbra-spell (optional), and the logger tool (optional), on one server.
The menu driven installation displays the components and their existing default values. During the installation process you can modify the information.
The table below describes the menu options
Table 2 Main Menu Options
Main Menu Description
1) Hostname The host name configured in the Red Hat operatingsystem installation.
2) LDAP master host The LDAP host name. On a single server installationthis name is the same as the hostname.
3) LDAP port The default port is 389.
4) LDAP password The root LDAP password for the host. This passwordis automatically generated.
5) zimbra-ldap Configuration includes the following:
• Create Domain – Yes. You can create one domain during installation and additional domains can be created from the administration console.
• Domain to create – The default domain is the fully qualified hostname of the server. If you created a valid mail domain on your DNS server, enter it now. In most cases, you will accept the default.

6) zimbra-store Configuration includes the following.
• Create Admin User – The administrator account is created during installation. This account is the first account provisioned on the Zimbra server and allows you to log on to the administration console.
• Admin user to create – The default is admin@[mailhost.knowledgelinux.com].
• Admin Password – You must set the admin account password. The password is case sensitive and must be a minimum of six characters. The administrator name, mail address, and password are required to log in to the administration console.
• Enable automated spam training – By default, the automated spam training filter is enabled and two mail accounts are created.
1. Spam Training User to receive mail notification about mail that was not marked as junk, but should be.
2. Non-spam (HAM) training user to receive mail notification about mail that was marked as junk, but should not have been.
These addresses are automatically configured towork with the spam training filter. The accounts created have a randomly selected name. To recognize what the account is used for you may want to change this name.
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. Mixed mode uses HTTPS for logging in and HTTP for normal session traffic. All modes use SSL encryption for back-end administrative traffic.Note: selecting both will set it to mixed.
• Enable POP/IMAP proxy, default No. For singleserver installations, this setting should be No.

• 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://<knowledgelinux.com>:7780/aspell.php

7) zimbra-mta The following options can be modified.
• MTA Auth host. This is configured automatically if the MTA authentication server host is on the same server, but must be configured if the authentication server is not on the MTA.
• Enable Spamassassin. Default is enabled.
• Enable ClamAV. Default is enabled.
• Notification address for AV alerts. Sets the notification address for AV alerts. You can eitheraccept the default or create a new address. If youcreate a new address, remember to provision thisaddress from the admin console. Note: If the virus notification address does not exist and your host name is the same as the domain name on the Zimbra server, the virus notifications queue in the Zimbra MTA server and cannot be delivered.

8) zimbra-snmp
(optional) 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 Destinationemail address – destination email address.

9) zimbra-logger

When installed, it is automatically enabled. Thisinformation is used to generate the statistics graphs and is used for message tracing.
10) zimbra-spell
(optional) When installed, it is automatically enabled.
11) Enable defaultbackup schedule For the Network Edition only, sets the schedule forBackup session to run as a full backup every Sunday at 1 a.m. and as incremental on the other days at 1 a.m.
r) Start servers afterconfiguration When the installation and configuration is complete, ifthis is set to Yes, the Zimbra server is automatically started.
s) Save config to file At any time during the installation, you can save theconfiguration to file.
q) Quit Quit can be used at any time to quit the installation.
Installing Zimbra Software
For servers other than Mac servers, open an SSH session to the Zimbra server and follow the steps below.
For Macs, see “Installing Zimbra Software on a Mac Server” .
1. Log in as root to the Zimbra server and cd to the directory where the Zimbra Collaboration Suite archive tar file is saved (cd /var/<tmp>). Type the following commands.
• tar xzvf [zcs.tgz], to unpack the file
• cd zcs, to change to the correct directory
• ./install.sh, to begin the installation
The install.sh script reviews the installation software to verify that the Zimbra packages are available.
The screen shots are examples of the Zimbra installation script

[root@mailhost. tmp]# tar xzvf zcs.tgz
zcs/
zcs/util/
.
.
.
zcs/packages/
zcs/packages/zimbra-apache-3.0.0_M2_595.RHEL4-20051104060309.i386.rpm
zcs/packages/zimbra-core-3.0.0_M2_595.RHEL4-20051104060309.i386.rpm
zcs/packages/zimbra-mta-3.0.0_M2_595.RHEL4-20051104060309.i386.rpm
zcs/packages/zimbra-spell-3.0.0_M2_595.RHEL4-20051104060309.i386.rpm
zcs/packages/zimbra-store-3.0.0_M2_595.RHEL4-20051104060309.i386.rpm
zcs/packages/zimbra-logger-3.0.0_M2_595.RHEL4-20051104060309.i386.rpm
zcs/packages/zimbra-ldap-3.0.0_M2_595.RHEL4-20051104060309.i386.rpm
zcs/packages/zimbra-snmp-3.0.0_M2_595.RHEL4-20051104060309.i386.rpm
zcs/README.txt
zcs/readme_binary.txt
zcs/docs/
.
.
.
[root@mailhost tmp]# cd zcs
[root@mailhost zcs]# ./install.sh

Operations logged to /tmp/install.log.23354
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-core...NOT FOUND 1

2. The installation process checks to see if Sendmail, Postfix, and MySQL software are running. If any of these applications is running, you are asked to disable them. Disabling MySQL is optional but highly recommended. Sendmail and Postfix must be disabled for the Zimbra collaboration Suite to start correctly.
3. The Zimbra software agreement is displayed and includes the link to the license terms for the Zimbra Collaboration Suite. Please read the agreement and, to continue, press Enter.

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. ZIMBRA, INC. (“ZIMBRA”) WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/index.html

Press Return to continue

Checking for prerequisites...
NPTL...found
sudo -1.6.7p5-30.1.3...found
libidn...FOUND libidn-0.5.6-1
curl...FOUND curl-7.12.1-5.rhel4
fetchmail...FOUND fetchmail-6.2.5-6.el4.2
gmp...FOUND gmp-4.1.4-3
/user/lib/libstdc++- FOUND compat-libstdc++-33-3.2.3-47.3
Checking for installable packages


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 install process quits. You must fix the problem and start the installation over.
5. Select the services to be installed on this server. To install Zimbra Collaboration Suite on a single server, enter Y for each package.
6. Type Y and press Enter to modify the system. The selected packages are installed on the server.

Select the packages to install
Install zimbra-ldap [Y]
Install zimbra-logger [Y]
Install zimbra-mta [Y]
Install zimbra-snmp [Y]
Install zimbra-store [Y]
Install zimbra-spell [Y]

Installing:
zimbra-core
zimbra-ldap
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-logger
This system will be modified. Continue [N]Y
Configuration section

Note: Before the configuration starts, the installer checks to see if the hostname is resolvable via DNS. If there is an error, the installer asks if you would like to change the hostname. We recommend that the domain name have a MX record configured in DNS.
7. At this point 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 (*)

Main menu

1) Hostname: mailhost.knowledgelinux.com
2) Ldap master host mailhost.knowledgelinux.com
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
+Create Domain: yes
+Domain to create: mailhost.knowledgelinux.com
6) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mailhost.knowledgelinux.com
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: fdi0j@mailhost.knowledgelinux.com
+Non-spam(Ham) training user: s3nnl@mailhost.knowledgelinux.com
+SMTP host: mailhost.knowledgelinux.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+Enable POP/IMAP proxy: no
+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://mailhost.knowledgelinux.com:7780/aspell.php
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
11) Enable default backup schedule: yes
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit

Address unconfigured (**) items (? – help) 6
To navigate the Main menu, select the menu item to change. You can modify any of the defaults. See Table 2, Main Menu Options, for a description of the Main menu.
For a quick installation, accepting all the defaults. You only need to do the following:
8. Enter 6 to select Main menu 6, zimbra-store.

Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mailhost.knowledgelinux.com
** 4) Admin Password UNSET
5)+Enable automated spam training: yes
6)+Spam training user: fdi0j@mailhost.knowledgelinux.com
7)+Non-spam (Ham)training user: s3nnl@mailhost.knowledgelinux.com
8)+SMTP host: mailhost.knowledgelinux.com
9) Web server HTTP port: 80
10) Web server HTTPS port: 443
11) Web server mode: http
12) Enable POP/IMAP proxy: no
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.knowledgelinux.com:7780/aspell.php

Select, or ‘r’ for previous menu [r] 6
9. Select 4 and type the admin password. The password must be six or more characters. Press Enter.
10. Type r to return to the Main menu.
11. If no other defaults need to be changed, type a to apply the configuration changes. Press Enter.
12. When Save Configuration data to file appears, press Enter.