Pages

Friday 24 November 2017

Zimbra Mail 7.X.X installation on CentOS 6

Installation of Zimbra 7.X.X mail server in CentOS 6 Step by Step.
Requirements
  1. An external DNS server with both A and MX valid records to point to your Zimbra mail server IP Address.
  1. A clean installation of CentOS 6 without any mail,databases,DNS or http servers up and running.
  1. A static IP Address assigned to network interface.
# Basic Configuration of Email server.
1.    Set server hostname

[root@localhost ~]# hostname mail.zmailtech.com
[root@localhost ~]# vi /etc/sysconfig/network
[root@localhost ~]# cat /etc/sysconfig/network
HOSTNAME=mail.zmailtech.com

2.    Stop postfix service

[root@localhost ~]# service postfix stop
Shutting down postfix:                                     [  OK  ]
[root@localhost ~]# chkconfig postfix off

3.    SElinux must be disabled

[root@localhost ~]# getenforce
Enforcing
[root@localhost ~]# setenforce 0
[root@localhost ~]# vi /etc/selinux/config
[root@localhost ~]# cat /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 - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

[root@localhost ~]#

4.      Package Required need to be installed before installating ZCS:

[root@localhost ~]# yum install nc sudo libidn gmp libstdc++ perl sysstat sqlite -y
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
Package sudo-1.8.6p3-15.el6.x86_64 already installed and latest version
Package libidn-1.18-2.el6.x86_64 already installed and latest version
Package gmp-4.3.1-7.el6_2.2.x86_64 already installed and latest version
Package libstdc++-4.4.7-11.el6.x86_64 already installed and latest version
Package sqlite-3.6.20-1.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package nc.x86_64 0:1.84-22.el6 will be installed
---> Package perl.x86_64 4:5.10.1-136.el6_6.1 will be installed
--> Processing Dependency: perl-libs = 4:5.10.1-136.el6_6.1 for package: 4:perl-5.10.1-136.el6_6.1.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.10.1-136.el6_6.1.x86_64
--> Processing Dependency: perl(version) for package: 4:perl-5.10.1-136.el6_6.1.x86_64
--> Processing Dependency: perl(Pod::Simple) for package: 4:perl-5.10.1-136.el6_6.1.x86_64
--> Processing Dependency: perl(Module::Pluggable) for package: 4:perl-5.10.1-136.el6_6.1.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.10.1-136.el6_6.1.x86_64
---> Package sysstat.x86_64 0:9.0.4-27.el6 will be installed
--> Running transaction check
---> Package perl-Module-Pluggable.x86_64 1:3.90-136.el6_6.1 will be installed
---> Package perl-Pod-Simple.x86_64 1:3.13-136.el6_6.1 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.13-136.el6_6.1.x86_64
---> Package perl-libs.x86_64 4:5.10.1-136.el6_6.1 will be installed
---> Package perl-version.x86_64 3:0.77-136.el6_6.1 will be installed
--> Running transaction check
---> Package perl-Pod-Escapes.x86_64 1:1.04-136.el6_6.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================
 Package                  Arch      Version                   Repository  Size
===============================================================================
Installing:
 nc                       x86_64    1.84-22.el6               base        57 k
 perl                     x86_64    4:5.10.1-136.el6_6.1      updates     10 M
 sysstat                  x86_64    9.0.4-27.el6              base       233 k
Installing for dependencies:
 perl-Module-Pluggable    x86_64    1:3.90-136.el6_6.1        updates     40 k
 perl-Pod-Escapes         x86_64    1:1.04-136.el6_6.1        updates     32 k
 perl-Pod-Simple          x86_64    1:3.13-136.el6_6.1        updates    212 k
 perl-libs                x86_64    4:5.10.1-136.el6_6.1      updates    578 k
 perl-version             x86_64    3:0.77-136.el6_6.1        updates     51 k

Transaction Summary
===============================================================================
Install       8 Package(s)

