How to Create Account on Zimbra using zmprov Tool

zmprovThe zmprov command is a tool that can performs all provisioning tasks in Zimbra LDAP, including creating accounts, aliases, domains, distribution lists, and calendar resources. Each operation or command is invoked through command-line options, each of which has a long name and a short name. In this post i will share on how to create an account on Zimbra Collaboration Suite using zmprov command tool :

1. Login as zimbra user :

[root@mail ~]# su - zimbra

2. Perform the following zmprov tool to create zimbra account with display name but without password. If the zimbra mail host is connected to external ldap, set password is not required :

[zimbra@mail ~]$ zmprov ca demo@zimbra.local "" displayName "Demo Account"
eb0eb381-4018-49d0-92d5-153291e6e18b

3. If the account(demo@zimbra.local) is using the zimbra LDAP password (internal), you can use this command to change any password. Simply enter the address of the password to be changed as below :
SetPassword = sa
zmprov sp {name@domain} {password}

[zimbra@mail ~]$ zmprov sp demo@zimbra.local password

How to Test Posfix Mail Service using Telnet

PosfixIn order to test the mail services working properly, testing needs to be performed. Instead of using GUI mail client or webmail to test the sending and receiving email,you also can use telnet. Telnet is the most basic mail client. It does the same thing as advanced mail client such as Microsoft Outlook and Mozilla Thunderbird. Telnet will verify and check the server responses to mail requests that was typed.

Perform Testing for Posfix Mail Service using Telnet on linux shell :

[root@mail ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.zimbra.local ESMTP Postfix
Helo mail.zimbra.local
250 mail.zimbra.local
MAIL FROM:<admin@zimbra.local>
250 2.1.0 Ok
RCPT TO:<user@zimbra.local>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: My Test Email
This is the body of the Email
.
250 2.0.0 Ok: queued as 194869C1AB
quit
221 2.0.0 Bye
Connection closed by foreign host.

Perform Testing for Posfix Mail Service using Telnet on Windows Command Prompt :

C:\>telnet mail.zimbra.local 25

220 mail.zimbra.local ESMTP Postfix
ehlo mail.zimbra.local
250-mail.zimbra.local
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM:<admin@zimbra.local>
250 2.1.0 Ok
RCPT TO:<user@zimbra.local>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: My Test Email
This is the body of the EMAIL Message!
.
250 2.0.0 Ok: queued as 538BB9C1AD

Steps to Perform Testing the Postfix Mail Service

1. Establish a TCP connection to port 25 which is postfix port :

[root@mail ~]# telnet localhost 25

You should receive a 220 response:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.zimbra.local ESMTP Postfix

Postfix is listening and we can communicate with SMTP now.

2. Next,greet the postfix server. The function is considered same with postman or transport :

Helo mail.zimbra.local

The postfix mail server should respond as below :

250 mail.zimbra.local

3. Inform the postfix server know who the sender is:

MAIL FROM:<admin@zimbra.local>

You will get ‘250’ output if the postfix accepts the sender address :

250 2.1.0 Ok

4. Specify the recipient of the email :

RCPT TO:<user@zimbra.local>

If Postfix accepts the recipient address will returned 250 response :

250 2.1.5 Ok

5. Send the actual Email with subject and body of the email :

DATA

Postfix agrees and feedback us to start actual email and returned this output :

354 End data with <CR><LF>.<CR><LF>

6. Start compose the mail, type the word ‘Subject:’ for email subject then enter. Type email body end our input with a dot.

Subject: My Test Email
This is the body of the Email
.

As before, if postfix agress and accepts the email, it will returned 250 response :

250 2.0.0 Ok: queued as 194869C1AB

7. Postfix test fixt telnet finished at the moment, So you can quit :

quit
221 2.0.0 Bye
Connection closed by foreign host.

Trace the mail on Postfix Mail server using message ID :

On Linux shell, message id is 194869C1AB :

[root@mail ~]# cat /var/log/maillog | grep 194869C1AB
Jun  5 01:58:21 mail postfix/smtpd[12285]: 194869C1AB: client=localhost.localdomain[127.0.0.1]
Jun  5 01:59:24 mail postfix/cleanup[17117]: 194869C1AB: message-id=<20120604175821.194869C1AB@mail.zimbra.local>
Jun  5 01:59:24 mail postfix/qmgr[4464]: 194869C1AB: from=<admin@zimbra.local>, size=409, nrcpt=1 (queue active)
Jun  5 01:59:25 mail postfix/cleanup[17117]: 52A7E9C1AD: message-id=<20120604175821.194869C1AB@mail.zimbra.local>
Jun  5 01:59:25 mail postfix/smtp[17317]: 194869C1AB: to=<user@zimbra.local>, relay=127.0.0.1[127.0.0.1]:10024, delay=73, delays=72/0.02/0.1/0.76, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 52A7E9C1AD)
Jun  5 01:59:25 mail postfix/qmgr[4464]: 194869C1AB: removed

