Zimbra

How To Install Zimbra 8.6 on CentOS 6 Part 2

After previously preparation for install Zimbra has been finished, we can install Zimbra right now. First, we can download Zimbra Binary from this link http://www.zimbra.com/downloads/zimbra-collaboration-open-source or if you are in Indonesia region, you can download at the following link http://mirror.linux.or.id/zimbra/binary/.

cd /opt/
wget -c https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz

After finished download, extract Zimbra, move into folder result of extract and install Zimbra

tar -zxvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155
sh install.sh

type Y if asking license agreement

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

Select the packages that will be installed

Install zimbra-ldap [Y] Y
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] Y
Install zimbra-dnscache [Y] N
Install zimbra-snmp [Y] Y
Install zimbra-store [Y] Y
Install zimbra-apache [Y] Y
Install zimbra-spell [Y] Y
Install zimbra-memcached [Y] Y
Install zimbra-proxy [Y] Y

Type Y if asked The system will be modified.  Continue?

if you get message like below, press enter or type Yes and change domain name

DNS ERROR resolving MX for mail.imanudin.net
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] Yes
Create domain: [mail.imanudin.net] imanudin.net

if you not change domain name on above section, your domain name will become mail.imanudin.net and email of account will become user@mail.imanudin.net. Type 6 and then press key enter to change password of admin account and type again 4 and then press key enter. Insert your password that you want

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-store:                            Enabled                       
        +Create Admin User:                    yes                           
        +Admin user to create:                 admin@imanudin.net            
******* +Admin Password                        UNSET                         
        +Anti-virus quarantine user:           virus-quarantine.dgnsq8ewc@imanudin.net
......
......
Address unconfigured (**) items  (? - help) 6
Store configuration

   1) Status:                                  Enabled                       
   2) Create Admin User:                       yes                           
   3) Admin user to create:                    admin@imanudin.net            
** 4) Admin Password                           UNSET                         
   5) Anti-virus quarantine user:              virus-quarantine.dgnsq8ewc@imanudin.net
......
......
Select, or 'r' for previous menu [r] 4

Password for admin@imanudin.net (min 6 characters): [s8eNUeOms] Verys3cr3t

After insert password, Select, or ‘r’ for previous menu. If all has been configured, apply configuration and wait a moment until zimbra finished install

*** 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.24648] 
Saving config in /opt/zimbra/config.24648...done.
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup10052014-214606.log

Type Yes if asked Notify Zimbra of your installation? and if has been appeared Configuration complete – press return to exit, your zimbra installation has been finished. Check Zimbra status with this command su – zimbra -c “zmcontrol status” and make sure all service running well. You can also trying access webmail via browser at url https://ZimbraServer

zimbra 8.5 webmail

Congratulations, you have been finished install Zimbra 8.6 on CentOS 6. After install, you can improve anti spam with some method like the following :

  1. https://imanudin.net/2014/09/08/how-to-install-policyd-on-zimbra-8-5/
  2. https://imanudin.net/2014/09/09/zimbra-tips-how-to-configure-rate-limit-sending-message-on-policyd/
  3. https://imanudin.net/2014/09/11/improving-anti-spam-reject-unlisted-domain-on-zimbra-8-5/
  4. https://imanudin.net/2014/09/12/zimbra-tips-how-to-protect-policyd-webui/
  5. https://imanudin.net/2014/09/29/how-to-restrict-users-sending-to-certain-usersdomains-with-policyd/
  6. https://imanudin.net/2014/09/30/script-automatic-configure-cbpolicyd-on-zimbra-8-5/
  7. https://imanudin.net/2014/09/07/how-to-improvement-sender-must-loginenforcing-a-match-between-from-address-and-sasl-username-on-zimbra-8-5/

Good luck and hopefully useful 😀

Let’s See the Video on Youtube