Total download size: 11 M
Installed size: 37 M
Downloading Packages:
(1/8): nc-1.84-22.el6.x86_64.rpm                        |  57 kB     00:00    
(2/8): perl-5.10.1-136.el6_6.1.x86_64.rpm               |  10 MB     00:49    
(3/8): perl-Module-Pluggable-3.90-136.el6_6.1.x86_64.rp |  40 kB     00:00    
(4/8): perl-Pod-Escapes-1.04-136.el6_6.1.x86_64.rpm     |  32 kB     00:00    
(5/8): perl-Pod-Simple-3.13-136.el6_6.1.x86_64.rpm      | 212 kB     00:01    
(6/8): perl-libs-5.10.1-136.el6_6.1.x86_64.rpm          | 578 kB     00:02    
(7/8): perl-version-0.77-136.el6_6.1.x86_64.rpm         |  51 kB     00:00    
(8/8): sysstat-9.0.4-27.el6.x86_64.rpm                  | 233 kB     00:01    
-------------------------------------------------------------------------------
Total                                          205 kB/s |  11 MB     00:56    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:perl-Pod-Escapes-1.04-136.el6_6.1.x86_64                  1/8
  Installing : 1:perl-Module-Pluggable-3.90-136.el6_6.1.x86_64             2/8
  Installing : 4:perl-libs-5.10.1-136.el6_6.1.x86_64                       3/8
  Installing : 1:perl-Pod-Simple-3.13-136.el6_6.1.x86_64                   4/8
  Installing : 3:perl-version-0.77-136.el6_6.1.x86_64                      5/8
  Installing : 4:perl-5.10.1-136.el6_6.1.x86_64                            6/8
  Installing : nc-1.84-22.el6.x86_64                                       7/8
  Installing : sysstat-9.0.4-27.el6.x86_64                                 8/8
  Verifying  : 3:perl-version-0.77-136.el6_6.1.x86_64                      1/8
  Verifying  : 1:perl-Pod-Simple-3.13-136.el6_6.1.x86_64                   2/8
  Verifying  : 1:perl-Module-Pluggable-3.90-136.el6_6.1.x86_64             3/8
  Verifying  : sysstat-9.0.4-27.el6.x86_64                                 4/8
  Verifying  : 4:perl-5.10.1-136.el6_6.1.x86_64                            5/8
  Verifying  : 4:perl-libs-5.10.1-136.el6_6.1.x86_64                       6/8
  Verifying  : nc-1.84-22.el6.x86_64                                       7/8
  Verifying  : 1:perl-Pod-Escapes-1.04-136.el6_6.1.x86_64                  8/8

Installed:
  nc.x86_64 0:1.84-22.el6              perl.x86_64 4:5.10.1-136.el6_6.1      
  sysstat.x86_64 0:9.0.4-27.el6      

Dependency Installed:
  perl-Module-Pluggable.x86_64 1:3.90-136.el6_6.1                             
  perl-Pod-Escapes.x86_64 1:1.04-136.el6_6.1                                  
  perl-Pod-Simple.x86_64 1:3.13-136.el6_6.1                                    
  perl-libs.x86_64 4:5.10.1-136.el6_6.1                                       
  perl-version.x86_64 3:0.77-136.el6_6.1                                      

Complete!
[root@localhost ~]#

5.     Missing file /usr/lib/libstdc++.so.6 create soft link file  in /usr/lib/ direcotry

[root@localhost ~]# ln -s /usr/lib64/libstdc++.so.6 /usr/lib/libstdc++.so.6
[root@localhost ~]# ls -l /usr/lib/libstdc++.so.6
lrwxrwxrwx. 1 root root 25 Jun 26 01:40 /usr/lib/libstdc++.so.6 -> /usr/lib64/libstdc++.so.6
[root@localhost ~]#

6.     Comment below line in  /etc/visudo file

# Defaults specification

#
# Disable "ssh hostname sudo <cmd>", because it will show the password in clear.
#         You have to run "ssh -t hostname sudo <cmd>".
#
#Defaults    requiretty

#

7.    Edit  below line to /etc/hosts for resolve name