On Windows Command Prompt, the message id is 538BB9C1AD.

[root@mail ~]# cat /var/log/maillog | grep 538BB9C1AD
Jun  5 02:14:08 mail postfix/smtpd[21232]: 538BB9C1AD: client=unknown[192.168.1.52]
Jun  5 02:14:55 mail postfix/cleanup[22300]: 538BB9C1AD: message-id=<20120604181408.538BB9C1AD@mail.zimbra.local>
Jun  5 02:14:55 mail postfix/qmgr[4464]: 538BB9C1AD: from=<admin@zimbra.local>, size=408, nrcpt=1 (queue active)
Jun  5 02:15:05 mail postfix/cleanup[22300]: EDD0E9C1AE: message-id=<20120604181408.538BB9C1AD@mail.zimbra.local>
Jun  5 02:15:05 mail postfix/smtp[22317]: 538BB9C1AD: to=<user@zimbra.local>, relay=127.0.0.1[127.0.0.1]:10024, delay=74, delays=65/0.02/1.6/7.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as EDD0E9C1AE)
Jun  5 02:15:05 mail postfix/qmgr[4464]: 538BB9C1AD: removed

How to Fix “MISSING: /usr/lib/libstdc++.so.6” Zimbra Installation on CentOS 6.2 x86_64

Questions :
When i try to install Zimbra 7.1.4 on linux CentOS 6.2 server, i got the following error message and cannot proceed the zimbra installation. How can i fix this ?

MISSING: /usr/lib/libstdc++.so.6
[root@mail zcs-7.1.4_GA_2555.RHEL6_64.20120105094542]# ./install.sh --platform-override

Operations logged to /tmp/install.log.2145
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

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

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

Checking for prerequisites...
     FOUND: NPTL
     FOUND: sudo-1.7.4p5-7
     FOUND: libidn-1.18-2
     FOUND: gmp-4.3.1-7
     MISSING: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites...
     FOUND: sysstat
     FOUND: sqlite

###ERROR###

One or more prerequisite packages are missing.
Please install them before running this installer.

Installation cancelled.

Tested Workarounds :
I think this is bug that need to be fix.
/usr/lib/ = Library for CentOS 32 Bit
/usr/lib64/ = Library for CentOS 64 Bit

I have two workarounds for this issue. If you have any suggestions and recommendations and corrections, please do let me know. By the way, i have tested both workaround, it workings perfectly on my zimbra lab server.

Workaround 1 :
Create symbolic link to the following file :

[root@mail ~]# ln -s /usr/lib64/libstdc++.so.6 /usr/lib/libstdc++.so.6

Verify the created symbolic link :

[root@mail ~]# ls -l /usr/lib/libstdc++.so.6
lrwxrwxrwx. 1 root root 25 Mar 31 20:30 /usr/lib/libstdc++.so.6 -> /usr/lib64/libstdc++.so.6

Workaround 2 :

Download libstdc++ 32 bit installer :

