How to Configure Zimbra Mail in Centos

Installing Zimbra Collaboration Server on Centos-6.5 64 Bit..........

Zimbra- Zimbra Collaboration Suite (ZCS) is a collaborative software suite, that includes an email server and web client, currently owned and developed by Zimbra, Inc (formerly Telligent Systems).

Zimbra was initially developed by Zimbra, Inc., and first released in 2005. The company was subsequently purchased by Yahoo in September 2007, and later sold to VMware on January 12, 2010. In July 2013, it was sold by VMware to Telligent Systems which changed its name to Zimbra, Inc. in September 2013.
More..http://en.wikipedia.org/wiki/Zimbra

Server System Details-

OS-               Centos-6.4
HOSTNAME- mail.bhandari.com
IP-                 192.168.1.21

Step-1- Change Hostname-

[root@mail ~]# vim /etc/sysconfig/network

HOSTNAME=mail.bhandari.com

[root@mail ~]# vim /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.211      mail.bhandari.com         mail

Step-2 Change IP...

[root@mail ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
-----------------------------------------------------------------------
DEVICE="eth0"
IPADDR=192.168.1.221
NETMASK=255.255.255.0
HWADDR="00:16:D4:39:5B:6F"
NM_CONTROLLED="yes"
ONBOOT="yes"
-----------------------------------------------------------------------
Restart Network Services..

[root@mail ~]# service network restart

Check Hostname..

[root@mail ~]# hostname

mail.bhandari.com

[root@mail ~]# ifconfig

192.168.1.211

Step-3 Update Your System...

[root@mail ~]# yum update

Step-4 Install prerequisite package for zimbra..

[root@mail ~]# yum install sysstat libidn gmp libtool-ltdl compat-glib vixie-cron nc perl libstdc++.i686

Step-5 Nodify /etc/sudoers file..

Note- Comment out " Defaults       requiretty " line

[root@mail ~]# vim /etc/sudoers
-----------------------------------------------------------------------
# Disable "ssh hostname sudo ", because it will show the password in clear.
#         You have to run "ssh -t hostname sudo ".
#
# Defaults    requiretty
-----------------------------------------------------------------------

Step-6 Disable start-up services..

[root@mail ~]# chkconfig postfix off

[root@mail ~]# service postfix stop

[root@mail ~]# chkconfig sendmail off

[root@mail ~]# service sendmail stop

Step-7 Disable or adjust your firewall...

[root@mail ~]# chkconfig iptables off

[root@mail ~]# service iptables off

[root@mail ~]# chkconfig ip6tables off

[root@mail ~]# service ip6tables stop

Step-8 Disable selinux

[root@mail ~]# vim /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=disable
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted
-------------------------------------------------------------------------------
Step-9 Now Reboot System..

[root@mail ~]# reboot

Step-10 Download Zimbra..

[root@mail ~]# cd /tmp/

[root@mail tmp]# wget files2.zimbra.com/downloads/8.0.7_GA/zcs-8.0.7_GA_6021.RHEL6_64.20140408123911.tgz

[root@mail tmp]# tar xzf zcs-8.0.7_GA_6021.RHEL6_64.20140408123911.tgz
[root@mail tmp]# cd zcs-8.0.7_GA_6021.RHEL6_64.20140408123911


Step-11 Run Zimbra installer...

[root@mail zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# ./install.sh

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

Oracle Binary Code License Agreement for the Java SE Platform Products

ORACLE  AMERICA, INC. ("ORACLE"), FOR AND ON BEHALF OF ITSELF AND ITS SUBSIDIARIES AND AFFILIATES UNDER COMMON CONTROL, IS WILLING TO  LICENSE  THE SOFTWARE  TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS  CONTAINED IN THIS BINARY CODE LICENSE AGREEMENT AND SUPPLEMENTAL  LICENSE TERMS (COLLECTIVELY "AGREEMENT").  PLEASE READ THE AGREEMENT  CAREFULLY.  BY SELECTING THE "ACCEPT LICENSE AGREEMENT" (OR THE EQUIVALENT) BUTTON AND/OR BY USING THE SOFTWARE YOU ACKNOWLEDGE THAT YOU HAVE READ THE TERMS AND AGREE TO THEM.  IF YOU ARE AGREEING TO THESE TERMS ON BEHALF OF A  COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT THAT YOU HAVE THE LEGAL  AUTHORITY TO BIND THE LEGAL ENTITY TO THESE TERMS.  IF YOU DO NOT HAVE SUCH  AUTHORITY, OR IF YOU DO NOT WISH TO BE BOUND BY THE TERMS, THEN SELECT THE "DECLINE LICENSE AGREEMENT" (OR THE EQUIVALENT) BUTTON AND YOU MUST NOT USE THE SOFTWARE ON THIS SITE OR ANY OTHER MEDIA ON WHICH THE SOFTWARE IS CONTAINED.............
......................
...........................

For inquiries please contact:  Oracle America, Inc., 500 Oracle Parkway,
Redwood Shores, California 94065, USA.

Last updated May 17, 2011

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

Checking for prerequisites...
     FOUND: NPTL
     FOUND: nc-1.84-22
     FOUND: sudo-1.7.4p5-11
     FOUND: libidn-1.18-2
     FOUND: gmp-4.3.1-7
     FOUND: /usr/lib64/libstdc++.so.6

Checking for suggested prerequisites...
     FOUND: perl-5.10.1
     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] y

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-snmp [Y] n

Install zimbra-store [Y] y

Install zimbra-apache [Y] y

Install zimbra-spell [Y] y

Install zimbra-memcached [N] n

Install zimbra-proxy [N] n
Checking required space for zimbra-core
Checking space for zimbra-store
Installing:
    zimbra-core
    zimbra-logger
    zimbra-mta
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
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/security/limits.conf...done.
Finished removing Zimbra Collaboration Server.
Installing packages
zimbra-core......zimbra-.........
..................
.....................
............................
.....................................

DNS ERROR resolving server.bhandari.com
It is suggested that the hostname be resolvable via DNS
Change hostname[Yes] no

DNS ERROR resolving MX for server.bhandari.com
It is suggested that the domain name have an MX record configured in DNS
change domain name?[Yes] yes
Create domain: [server.bhandari.com] bhandari.com

DNS ERROR resolving MX for bhandari.com
It is suggested that the domain name have an MX record configured in DNS
Re-Enter domain name? [Yes]no
............
...............
.....................

Main menu

   1) Common Configuration:                                                
   2) zimbra-ldap:                             Enabled                     
   3) zimbra-store:                            Enabled                      +Create Admin User:                    yes                          +Admin user to create:                admin@mail.example.com      