120 comments

  1. Hi All,

    I Need Split DNS step I have static Ip and full qualified Domain and i am using NAT and enable DMZ through router but i Do n’t know how to setup split DNS please give me simple method.

  2. kalau pas zmcontrol infonya seperti ini gimana
    proxy Stopped zmnginxctl is not running

    solusinya gimana, mohon infonya

      1. kalau seperti ini bagaimana pak, sudah saya restar tetap sama

        [zimbra@mail root]$ zmnginxctl restart
        Stopping nginx…nginx is not running.
        Starting nginx…nginx: [emerg] bind() to 0.0.0.0:143 failed (98: Address alread y in use)
        nginx: [emerg] bind() to 0.0.0.0:993 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:110 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:995 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:143 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:993 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:110 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:995 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:143 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:993 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:110 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:995 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:143 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:993 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:110 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:995 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:143 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:993 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:110 failed (98: Address already in use)
        nginx: [emerg] bind() to 0.0.0.0:995 failed (98: Address already in use)
        nginx: [emerg] still could not bind()
        failed.

        1. Hi mas,
          Coba stop dulu semua service dan cek apakah ada service lain yang jalan

          su - zimbra -c "zmcontrol stop"
          netstat -atpn
          

          Jika dari perintah tersebut ada port 80 atau 443 yang digunakan, suspect ada service lain yang jalan dan bentrok dengan service Zimbra

  3. Hi pak, kalau seperti ini

    [zimbra@mail root]$ zmcontrol stop
    Host mail.mispaytren.com
    Stopping vmware-ha…skipped.
    /opt/zimbra/bin/zmhactl missing or not executable.
    Stopping zmconfigd…Done.
    Stopping zimlet webapp…Done.
    Stopping zimbraAdmin webapp…Done.
    Stopping zimbra webapp…Done.
    Stopping service webapp…Done.
    Stopping stats…Done.
    Stopping mta…Done.
    Stopping spell…Done.
    Stopping snmp…Done.
    Stopping cbpolicyd…Done.
    Stopping archiving…Done.
    Stopping opendkim…Done.
    Stopping amavis…Done.
    Stopping antivirus…Done.
    Stopping antispam…Done.
    Stopping proxy…Done.
    Stopping memcached…Done.
    Stopping mailbox…Done.
    Stopping logger…Done.
    Stopping dnscache…Done.
    Stopping ldap…Done.
    [zimbra@mail root]$ netstat -atpn
    (No info could be read for “-p”: geteuid()=495 but you should be root.)
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN –
    tcp 0 0 192.168.2.14:53 0.0.0.0:* LISTEN –
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN –
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN –
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN –
    tcp 0 0 0.0.0.0:34425 0.0.0.0:* LISTEN –
    tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN –
    tcp 0 64 192.168.2.14:22 192.168.2.35:49593 ESTABLISHED –
    tcp 0 0 :::50818 :::* LISTEN –
    tcp 0 0 :::111 :::* LISTEN –
    tcp 0 0 ::1:53 :::* LISTEN –
    tcp 0 0 :::22 :::* LISTEN –
    tcp 0 0 ::1:631 :::* LISTEN –
    tcp 0 0 ::1:953 :::* LISTEN –
    [zimbra@mail root]$

  4. hi iman
    i am try all the set and successfully, but i need to install zimbra chat can you give me some guide for this.
    thank you

  5. Hi Iman
    I was trying the step and chat install but it say
    :
    server error(unknown command sent to server)

    need some help on this
    thank you

  6. Hi Sir Iman,

    I already have 2 zimbra email in different server. One is zimbra 7.2 and other one is zimbra 8.6.
    How can I configure this. I want to send email to zimbra 8.6 using zimbra 7.2 and vise versa.

    Thank you and godbless sir

  7. Hi Sir Iman,

    btw thanks for this sir,

    but not same domain or alias sir,my concern sir is two domain send each other sir. two domain on different server and on one network sir.

    Thank you sir, and Godbless

    1. Hi Jerick,
      Yes, you can create domain each other on your server. In server domain A, you should create new domain B and vice versa. And configure like guidance formerly

  8. i configured a zimbra mail server in CentOS 7. my configuration is complete. after configuration complete i getting service from my server but not getting access from out site network by Domail mail.ruet.ac.bd or Public IP address 103.28.122.166

    Public IP: 103.28.122.166 mail.ruet.ac.bd

    [root@mail ~]# nslookup mail.ruet.ac.bd Server: 103.28.122.166 Address: 103.28.122.166#53

    Name: mail.ruet.ac.bd Address: 103.28.122.166

    [root@mail ~]# dig ruet.ac.bd mx

    ; <> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <> ruet.ac.bd mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27202 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 3

    ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;ruet.ac.bd. IN MX

    ;; ANSWER SECTION: ruet.ac.bd. 86400 IN MX 0 mail.ruet.ac.bd.

    ;; AUTHORITY SECTION: ruet.ac.bd. 86400 IN NS ns1.ruet.ac.bd.

    ;; ADDITIONAL SECTION: mail.ruet.ac.bd. 86400 IN A 103.28.122.166 ns1.ruet.ac.bd. 86400 IN A 103.28.122.166

    ;; Query time: 0 msec ;; SERVER: 103.28.122.166#53(103.28.122.166) ;; WHEN: Wed Mar 28 18:02:49 +06 2018 ;; MSG SIZE rcvd: 110

    ping mail.ruet.ac.bd -t

    Pinging mail.ruet.ac.bd [103.28.122.166] with 32 bytes of data: Reply from 103.28.122.166: bytes=32 time=99ms TTL=58 Reply from 103.28.122.166: bytes=32 time=40ms TTL=58 Reply from 103.28.122.166: bytes=32 time=26ms TTL=58 Reply from 103.28.122.166: bytes=32 time=67ms TTL=58 Reply from 103.28.122.166: bytes=32 time=67ms TTL=58 Reply from 103.28.122.166: bytes=32 time=47ms TTL=58 Reply from 103.28.122.166: bytes=32 time=18ms TTL=58

    Ping statistics for 103.28.122.166: Packets: Sent = 7, Received = 7, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 18ms, Maximum = 99ms, Average = 52ms

    if possible advice me.

  9. Hi Iman,
    My server is blocking a particular public IP to access through URL. It shows the error Secure connection failed and while trace routing the server from that IP it’s not reaching to the server. Till my server all hops are reaching.. pls help me on this.

      1. Hi,
        Same has been given to them they said IP address is a blocked by your server . other IP address are getting connected. How to do that…

  10. hi
    If i want to upgrade from open source to the network edition is it the same procedure? if not can you give me a hint on it.

    thank you

    1. Hi,
      Yes, the installation procedure is same. I am usually installing new Zimbra NE on another server and export/import using ZeXtras Migration Tools

  11. HI Iman,

    Please reply my article because i need very urgent i have Old data (path /opt/zimbra)
    I need to do fresh installation how to do this process please reply me on this

    gts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.