[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/compat-libstdc++-33-3.2.3-69.el6.i686.rpm
[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/compat-libstdc++-296-2.96-144.el6.i686.rpm
[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/libstdc++-4.4.6-3.el6.i686.rpm
[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/libstdc++-devel-4.4.6-3.el6.i686.rpm
[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/libstdc++-docs-4.4.6-3.el6.i686.rpm

Install the rpm packages :

[root@mail ~]# rpm -ivh compat-libstdc* libstdc++* --nodeps
Preparing...                ########################################### [100%]
   1:libstdc++              ########################################### [ 20%]
   2:libstdc++-devel        ########################################### [ 40%]
   3:libstdc++-docs         ########################################### [ 60%]
   4:compat-libstdc++-33    ########################################### [ 80%]
   5:compat-libstdc++-296   ########################################### [100%]

Verify the libstdc installed packages exist in /usr/lib :

[root@mail lib]# pwd
/usr/lib
[root@mail lib]# ls | grep libstdc
libstdc++-3-libc6.2-2-2.10.0.so
libstdc++-libc6.2-2.so.3
libstdc++.so.5
libstdc++.so.5.0.7
libstdc++.so.6
libstdc++.so.6.0.13

How to Fix “Port conflict detected: 80 (zimbra-store)” During Zimbra 7.1.3 Mail Server Installation on Linux CentOS 5.7

Question :

I am facing same problem during Zimbra 7.1.3 Mail Server Installation on Linux CentOS 5.7. What should ido to fix this ?

Error message :

Checking for port conflicts
Port conflict detected: 80 (zimbra-store)
Port conflicts detected! - Any key to continue

Answer :
What you should do is these :
1. Cancel current zimbra installation.
2. Stop httpd or any service that running on port 80. Then proceed to uninstall that service.
3. run the command :

[root@mail ~]# yum remove httpd -y
[root@mail zcs-7.1.3_GA_3346.RHEL5.20110928134520]# ./install.sh -u
[root@mail ~]# rm -rf /opt/zimbra

4. Restart the zimbra installation as normal

How to Prepare for Zimbra Collaboration Suite 7.1.4 Mail Server Installation on CentOS 6.2 x86_64

Before you start to install Zimbra Collaboration Suite 7.1.4 Mail Server on CentOS 6.2 x86_64, there are a few prerequisites that must be perform. This is the summary of the configuration prerequisites :

1. Prepare for Fully qualified domain name (FQDN) for your zimbra mail server and do the configuration of your dns server :
2. Configure /etc/hosts and hostname.
3. Disable SElinux.
4. Disable iptables or configure iptables with zimbra ports.
5. Modify sudo configuration file. Uncomment as below for “Defaults requiretty” :
How to Fix “Initializing ldap…failed” Zimbra Installation on CentOS 6.2 x86_64

[root@mail ~]# vi /etc/sudoers
#
#Defaults    requiretty

#

6. Do workaround to fix missing /usr/lib/libstdc++.so.6
How to Fix “MISSING: /usr/lib/libstdc++.so.6? Zimbra Installation on CentOS 6.3 x86_64
7. Stop and disable postfix at boot :

[root@mail ~]# service postfix stop
[root@mail ~]# chkconfig postfix off

8. Stop and disable sendmail service to start at boot :

[root@mail ~]# service sendmail stop
[root@mail ~]# chkconfig sendmail off

9. Install prerequisites software :

[root@mail ~]# yum install nc sudo libidn gmp libstdc++ perl sysstat sqlite -y

How to Fix “Initializing ldap…failed” Zimbra Installation on CentOS 6.2 x86_64

Question :
When i try to install Zimbra 7.1.4 on linux CentOS 6.2 server, i stuck at the following error:

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.9228]
Saving config in /opt/zimbra/config.9228...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.03312012-204237.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...failed. (28416)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.03312012-204237.log

How to fix this?

Solutions :

By default, sudo configuration has deny any sudo command for the user who not logged in. Therefore you need to comment out this line on /etc/sudoers.

1. Login to another putty session(second screen) and leave the installation error (first screen) for a while.
2. Modify /etc/sudoers or alternatively, you just type visudo :

[root@mail ~]# vi /etc/sudoers

3. Comment out this line only :

# Defaults requiretty

4. Go to the first screen where your zimbra installation failed. Then you can continue back the installation by executing the following command :

[root@mail ~]# /opt/zimbra/libexec/zmsetup.pl

How to Install Patch for VMware Zimbra Collaboration Server 7.1.4 on CentOS 6.2 x86_64

In this post, i will show how to install patch for VMware Zimbra Collaboration Server 7.1.4. This patch fixes the following bugs. This post assumed that you have already install Zimbra Collaboration Suite 7.1.4 Mail Server on linux CentOS 6.2 x86_64 server.
How to Install Zimbra Collaboration Suite 7.1.4 Mail Server on CentOS 6.2 x86_64

Released date :February 13, 2012
Patch 7.1.4 P1 patch fixes the following bugs:
• 52190 CAC Authentication for ZWC
• 66550 GetInfoRequest RPC sometimes hangs
• 68402 TNEF parsing OOME
• 68556 Reject IMAP FETCH requests that span a large range and include BODY
• 68640 ArchiveFormatter induced deadlock
• 68786 DoS through hash table multi-collisions in Jetty
• 69132 com.zimbra.cs.mime.MimeHandlerException occurred while sending appointment invite
message to the attendees
• 69155 View mail from admin console does not work for Global admin
• 69832 Forwarding multiple videos from Apple Mail app does not display from mobile device

Note:
• A full backup should be performed before any patch is applied. There is no automated roll-back
mechanism.
• Zimlet patches can include removing existing Zimlets and redeploying the patched Zimlet.
• Only files/zimlets associated with installed packages will be installed from the patch.
• Switch to user zimbra before using ZCS CLI commands.

1. Download or copy the patch.tgz file to your server :

[root@mail ~]# wget http://files2.zimbra.com/downloads/7.1.4_GA/zcs-patch-7.1.4_GA_2568.tgz

2. Log in as root and extract the downloaded patch.tgz :

[root@mail ~]# tar xzvf zcs-patch-7.1.4_GA_2568.tgz

3. cd to the directory where the tar file is saved :

[root@mail ~]# cd zcs-patch-7.1.4_GA_2568

4. View what is inside the patch :

[root@mail zcs-patch-7.1.4_GA_2568]# ls
bin  conf  installPatch.sh  source

5. Type ./installPatch.sh to install the patch :

[root@mail zcs-patch-7.1.4_GA_2568]# ./installPatch.sh
Current Version: 7.1.4_GA_2555
Found Patch for 7.1.4_GA called 7.1.4_P1
 Deploying patch for 7.1.4_GA
 Updating files for package zimbra-store
  /opt/zimbra/jetty/etc/jetty.xml.in... copied.
  /opt/zimbra/jetty/common/lib/zimbracommon.jar... copied.
  /opt/zimbra/jetty/webapps/service/WEB-INF/lib/zimbrastore.jar... copied.
  /opt/zimbra/jetty/webapps/zimbra/WEB-INF/lib/zimbrastore.jar... copied.
  /opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/lib/zimbrastore.jar... copied.
  /opt/zimbra/lib/jars/zimbrastore.jar... copied.
  /opt/zimbra/jetty/webapps/zimbraAdmin/js/zimbraAdmin/accounts/controller/ZaAccountListController.js... copied.
  /opt/zimbra/jetty/webapps/zimbraAdmin/js/Admin_all.js.zgz... copied.
  /opt/zimbra/jetty/webapps/zimbraAdmin/js/Admin_all.js... copied.
 Updating files for package zimbra-core
  /opt/zimbra/lib/jars/zimbracommon.jar... copied.
  /opt/zimbra/docs/open_source_licenses.txt... copied.

6. Switch to user zimbra :

[root@mail zcs-patch-7.1.4_GA_2568]# su - zimbra

7. Restart mailbox service :

[zimbra@mail ~]$ zmmailboxdctl restart
Stopping mailboxd...done.
Starting mailboxd...done.

8. In multiple node configurations, the local cache should be flushed by typing the following command :

[zimbra@mail ~]$ zmprov fc locale

9. ZCS must be restarted for changes to take effect :

[zimbra@mail ~]$ zmcontrol restart
Host mail.example.com
        Stopping zmconfigd...Done.
        Stopping stats...Done.
        Stopping mta...Done.
        Stopping spell...Done.
        Stopping snmp...Done.
        Stopping cbpolicyd...Done.
        Stopping archiving...Done.
        Stopping antivirus...Done.
        Stopping antispam...Done.
        Stopping imapproxy...Done.
        Stopping memcached...Done.
        Stopping mailbox...Done.
        Stopping logger...Done.
        Stopping ldap...Done.
Host mail.example.com
        Starting ldap...Done.
        Starting zmconfigd...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting snmp...Done.
        Starting spell...Done.
        Starting mta...Done.
        Starting stats...Done.

How to Install Zimbra Collaboration Suite 7.1.4 Mail Server on CentOS 6.2 x86_64

In this post, i will share with you on how to install zimbra open source mail server on linux CentOS 6.2 x86_64 (64 bit) server. The original package of this Zimbra Collaboration Suite (zcs) is for Red Hat Enterprise Linux 6, however it’s tested working on CentOS 6 version. According to wikipedia, Zimbra Collaboration Suite (ZCS) is a groupware product created by Zimbra, Inc. It was located in Palo Alto, California, USA. In September 2007, The company was purchased by Yahoo! and subsequently purchased by VMware on January 12, 2010. Two current available version of the zimbra are zimbra open-source version and zimbra network version. Zimbra Network is commercial edition of Zimbra Collaboration Suite. Before you start this steps, make sure you have installed and configured all the prerequisites steps and software :

1. Download Zimbra Collaboration Suite 7.1.4 from zimbra official website :

[root@mail ~]# wget http://files2.zimbra.com/downloads/7.1.4_GA/zcs-7.1.4_GA_2555.RHEL6_64.20120105094542.tgz

2. Extract the downloaded zcs file :

[root@mail ~]# tar -xzvf 7.1.4_GA/zcs-7.1.4_GA_2555.RHEL6_64.20120105094542.tgz

3. Change directory to extracted zcs folder :

[root@mail ~]# cd zcs-7.1.4_GA_2555.RHEL6_64.20120105094542

4. Start installing zimbra using the following command. Make sure you put “–platform-override” as this zimbra is install on the operating system other than RHEL :

[root@mail zcs-7.1.4_GA_2555.RHEL6_64.20120105094542]# ./install.sh --platform-override

Example of full Zimbra Collaboration Suite 7.1.4 installation :

[root@mail zcs-7.1.4_GA_2555.RHEL6_64.20120105094542]# ./install.sh --platform-override

Operations logged to /tmp/install.log.22842
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


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



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

Checking for prerequisites...
     FOUND: NPTL
     FOUND: sudo-1.7.4p5-7
     FOUND: libidn-1.18-2
     FOUND: gmp-4.3.1-7
     FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites...
     FOUND: sysstat
     FOUND: sqlite
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-memcached
Found zimbra-proxy


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-apache [Y]

Install zimbra-spell [Y]

Install zimbra-memcached [N]

Install zimbra-proxy [N]
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

You appear to be installing packages on a platform different
than the platform for which they were built.

This platform is CentOSUNKNOWN_64
Packages found: RHEL6_64
This may or may not work.

Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.


Install anyway? [N] y

The system will be modified.  Continue? [N] y

Removing /opt/zimbra
Removing zimbra crontab entry...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/prelink.conf...done.
Cleaning up /etc/security/limits.conf...done.

Finished removing Zimbra Collaboration Suite.

Installing packages

    zimbra-core......zimbra-core-7.1.4_GA_2555.RHEL6_64-20120105094542.x86_64.rpm...done
    zimbra-ldap......zimbra-ldap-7.1.4_GA_2555.RHEL6_64-20120105094542.x86_64.rpm...done
    zimbra-logger......zimbra-logger-7.1.4_GA_2555.RHEL6_64-20120105094542.x86_64.rpm...done
    zimbra-mta......zimbra-mta-7.1.4_GA_2555.RHEL6_64-20120105094542.x86_64.rpm...done
    zimbra-snmp......zimbra-snmp-7.1.4_GA_2555.RHEL6_64-20120105094542.x86_64.rpm...done
    zimbra-store......zimbra-store-7.1.4_GA_2555.RHEL6_64-20120105094542.x86_64.rpm...done
    zimbra-apache......zimbra-apache-7.1.4_GA_2555.RHEL6_64-20120105094542.x86_64.rpm...done
    zimbra-spell......zimbra-spell-7.1.4_GA_2555.RHEL6_64-20120105094542.x86_64.rpm...done
Operations logged to /tmp/zmsetup.04012012-202229.log
Installing LDAP configuration database...done.
Setting defaults...

DNS ERROR resolving MX for mail.example.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
Create domain: [mail.example.com] example.com
        MX: mail.example.com (192.168.1.20)

        Interface: 192.168.1.20
        Interface: 127.0.0.1
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@example.com
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.arpxp2fk_x@example.com
        +Enable automated spam training:       yes
        +Spam training user:                   spam.nr6hggm7yu@example.com
        +Non-spam(Ham) training user:          ham.swbriegq@example.com
        +SMTP host:                            mail.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://mail.example.com:7780/aspell.php
        +Configure for use with mail proxy:    FALSE
        +Configure for use with web proxy:     FALSE
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@example.com
        +Version update source email:          admin@example.com

   4) zimbra-mta:                              Enabled
   5) zimbra-snmp:                             Enabled
   6) zimbra-logger:                           Enabled
   7) zimbra-spell:                            Enabled
   8) Default Class of Service Configuration:
   r) Start servers after configuration        yes
   s) Save config to file
   x) Expand menu
   q) Quit

Address unconfigured (**) items  (? - help) 3


Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@example.com
** 4) Admin Password                           UNSET
   5) Anti-virus quarantine user:              virus-quarantine.arpxp2fk_x@example.com
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.nr6hggm7yu@example.com
   8) Non-spam(Ham) training user:             ham.swbriegq@example.com
   9) SMTP host:                               mail.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://mail.example.com:7780/aspell.php
  19) Configure for use with mail proxy:       FALSE
  20) Configure for use with web proxy:        FALSE
  21) Enable version update checks:            TRUE
  22) Enable version update notifications:     TRUE
  23) Version update notification email:       admin@example.com
  24) Version update source email:             admin@example.com

Select, or 'r' for previous menu [r] 4

Password for admin@example.com (min 6 characters): [cMYJeRN5oY] password

Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@example.com
   4) Admin Password                           set
   5) Anti-virus quarantine user:              virus-quarantine.arpxp2fk_x@example.com
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.nr6hggm7yu@example.com
   8) Non-spam(Ham) training user:             ham.swbriegq@example.com
   9) SMTP host:                               mail.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://mail.example.com:7780/aspell.php
  19) Configure for use with mail proxy:       FALSE
  20) Configure for use with web proxy:        FALSE
  21) Enable version update checks:            TRUE
  22) Enable version update notifications:     TRUE
  23) Version update notification email:       admin@example.com
  24) Version update source email:             admin@example.com