[root@localhost ~]#  vi /etc/hosts
[root@localhost ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.0.99                   mail.example.com          mailserver
[root@localhost ~]#

8.    Add local dns server in /etc/resolv.conf file

[root@localhost ~]# vi /etc/resolv.conf
[root@localhost ~]# cat /etc/resolv.conf
nameserver 192.168.0.99
nameserver 8.8.8.8

9.    Configure Static Network Address

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
UUID=9e9a20d9-d64b-45ee-aedb-28f2ac62b197
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
HWADDR=00:23:54:1E:B0:5F
IPADDR=192.168.0.99
PREFIX=24
GATEWAY=192.168.0.253
DNS1=192.168.0.99
DNS2=8.8.8.8
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
[root@localhost ~]#

reboot system to apply all changes

[root@localhost ~]# reboot

# Configure Bind Service For host A and MX Record

1.    Install bind rpm for named service (dns)


[root@mail ~]# yum install bind*
Loaded plugins: fastestmirror
Setting up Install Process
base                                                                                               | 3.7 kB     00:00    
base/primary_db                                       | 4.6 MB     00:22    
extras                                                | 3.4 kB     00:00    
extras/primary_db                                     |  31 kB     00:01    
updates                                               | 3.4 kB     00:00    
updates/primary_db                                    | 3.8 MB     00:45    
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.8.2-0.30.rc1.el6_6.3 will be installed

Output omitted

Installed:
  bind.x86_64 32:9.8.2-0.30.rc1.el6_6.3                                        
  bind-chroot.x86_64 32:9.8.2-0.30.rc1.el6_6.3                                 
  bind-devel.x86_64 32:9.8.2-0.30.rc1.el6_6.3                                  
  bind-dyndb-ldap.x86_64 0:2.3-6.el6_6                                         
  bind-libs.x86_64 32:9.8.2-0.30.rc1.el6_6.3                                   
  bind-sdb.x86_64 32:9.8.2-0.30.rc1.el6_6.3                                    
  bind-utils.x86_64 32:9.8.2-0.30.rc1.el6_6.3                                  

Dependency Installed:
  portreserve.x86_64 0:0.0.4-9.el6    postgresql-libs.x86_64 0:8.4.20-2.el6_6  

Complete!
[root@mail ~]#

2.    Start named service enable after reboot.

[root@mail ~]# service named start
Generating /etc/rndc.key:                                  [  OK  ]
Starting named:                                            [  OK  ]
[root@mail ~]#

[root@mail ~]# chkconfig named on

3.    Configure named service under named chroot environment


[root@mail ~]# vi /var/named/chroot/etc/named.conf
[root@mail ~]# cat /var/named/chroot/etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
          listen-on port 53 { 127.0.0.1; 192.168.0.99; };
          listen-on-v6 port 53 { ::1; };
          directory      "/var/named";
          dump-file     "/var/named/data/cache_dump.db";
          statistics-file "/var/named/data/named_stats.txt";
          memstatistics-file "/var/named/data/named_mem_stats.txt";
          allow-query     { localhost; any; };
          forwarders  { 8.8.8.8; };
          recursion yes;

//        dnssec-enable yes;
//        dnssec-validation yes;
//        dnssec-lookaside auto;

          /* Path to ISC DLV key */
//        bindkeys-file "/etc/named.iscdlv.key";

//        managed-keys-directory "/var/named/dynamic";
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "." IN {
          type hint;
          file "named.ca";
};

zone "zmailtech.com" IN {
          type master;
          file "zmailtech.com.for";
};

zone "0.168.192.ip-addr.arpa" IN {
          type master;
          file "zmailtech.com.rev";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
[root@mail ~]#

4.    Configure forward zone file  

[root@mail ~]# cat /var/named/chroot/var/named/named.localhost > /var/named/chroot/var/named/zmailtech.com.for

[root@mail ~]# vi /var/named/chroot/var/named/zmailtech.com.for
[root@mail ~]# cat /var/named/chroot/var/named/zmailtech.com.for
$TTL 1D
@      IN SOA        zmailtech.com.     root.zmailtech.com. (
                                                2015062501 ; serial
                                                1D     ; refresh
                                                1H     ; retry
                                                1W     ; expire
                                                3H )   ; minimum
          IN      NS     zmailtech.com.
          IN      A       192.168.0.99
          IN      MX     10      mail.zmailtech.com.

server                   IN      A       192.168.0.99
mail                      IN      A       192.168.0.99
[root@mail ~]#

5.    Configure reverse zone file

[root@mail ~]# cat /var/named/chroot/var/named/zmailtech.com.for > /var/named/chroot/var/named/zmailtech.com.rev

[root@mail ~]# vi /var/named/chroot/var/named/zmailtech.com.rev
[root@mail ~]# cat /var/named/chroot/var/named/zmailtech.com.rev
$TTL 1D
@      IN SOA        zmailtech.com.     root.zmailtech.com. (
                                                2015062501 ; serial
                                                1D     ; refresh
                                                1H     ; retry
                                                1W     ; expire
                                                3H )   ; minimum
          IN      NS     zmailtech.com.
          IN      A       192.168.0.99

145    IN      PTR   mail.zmailtech.com.
145    IN      PTR   server.zmailtech.com.
[root@mail ~]#

6.    Change forward and reverse zone file group owner to named

[root@mail ~]# chgrp named /var/named/chroot/var/named/zmailtech.com.*
[root@mail ~]# ll /var/named/chroot/var/named/total 40
drwxr-x---. 6 root  named 4096 Jun 26 00:15 chroot
drwxrwx---. 2 named named 4096 Jun 26 00:15 data
drwxrwx---. 2 named named 4096 Jun 26 00:16 dynamic
-rw-r--r--. 1 root  named  298 Jun 26 00:27 zmailtech.com.for
-rw-r--r--. 1 root  named  278 Jun 26 00:28 zmailtech.com.rev
-rw-r-----. 1 root  named 2075 Apr 23  2014 named.ca
-rw-r-----. 1 root  named  152 Dec 15  2009 named.empty
-rw-r-----. 1 root  named  152 Jun 21  2007 named.localhost
-rw-r-----. 1 root  named  168 Dec 15  2009 named.loopback
drwxrwx---. 2 named named 4096 May 19 18:57 slaves
[root@mail ~]#

7.    Restart named service


[root@mail ~]# service named restart
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
[root@mail ~]#

8.    Test local DNS Server

[root@mail ~]# dig mail.zmailtech.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.3 <<>> mail.zmailtech.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40288
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;mail.zmailtech.com.        IN      A

;; ANSWER SECTION:
mail.zmailtech.com. 86400 IN    A       192.168.0.99

;; AUTHORITY SECTION:
zmailtech.com.      86400 IN      NS     zmailtech.com.

;; ADDITIONAL SECTION:
zmailtech.com.      86400 IN      A       192.168.0.99

;; Query time: 13 msec
;; SERVER: 192.168.0.99#53(192.168.0.99)
;; WHEN: Fri Jun 26 03:21:38 2015
;; MSG SIZE  rcvd: 91

[root@mail ~]# dig server.zmailtech.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.3 <<>> server.zmailtech.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27958
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;server.zmailtech.com.    IN      A

;; ANSWER SECTION:
server.zmailtech.com. 86400     IN      A       192.168.0.99

;; AUTHORITY SECTION:
zmailtech.com.      86400 IN      NS     zmailtech.com.

;; ADDITIONAL SECTION:
zmailtech.com.      86400 IN      A       192.168.0.99

;; Query time: 0 msec
;; SERVER: 192.168.0.99#53(192.168.0.99)
;; WHEN: Fri Jun 26 03:21:45 2015
;; MSG SIZE  rcvd: 87

[root@mail ~]# dig mx zmailtech.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.3 <<>> mx zmailtech.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11392
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; QUESTION SECTION:
;zmailtech.com.               IN      MX

;; ANSWER SECTION:
zmailtech.com.      86400 IN      MX     10 mail.zmailtech.com.

;; AUTHORITY SECTION:
zmailtech.com.      86400 IN      NS     zmailtech.com.

;; ADDITIONAL SECTION:
mail.zmailtech.com. 86400 IN    A       192.168.0.99
zmailtech.com.      86400 IN      A       192.168.0.99

;; Query time: 0 msec
;; SERVER: 192.168.0.99#53(192.168.0.99)
;; WHEN: Fri Jun 26 03:21:59 2015
;; MSG SIZE  rcvd: 107

[root@mail ~]#

# Install and configure Zimbra Mail server


1.    Extract Zimbr Tar file and run install.sh shell script


[root@mail ~]# ls
anaconda-ks.cfg  install.log  install.log.syslog  zcs-7.1.3_GA_3346.RHEL6_64.20110928134428.tgz
[root@mail ~]# tar -xf zcs-7.1.3_GA_3346.RHEL6_64.20110928134428.tgz
[root@mail ~]#

[root@mail ~]# cd zcs-7.1.3_GA_3346.RHEL6_64.20110928134428
[root@mail zcs-7.1.3_GA_3346.RHEL6_64.20110928134428]# ./install.sh --platform-override

Operations logged to /tmp/install.log.29175
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.8.6p3-15
     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] y

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

Install zimbra-apache [Y] y

Install zimbra-spell [Y] y

Install zimbra-memcached [N] y

Install zimbra-proxy [N] y

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-memcached
    zimbra-proxy

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/security/limits.conf...done.

Finished removing Zimbra Collaboration Suite.

Installing packages

    zimbra-core......zimbra-core-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-ldap......zimbra-ldap-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-logger......zimbra-logger-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-mta......zimbra-mta-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-snmp......zimbra-snmp-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-store......zimbra-store-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-apache......zimbra-apache-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-spell......zimbra-spell-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-memcached......zimbra-memcached-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
    zimbra-proxy......zimbra-proxy-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm...done
Operations logged to /tmp/zmsetup.06262015-034856.log
Installing LDAP configuration database...done.
Setting defaults...

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

          Interface: 192.168.0.99
          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@zmailtech.com       
******* +Admin Password                        UNSET                        
        +Anti-virus quarantine user:           virus-quarantine.8w5_w5qqae@zmailtech.com
        +Enable automated spam training:       yes                          
        +Spam training user:                   spam.qj9p3hut@zmailtech.com
        +Non-spam(Ham) training user:          ham.je4x1gno_x@zmailtech.com
        +SMTP host:                            mail.zmailtech.com  
        +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://mail.zmailtech.com:7780/aspell.php
        +Enable version update checks:         TRUE                         
        +Enable version update notifications:  TRUE                          
        +Version update notification email:    admin@zmailtech.com       
        +Version update source email:          admin@zmailtech.com       

   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


Store configuration

   1) Status:                                  Enabled                      
   2) Create Admin User:                       yes                          
   3) Admin user to create:                    admin@zmailtech.com       