******* +Admin Password                        UNSET                       
    +Anti-virus quarantine user:           virus-
    +Enable automated spam training:       yes                         
    +Spam training user:                   spam.ymhnphn3qm@mail.example.com
   +Non-spam(Ham) training user:          ham.tquoqaxih@bhandari.com
   +SMTP host:                            mail.example.com            
   +Web server HTTP port:                 80                          
   +Web server HTTPS port:                443                         
   +Web server mode:                      https                       
   +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@bhandari.com    
        +Version update source email:         admin@bhandari.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

   2) Status:                                         Enabled                     
   2) Create Admin User:                       yes                         
   3) Admin user to create:                    admin@bhandari.com     
**4) Admin Password                            UNSET                       
   5) Anti-virus quarantine user:             virus-
   6) Enable automated spam training:    yes                         
   7) Spam training user:                      
   8) Non-spam(Ham) training user:        ham.tquoqaxih@bhandari.com
   9) SMTP host:                                             
  10) Web server HTTP port:                  80                          
  11) Web server HTTPS port:                443                         
  12) Web server mode:                        https                       
  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@bhandari.com      
  24) Version update source email:             admin@bhandari.com 

Note- Change admin password..

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

Password for admin@bhandari.com (main 6 characters): [MbBZe01Dt3] password

...............
...............
............

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

...................
.........................
..............................

*** CONFIGURATION COMPLETE - press 'a' tp apply
Select from menu, or press 'a' tp apply config (? - help) a
Save configuration data to a file? [Yes] yes
Save config in file : (/opt/zimbra/config.11404)...done.
The system will be modified - continue? [No] yes
.................
........................
.............................

Notify Zimbra of your installation? [Yes] no
.................
........................
.............................

Configuration complete - press return to exit

----------------------------------------------------------------------------------------------------------------

[root@mail zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]#

[root@mail ~]#
[root@mail ~]#

Step-12 Check the zimbra service status

[root@mail ~]# su - zimbra
[zimbra@mail ~]$  zmcontrol status
Host mail.bhandari.com
    antispam                Running
    antivirus                 Running
    ldap                       Running
    logger                    Running
    mailbox                  Running
    mta                        Running
    opendkim               Running
    spell                       Running
    stats                       Running
    zmconfigd               Running

Step-13 Now Open Browser (Firefox or Google-chrome)

Type-

https://192.168.1.211:7071 (Admin panel) Manage the user accounts and password.

https://192.168.1.211/ (This is user GUI interface)


How to Configure Zimbra Mail in Centos How to Configure Zimbra Mail in Centos Reviewed by Unknown on October 30, 2017 Rating: 5

Scribe

http://feeds.feedburner.com/LinuxAndAws
Powered by Blogger.
X

Get Updates On

Linux Tutorial

AWS Tutorial

Devops Tutorial

We are going to send you our resources for free. To collect your copy at first, join our mailing list. So don't miss any updates, stay connected!