Setup Zimbra mail server on ubuntu server 8.04

1. download from zimbra website

# wget http://h.yimg.com/lo/downloads/5.0.11_GA/zcs-5.0.11_GA_2695.DEBIAN4.0.20081117055537.tgz

2. extract tar

# tar xvzf zcs-5.0.11_GA_2695.DEBIAN4.0.20081117055537.tgz

3. install

# cd zcs-5.0.11_GA_2695.DEBIAN4.0.20081117055537

# ./install.sh

You will get result …

Operations logged to /tmp/install.log.29411

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-proxy…NOT FOUND

zimbra-archiving…NOT FOUND

zimbra-convertd…NOT FOUND

zimbra-cluster…NOT FOUND

zimbra-core…NOT FOUND

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/zimbra_public_eula_2.1.html

Press Return to continue <- Press Enter

Checking for prerequisites…

FOUND: NPTL

FOUND: sudo-1.6.8p12-4

FOUND: libidn11-0.6.5-1

FOUND: fetchmail-6.3.6-1etch1

FOUND: libpcre3-6.7+7.4-4

FOUND: libgmp3c2-2:4.2.1+dfsg-4

FOUND: libexpat1-1.95.8-3.4

FOUND: libxml2-2.6.27.dfsg-6

FOUND: libstdc++6-4.1.1-21

FOUND: openssl-0.9.8c-4etch3

FOUND: libltdl3-1.5.22-4

Checking for suggested prerequisites…

FOUND: perl-5.8.8

Prerequisite check complete.

Checking for installable packages

Found zimbra-core

Found zimbra-ldap

Found zimbra-logger

Found zimbra-mta

Found zimbra-snmp

Found zimbra-store

Found zimbra-apache

Found zimbra-spell

Found zimbra-proxy

Select the packages to install

Install zimbra-ldap [Y] y <- Enter answer

Install zimbra-logger [Y] y <- Enter answer

Install zimbra-mta [Y] y <- Enter answer

Install zimbra-snmp [Y] y <- Enter answer

Install zimbra-store [Y] y <- Enter answer

Install zimbra-apache [Y] y <- Enter answer

Install zimbra-spell [Y] y <- Enter answer

Install zimbra-proxy [N] y <- Enter answer

Checking required space for zimbra-core

checking space for zimbra-store

Installing:

zimbra-core

zimbra-ldap

zimbra-logger

zimbra-mta

zimbra-snmp

zimbra-store

zimbra-apache

zimbra-spell

zimbra-proxy

The system will be modified. Continue? [N] y <- Enter answer

Removing /opt/zimbra

Removing zimbra crontab entry…done.

done.

Cleaning up zimbra init scripts…done.

Cleaning up /etc/ld.so.conf…done.

Cleaning up /etc/security/limits.conf…done.

Finished removing Zimbra Collaboration Suite.

Installing packages

zimbra-core……zimbra-core_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

zimbra-ldap……zimbra-ldap_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

zimbra-logger……zimbra-logger_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

zimbra-mta……zimbra-mta_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

zimbra-snmp……zimbra-snmp_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

zimbra-store……zimbra-store_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

zimbra-apache……zimbra-apache_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

zimbra-spell……zimbra-spell_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

zimbra-proxy……zimbra-proxy_5.0.11_GA_2695.DEBIAN4.0_i386.deb…done

Operations logged to /tmp/zmsetup.01092009-223517.log

Setting defaults…

DNS ERROR resolving MX for localhost

It is suggested that the domain name have an MX record configured in DNS

Change domain name? [Yes]n<- Enter answer

A Yes/No answer is required

Change domain name? [Yes] no <- Enter answer

done.

Checking for port conflicts

Main menu

1) Common Configuration:

2) zimbra-ldap: Enabled

3) zimbra-store: Enabled

+Create Admin User: yes

+Admin user to create: admin@localhost

******* +Admin Password UNSET

+Enable automated spam training: yes

+Spam training user: spam.d6zcgojod3@localhost

+Non-spam(Ham) training user: ham.bda_izl11d@localhost

+Global Documents Account: wiki@localhost

+SMTP host: localhost

+Web server HTTP port: 80

+Web server HTTPS port: 443

+Web server mode: http

+IMAP server port: 7143

+IMAP server SSL port: 7993

+POP server port: 7110

+POP server SSL port: 7995

+Use spell check server: yes

+Spell server URL: http://localhost:7780/aspell.php

4) zimbra-mta: Enabled

5) zimbra-snmp: Enabled

6) zimbra-logger: Enabled

7) zimbra-spell: Enabled

8) zimbra-proxy: Enabled

9) Default Class of Service Configuration:

r) Start servers after configuration yes

s) Save config to file

x) Expand menu

q) Quit

Address unconfigured (**) items (? – help) 3<- Enter answer

Store configuration

1) Status: Enabled

2) Create Admin User: yes

3) Admin user to create: admin@localhost

** 4) Admin Password UNSET

5) Enable automated spam training: yes

6) Spam training user: spam.d6zcgojod3@localhost

7) Non-spam(Ham) training user: ham.bda_izl11d@localhost

8) Global Documents Account: wiki@localhost

9) SMTP host: localhost

10) Web server HTTP port: 80

11) Web server HTTPS port: 443

12) Web server mode: http

13) IMAP server port: 7143

14) IMAP server SSL port: 7993

15) POP server port: 7110

16) POP server SSL port: 7995