** 4) Admin Password                           UNSET                        
   5) Anti-virus quarantine user:              virus-quarantine.8w5_w5qqae@zmailtech.com
   6) Enable automated spam training:          yes                          
   7) Spam training user:                      spam.qj9p3hut@zmailtech.com
   8) Non-spam(Ham) training user:             ham.je4x1gno_x@zmailtech.com
   9) SMTP host:                               mail.zmailtech.com  
  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://mail.zmailtech.com:7780/aspell.php
  19) Enable version update checks:            TRUE                         
  20) Enable version update notifications:     TRUE                          
  21) Version update notification email:       admin@zmailtech.com       
  22) Version update source email:             admin@zmailtech.com       

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

Password for admin@zmailtech.com (min 6 characters): [8Vj1VhjqVv] redhat

Store configuration

   1) Status:                                  Enabled                      
   2) Create Admin User:                       yes                          
   3) Admin user to create:                    admin@zmailtech.com       
   4) Admin Password                           set                          
   5) Anti-virus quarantine user:              virus-quarantine.8w5_w5qqae@zmailtech.com
   6) Enable automated spam training:          yes                           
   7) Spam training user:                      spam.qj9p3hut@zmailtech.com
   8) Non-spam(Ham) training user:             ham.je4x1gno_x@zmailtech.com
   9) SMTP host:                               mail.zmailtech.com  
  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://mail.zmailtech.com:7780/aspell.php
  19) Enable version update checks:            TRUE                         
  20) Enable version update notifications:     TRUE                         
  21) Version update notification email:       admin@zmailtech.com       
  22) Version update source email:             admin@zmailtech.com       

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) 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
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.3379]
Saving config in /opt/zimbra/config.3379...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.06262015-034856.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.zmailtech.com...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on mail.zmailtech.com...done.
Adding mail.zmailtech.com to zimbraMailHostPool in default COS...done.
Installing webclient skins...
          bones...done.
          sand...done.
          carbon...done.
          lavender...done.
          twilight...done.
          lemongrass...done.
          tree...done.
          waves...done.
          smoke...done.
          hotrod...done.
          sky...done.
          bare...done.
          oasis...done.
          steel...done.
          lake...done.
          pebble...done.
          beach...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.zmailtech.com...done.
Creating domain zmailtech.com...done.
Setting default domain name...done.
Creating domain zmailtech.com...already exists.
Creating admin account admin@zmailtech.com...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.qj9p3hut@zmailtech.com...done.
Creating user ham.je4x1gno_x@zmailtech.com...done.
Creating user virus-quarantine.8w5_w5qqae@zmailtech.com...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.zmailtech.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.3_GA_3346_CentOSUNKNOWN_64)
          The ADMIN EMAIL ADDRESS created (admin@zmailtech.com)

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


Moving /tmp/zmsetup.06262015-034856.log to /opt/zimbra/log


Configuration complete - press return to exit


[root@mail zcs-7.1.3_GA_3346.RHEL6_64.20110928134428]# cd
[root@mail ~]#
 
check zimbra mail service status.

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

now Access zimbra admin console https://192.168.0.99:7071
and zimbra web console http://192.168.0.99

No comments:

Post a Comment