Select, or 'r' for previous menu [r]

Main menu

   1) Common Configuration:
   2) zimbra-ldap:                             Enabled
   3) zimbra-store:                            Enabled
   4) zimbra-mta:                              Enabled
   5) zimbra-snmp:                             Enabled
   6) zimbra-logger:                           Enabled
   7) zimbra-spell:                            Enabled
   8) Default Class of Service Configuration:
   r) Start servers after configuration        yes
   s) Save config to file
   x) Expand menu
   q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.5436]
Saving config in /opt/zimbra/config.5436...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.04012012-202229.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.
Setting BES searcher  password...done.
Creating server entry for mail.example.com...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on mail.example.com...done.
Adding mail.example.com to zimbraMailHostPool in default COS...done.
Installing webclient skins...
        beach...done.
        lavender...done.
        oasis...done.
        smoke...done.
        sand...done.
        pebble...done.
        lemongrass...done.
        lake...done.
        waves...done.
        sky...done.
        tree...done.
        steel...done.
        carbon...done.
        bare...done.
        hotrod...done.
        twilight...done.
        bones...done.
Finished installing webclient skins.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on mail.example.com...done.
Creating domain example.com...done.
Setting default domain name...done.
Creating domain example.com...already exists.
Creating admin account admin@example.com...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.nr6hggm7yu@example.com...done.
Creating user ham.swbriegq@example.com...done.
Creating user virus-quarantine.arpxp2fk_x@example.com...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.example.com...done.
Configuring SNMP...done.
Checking for default IM conference room...not present.
Initializing default IM conference room...done.
Setting up syslog.conf...done.

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

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


Moving /tmp/zmsetup.04012012-202229.log to /opt/zimbra/log


Configuration complete - press return to exit

5. Login as zimbra user to administer zimbra mail services :

[root@mail ~]# su - zimbra

6. Check zimbra services :

[zimbra@mail ~]$ zmcontrol status
Host mail.example.com
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zmconfigd               Running

7. Start zimbra services :

[zimbra@mail ~]$ zmcontrol start

8. Stop zimbra services :

[zimbra@mail ~]$ zmcontrol stop

How to Fix “cannot restore segment prot after reloc: Permission denied” error While Restarting zmcontrol on Zimbra

Question :

I want to start the Zimbra services. But i am getting the following issue while restarting zmcontrol using “zmcontrol start” command as per below error messages :

[zimbra@mail ~]$ zmcontrol start
Host mail.bloggerbaru.local
        Starting zmconfigd...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting snmp...Done.
        Starting spell...Failed.
Starting apache...httpd: Syntax error on line 232 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/httpd/modules/libphp5.so into server: /opt/zimbra/httpd/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
failed.

Answer :
It was SELinux caused the Zimbra services problems failed to start and you have to disable selinux file as below :

1. Disable SELinux on your next reboot.

[root@centos6 ~]# vi /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
#       mls - Multi Level Security protection.
SELINUXTYPE=targeted
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0

To disable SELinux, without having to reboot, you can use the setenforce command as below:

[root@mail ~]# setenforce 0