17) Use spell check server: yes

18) Spell server URL: http://localhost:7780/aspell.php

Select, or ‘r’ for previous menu [r] 4 <- Enter choice 4 for change admin password

Password for admin@localhost (min 6 characters): [9J32wCIR] xxxxxxxxxxx <- Enter admin password

Store configuration

1) Status: Enabled

2) Create Admin User: yes

3) Admin user to create: admin@localhost

4) Admin Password set

5) Enable automated spam training: yes

6) Spam training user: spam.d6zcgojod3@localhost

7) Non-spam(Ham) training user: ham.bda_izl11d@localhost

8) Global Documents Account: wiki@localhost

9) SMTP host: localhost

10) Web server HTTP port: 80

11) Web server HTTPS port: 443

12) Web server mode: http

13) IMAP server port: 7143

14) IMAP server SSL port: 7993

15) POP server port: 7110

16) POP server SSL port: 7995

17) Use spell check server: yes

18) Spell server URL: http://localhost:7780/aspell.php

Select, or ‘r’ for previ
ous menu [r] r <- Enter answer to return menu

Main menu

1) Common Configuration:

2) zimbra-ldap: Enabled

3) zimbra-store: Enabled

4) zimbra-mta: Enabled

5) zimbra-snmp: Enabled

6) zimbra-logger: Enabled

7) zimbra-spell: Enabled

8) zimbra-proxy: Enabled

9) Default Class of Service Configuration:

r) Start servers after configuration yes

s) Save config to file

x) Expand menu

q) Quit

*** CONFIGURATION COMPLETE – press ‘a’ to apply

Select from menu, or press ‘a’ to apply config (? – help) a <- Enter answer to apply setting

Save configuration data to a file? [Yes] y <- Enter answer

Save config in file: [/opt/zimbra/config.1010] y <- Enter answer

Saving config in y…done.

The system will be modified – continue? [No] y <- Enter answer

Operations logged to /tmp/zmsetup.01092009-223517.log

Setting local config values…done.

Setting up CA…done.

Deploying CA to /opt/zimbra/conf/ca …done.

Creating SSL certificate…done.

Installing mailboxd SSL certificates…done.

Initializing ldap…done.

Setting replication password…done.

Setting Postfix password…done.

Setting amavis password…done.

Setting nginx password…done.

Saving CA in ldap …done.

Creating server entry for localhost…done.

Saving SSL Certificate in ldap …done.

Setting spell check URL…done.

Setting service ports on localhost…done.

Adding localhost to zimbraMailHostPool in default COS…done.

Installing skins…

beach

yahoo

sand

sky

lavender

bones

steel

bare

hotrod

zmail

lemongrass

waves

done.

Setting zimbraFeatureIMEnabled=FALSE…done.

Setting zimbraFeatureTasksEnabled=TRUE…done.

Setting zimbraFeatureBriefcasesEnabled=TRUE…done.

Setting zimbraFeatureNotebookEnabled=TRUE…done.

Setting MTA auth host…done.

Setting TimeZone Preference…done.

Creating domain localhost…done.

Creating user admin@localhost…done.

Creating postmaster alias…done.

Creating user wiki@localhost…done.

Creating user spam.d6zcgojod3@localhost…done.

Creating user ham.bda_izl11d@localhost…done.

Setting spam training accounts…done.

Initializing store sql database…done.

Setting zimbraSmtpHostname for localhost…done.

Initializing logger sql database…done.

Initializing mta config…done.

Configuring SNMP…done.

Setting services on localhost…done.

Setting up syslog.conf…done.

You have the option of notifying Zimbra of your installation.

This helps us to track the uptake of the Zimbra Collaboration Suite.

The only information that will be transmitted is:

The VERSION of zcs installed (5.0.11_GA_2695_DEBIAN4.0)

The ADMIN EMAIL ADDRESS created (admin@localhost)

Notify Zimbra of your installation? [Yesyes <- Enter answer

A Yes/No answer is required

You have the option of notifying Zimbra of your installation.

This helps us to track the uptake of the Zimbra Collaboration Suite.

The only information that will be transmitted is:

The VERSION of zcs installed (5.0.11_GA_2695_DEBIAN4.0)

The ADMIN EMAIL ADDRESS created (admin@localhost)

Notify Zimbra of your installation? [Yes] yes <- Enter answer

Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=5.0.11_GA_2695_DEBIAN4.0&MAIL=admin@localhost

Notification complete

Starting servers…done.

Checking for deprecated zimlets…done.

Installing common zimlets…

com_zimbra_date…done.

com_zimbra_email…done.

com_zimbra_local…done.

com_zimbra_cert_manager…done.

com_zimbra_url…done.

com_zimbra_ymemoticons…done.

com_zimbra_bulkprovision…done.

com_zimbra_phone…done.

Finished installing common zimlets.

Initializing Documents…done.

Restarting mailboxd…done.

Setting up zimbra crontab…done.

Moving /tmp/zmsetup.01092009-223517.log to /opt/zimbra/log

Configuration complete – press return to exit <- Press Enter

4. login to zimbra user

# su – zimbra

5. Check status

zimbra@mail:~$ zmcontrol status

Host localhost

antispam Running

antivirus Running

imapproxy Running

ldap Running

logger Running

mailbox Running

mta Running

snmp Running

spell Running

stats Running

6.

zimbra@mail:~$ exit

Congratulation, zimbra already to use now.

engineerball Written by: