How To Install Zimbra 8.6 on CentOS 6 Part 2

Home » Zimbra » How To Install Zimbra 8.6 on CentOS 6 Part 2
Zimbra 61 Comments

After previously preparation for install Zimbra has been finished, we can install Zimbra right now. First, we can download Zimbra Binary from this link or if you are in Indonesia region, you can download at the following link

cd /opt/
wget -c

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

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
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] Yes
Create domain: []

if you not change domain name on above section, your domain name will become and email of account will become 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 Password                        UNSET                         
        +Anti-virus quarantine user: 
Address unconfigured (**) items  (? - help) 6
Store configuration

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

Password for (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 :


Good luck and hopefully useful 😀

Let’s See the Video on Youtube

61 thoughts on - How To Install Zimbra 8.6 on CentOS 6 Part 2

  • Hi Pak Iman, the article very usefull thanks a lot… after this step whats should i do for transfering all email account from old mail server into zimbra mail server without changing the user password so no need to reconfigure on the client side for the outlook or other email client. thanks again really appreciated for your kind and help.

  • Nice job, I followed every step but when I try to access via my browser a server not found message appears. Any idea what’s missing? Thanks for your help.

  • Hello Iman,
    Thank you for your guide.
    I followed every step but got the following error:

    Initializing ldap…failed. (28416)


    Configuration failed

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

    Can you help me with this?
    Thanks in advance.

    Best regards,

  • Hi Mr Iman
    Firstly i thank you for this awsome Tutorial,
    i kinda found difficulty at sending mail from zimbra ,
    when i send an email to Gmail , yahoo
    why it always keep receive at spam folder?

    and also it rejected by hotmail when i sending it to hotmail

    Please advise
    Thank you
    Best Regards

  • Hello,
    Thanks a lot for your useful tutorial.After following your steps.I still cant receive or send out Emails Please advise were am going wrong.
    Errors:connection refused.

    Thanks in advance.

  • Hi Mr Iman

    Firstly I want to thank you for this awesome Tutorial.
    I had a domain where mail is the server host name which I had configured with zimbra and is working fine and running smoothly over browser.
    But whenever I am adding a new domain say-, is not working over browser. I want to add that I had already added mx-entry in the Cpanel for this domain. Kindly assist me with the solution so that it should also work fine for


  • Hi,
    Thank you firstable for those informations. But actually in my environment I have a Windows domain controller maded on Windows Server 2012 R2 and i joined CentOS 7 server to my domain wich is “lab.local”. This centos server have Zimbra installed. The problem here ismy users can’t open the zimbra web to get their inbox. Any suggestion?

  • mas iman

    saya sudah sampai step terakhit

    bash: zmcontrol: command not found
    [root@mail zcs-8.6.0_GA_1153.RHEL6_64.20141215151155]# su – zimbra -c “zmcontrol status”
    amavis Running
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    memcached Running
    mta Running
    opendkim Running
    proxy Running
    service webapp Running
    snmp Running
    spell Running
    stats Running
    zimbra webapp Running
    zimbraAdmin webapp Running
    zimlet webapp Running
    zmconfigd Running
    [root@mail zcs-8.6.0_GA_1153.RHEL6_64.20141215151155]#

    tapi kenapa ip kenapa mail server nya ga mau di akses ya tapi di ping mau

    64 bytes from ( icmp_seq=235 ttl=64 time=0.037 ms
    64 bytes from ( icmp_seq=236 ttl=64 time=0.049 ms
    64 bytes from ( icmp_seq=237 ttl=64 time=0.044 ms
    64 bytes from ( icmp_seq=238 ttl=64 time=0.046 ms
    64 bytes from ( icmp_seq=239 ttl=64 time=0.047 ms
    64 bytes from ( icmp_seq=240 ttl=64 time=0.047 ms
    64 bytes from ( icmp_seq=241 ttl=64 time=0.050 ms
    64 bytes from ( icmp_seq=242 ttl=64 time=0.050 ms

  • Hi!
    I have a problem: When asked “Notify Zimbra of your installation?” i type Yes. And it appears “ERROR: Notification failed”. Then appear “Setting up zimbra crontab… done”. And then, nothing appears more. Can u help me fix it?
    Thank u very much

  • hello,
    Thanks for your tutorial first.
    After I set up the server, three services cannot start (service webapp, zimbra webapp and zimbra admin webapp).
    i followed your step to set up the server except the part of BIND server due to the DNS record hold by the other server.
    Do you have any idea about that?

    • Hi Kam fok,

      How about your resources? such as RAM, CPU and other resources? minimum requirement is 4 GB RAM and space Harddisk 5-7 GB.
      For DNS, my advice is please use internal DNS for Zimbra only (not depending from other server) 😉

  • hi sir thanks for the zimbra installation. can you please help if how can i connect the local zimbra mail server to send and receive outside email (connect to our existing email provider via smtp and pop. (i will use local mail server to receive and send emails from LAN users without internet. connecting to our existing email provider thanks

  • Hi iman

    I need some help to configure ISP Fail-over.

    I have configured a Zimbra Mail Server on CentOS. It is working fine. We have 2 ISP connections and created 2 MX records for both ISP’s like bellow PTR record created in ISP1(Primary) PTR record created in ISP2(backup)

    With this setup when my ISP1 is down we want to be able to access the Mail Server through ISP2. We are able to access mails internally.

    But problem is users who are using mail services from outside organization have to change their mail client settings to They need to make the change to access their mail through through web access. They have to use instead of

    My requirement is we should not have to change any settings at user end, and when my ISP1 goes down it should automatically redirect to the MX record at ISP2

    Can anybody suggest me how can I configure Fail-Over without changing any settings at mail client.

    • Hi Rajesh,

      You only need to define 2 IP Public into single name. For example, refer into 2 ip public. It will configure as load balancing or fail over

  • Hallo mas makasih atas tutornya saya ada sedikit kendala nih di mta gak mau running + pas saya cek via webbase admin semua service gak running juga, saya udah coba searching di google masih gak nolong, cara benerinnya gimana ya ?

  • Can you help me ?
    Checking for port conflicts
    Port conflict detected: 80 (zimbra-store)
    Port conflicts detected! – Press Enter/Return key to continue

  • hi iman ,
    thanks for your support

    i have issue with sending mail to particular domain at the same time i am able to send mail to other domain very well

    error message : This is the mail system at host

    I’m sorry to have to inform you that your message could not
    be delivered to one or more recipients. It’s attached below.

    For further assistance, please send mail to postmaster.

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    : Host or domain name not found. Name service error
    for type=A: Host not found

    can you please help me with this issue

  • Simple and easy to understand Step By Step procedure Iman. I heart fully congratulate you for such wonderful article.

    To all those who still wanted to leave the firewall on, they need to allow ports 80, 443 & 7071.

  • halo pak iman,

    saya lagi coba instal zimbra di kantor tapi saya kena error ini wkt install:

    Thu Sep 22 15:22:46 2016 done.
    Thu Sep 22 15:22:46 2016 checking isEnabled zimbra-ldap
    Thu Sep 22 15:22:46 2016 zimbra-ldap is enabled
    Thu Sep 22 15:22:46 2016 Initializing ldap…
    Thu Sep 22 15:22:46 2016 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
    could not open session
    Thu Sep 22 15:22:46 2016 failed. (256)
    Thu Sep 22 15:22:46 2016


    Thu Sep 22 15:22:46 2016

    Configuration failed

    Thu Sep 22 15:22:46 2016 Please address the error and re-run /opt/zimbra/libexec/ to
    Thu Sep 22 15:22:46 2016 complete the configuration.
    Thu Sep 22 15:22:46 2016
    Errors have been logged to /tmp/zmsetup09222016-151614.log

    ini masalahnya dimana ya pak? saya padahal sudah ikutin semua petunjuk bapak di website ini. mohon bantuannya ya pak. thanks.

  • hi iman,
    it is working fine, when i open the other system i have to write ie. now i want to open it only i write, i mean i want to open it on both https and http mode, please suggest me in details what should i do, i am new in this field so please tell me in details

  • Hi Iman,

    Please help,
    I missed out this part.. How can I correct this?

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


  • I am new in this field Sir after download the file with idm in which folder I place the setup and how?
    and 2nd is any domain name I can use?

    • Hello Waqas,

      1, You can upload Zimbra from your Windows using SCP and put on /opt folder
      2. You can buy a domain or you can use fake domain for the purpose of learning (example : imanudin.local)

  • Hi Iman,
    After installing and configuring everything like PTE,SPF and DKIM i am getting repeated spam mails from my ID. Please find the attached screen. And most of the time it hangs a lot creating n/w issues also. Kindly help me on this. Thanks in advance. file:///root/Desktop/ZImbra.png

  • The Mail subject is spam FROM LOCAL []:57128
    And the content is Content type: Spam
    Internal reference code for the message is 15449-20/kIEHVXyzO6WX

    First upstream SMTP client IP address: []:59776 localhost
    Received from: < < <

    From: “¡¹¥þÀ]¶W¼ö½æ°Ó«~24·Q®É§Ö³t°e¹F¡¹Brad”
    X-Mailer: behind 317 because
    Subject: ¢e³±³¡¡B¨ÅÀY¨ë¿E«ö¼¯¢eBrad
    Not quarantined.

    The message WAS NOT relayed to:
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam
    250 2.7.0 Ok, discarded, id=15449-20 – spam

  • Dear Iman,
    Thank you for your quick response. In my zimbra log i am getting below line per second 40-50. Kindly need your suggestion on this.

    Oct 17 10:38:51 localhost postfix/smtp[28977]: 6616DC2FA8: to=, relay=[]:10032, delay=1.8, delays=0.35/0/0/1.4, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[]:10025): 250 2.0.0 Ok: queued as CAD92C2FA7)