2. Rerun zmcontrol start command again :

[zimbra@mail ~]$ zmcontrol start
Host mail.bloggerbaru.local
        Starting zmconfigd...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting snmp...Done.
        Starting spell...Done.
        Starting mta...Done.
        Starting stats...Done.

How to Install Zimbra Collaboration Suite 7.1.3 Mail Server on Linux CentOS 5.7

In this post, i will share with you on how to install zimbra open source mail server on linux CentOS 5.7. According to wikipedia, Zimbra Collaboration Suite (ZCS) is a groupware product created by Zimbra, Inc. It was located in Palo Alto, California, USA. In September 2007, The company was purchased by Yahoo! and subsequently purchased by VMware on January 12, 2010. Two current available version of the zimbra are zimbra open-source version and zimbra network version. Zimbra Network is commercial edition of Zimbra Collaboration Suite.

Before we start to install the zimbra mail server, there are a few prerequisites that must be installed and must be configured properly :

Package nc-1.84-10.fc6.i386 already installed and latest version
Package sudo-1.7.2p1-13.el5.i386 already installed and latest version
Package libidn-0.6.5-1.1.i386 already installed and latest version
Package gmp-4.1.4-10.el5.i386 already installed and latest version
Package 4:perl-5.8.8-38.el5.i386 already installed and latest version
Package sysstat-7.0.2-11.el5.i386 already installed and latest version
Package sqlite-3.3.6-5.i386 already installed and latest version
Package libstdc++-4.1.2-52.el5.i386 already installed and latest version
Package libstdc++44-devel-4.4.6-3.el5.1.i386 already installed and latest version
Package libstdc++-devel-4.1.2-52.el5.i386 already installed and latest version

Extract the ZCS package as below :

[root@CentOS57 ~]# tar -xzvf zcs-7.1.3_GA_3346.RHEL5.20110928134520.tgz
[root@CentOS57 ~]# cd zcs-7.1.3_GA_3346.RHEL5.20110928134520

Run ./install.sh should work for RHEL server. Since this is CentOS server, please run ./install.sh –platform-override instead :

[root@mail zcs-7.1.3_GA_3346.RHEL5.20110928134520]# ./install.sh --platform-override

Operations logged to /tmp/install.log.2551
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

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

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

Checking for prerequisites...
     FOUND: NPTL
     FOUND: nc-1.84-10
     FOUND: sudo-1.7.2p1-13
     FOUND: libidn-0.6.5-1.1
     FOUND: gmp-4.1.4-10
     FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites...
     FOUND: perl-5.8.8
     FOUND: sysstat
     FOUND: sqlite
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-memcached
Found zimbra-proxy

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-apache [Y]

Install zimbra-spell [Y]

Install zimbra-memcached [N]

Install zimbra-proxy [N]
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

You appear to be installing packages on a platform different
than the platform for which they were built.

This platform is CentOS5
Packages found: RHEL5
This may or may not work.

Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.

Install anyway? [N]

The system will be modified.  Continue? [N] y

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/prelink.conf...done.
Cleaning up /etc/security/limits.conf...done.

Finished removing Zimbra Collaboration Suite.

Installing packages

    zimbra-core......zimbra-core-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done
    zimbra-ldap......zimbra-ldap-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done
    zimbra-logger......zimbra-logger-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done
    zimbra-mta......zimbra-mta-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done
    zimbra-snmp......zimbra-snmp-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done
    zimbra-store......zimbra-store-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done
    zimbra-apache......zimbra-apache-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done
    zimbra-spell......zimbra-spell-7.1.3_GA_3346.RHEL5-20110928134520.i386.rpm...done
Operations logged to /tmp/zmsetup.03162012-064031.log
Installing LDAP configuration database...done.
Setting defaults...

DNS ERROR resolving MX for mail.bloggerbaru.local
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] yes
Create domain: [mail.bloggerbaru.local] bloggerbaru.local
        MX: mail.bloggerbaru.local (192.168.1.45)

        Interface: 192.168.1.45
        Interface: 127.0.0.1
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@bloggerbaru.local
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.lxgi9noyl@bloggerbaru.local
        +Enable automated spam training:       yes
        +Spam training user:                   spam.opy4zybk@bloggerbaru.local
        +Non-spam(Ham) training user:          ham.igvo2fflur@bloggerbaru.local
        +SMTP host:                            mail.bloggerbaru.local
        +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://mail.bloggerbaru.local:7780/aspell.php
        +Configure for use with mail proxy:    FALSE
        +Configure for use with web proxy:     FALSE
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@bloggerbaru.local
        +Version update source email:          admin@bloggerbaru.local

   4) zimbra-mta:                              Enabled
   5) zimbra-snmp:                             Enabled
   6) zimbra-logger:                           Enabled
   7) zimbra-spell:                            Enabled
   8) Default Class of Service Configuration:
   r) Start servers after configuration        yes
   s) Save config to file
   x) Expand menu
   q) Quit

Address unconfigured (**) items  (? - help) 3

Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@bloggerbaru.local
** 4) Admin Password                           UNSET
   5) Anti-virus quarantine user:              virus-quarantine.lxgi9noyl@bloggerbaru.local
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.opy4zybk@bloggerbaru.local
   8) Non-spam(Ham) training user:             ham.igvo2fflur@bloggerbaru.local
   9) SMTP host:                               mail.bloggerbaru.local
  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://mail.bloggerbaru.local:7780/aspell.php
  19) Configure for use with mail proxy:       FALSE
  20) Configure for use with web proxy:        FALSE
  21) Enable version update checks:            TRUE
  22) Enable version update notifications:     TRUE
  23) Version update notification email:       admin@bloggerbaru.local
  24) Version update source email:             admin@bloggerbaru.local

Select, or 'r' for previous menu [r] 4

Password for admin@bloggerbaru.local (min 6 characters): [sHYnsQzr] password

Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@bloggerbaru.local
   4) Admin Password                           set
   5) Anti-virus quarantine user:              virus-quarantine.lxgi9noyl@bloggerbaru.local
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.opy4zybk@bloggerbaru.local
   8) Non-spam(Ham) training user:             ham.igvo2fflur@bloggerbaru.local
   9) SMTP host:                               mail.bloggerbaru.local
  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://mail.bloggerbaru.local:7780/aspell.php
  19) Configure for use with mail proxy:       FALSE
  20) Configure for use with web proxy:        FALSE
  21) Enable version update checks:            TRUE
  22) Enable version update notifications:     TRUE
  23) Version update notification email:       admin@bloggerbaru.local
  24) Version update source email:             admin@bloggerbaru.local

Select, or 'r' for previous menu [r] r

Main menu

   1) Common Configuration:
   2) zimbra-ldap:                             Enabled
   3) zimbra-store:                            Enabled
   4) zimbra-mta:                              Enabled
   5) zimbra-snmp:                             Enabled
   6) zimbra-logger:                           Enabled
   7) zimbra-spell:                            Enabled
   8) Default Class of Service Configuration:
   r) Start servers after configuration        yes
   s) Save config to file
   x) Expand menu
   q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.10126]
Saving config in /opt/zimbra/config.10126...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.03162012-064031.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.
Setting BES searcher  password...done.
Creating server entry for mail.bloggerbaru.local...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on mail.bloggerbaru.local...done.
Adding mail.bloggerbaru.local to zimbraMailHostPool in default COS...done.
Installing webclient skins...
        hotrod...done.
        lake...done.
        carbon...done.
        bones...done.
        waves...done.
        steel...done.
        tree...done.
        lemongrass...done.
        pebble...done.
        oasis...done.
        bare...done.
        lavender...done.
        smoke...done.
        sand...done.
        beach...done.
        twilight...done.
        sky...done.
Finished installing webclient skins.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on mail.bloggerbaru.local...done.
Creating domain bloggerbaru.local...done.
Setting default domain name...done.
Creating domain bloggerbaru.local...already exists.
Creating admin account admin@bloggerbaru.local...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.opy4zybk@bloggerbaru.local...done.
Creating user ham.igvo2fflur@bloggerbaru.local...done.
Creating user virus-quarantine.lxgi9noyl@bloggerbaru.local...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.bloggerbaru.local...done.
Configuring SNMP...done.
Checking for default IM conference room...not present.
Initializing default IM conference room...done.
Setting up syslog.conf...done.

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

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

Moving /tmp/zmsetup.03162012-064031.log to /opt/zimbra/log

Configuration complete - press return to exit

Login as zimbra user :

[root@mail ~]# su - zimbra

Check Zimbra status :

[zimbra@mail ~]$ zmcontrol status

Start Zimbra services :

[zimbra@mail ~]$ zmcontrol start

Stop Zimbra services :

[zimbra@mail ~]$ zmcontrol stop