Skip to content
Bots!
Bots!
  • About
    • Myself
    • আমার দোয়া
  • Bookmarks
    • Bookmarks
    • My OCI Bookmarks
    • Useful Proxmox Commands & Links
    • Learning Nano
    • Useful Sites
    • Useful Virtualbox Command
    • Useful MySQL Command
    • Useful Linux Command
    • BTT-CAS
  • Resources
    • Webinar on Cloud Adoption for Project Managers
  • Photos
  • Videos
  • Downloads
Bots!

Zimbra 8 Community edition on Scientific Linux 6 (64 Bit)

Rumi, September 15, 2012September 15, 2012

Install SL 6.3 (64 bit)

  • Installing SL6.3 (64bit)  with 'minimal' installation mode
  • Post installing, fix with the Static IP Address (Public IP and I assume the system is not behind firewall)
  • Double check with /etc/resolv.conf file parameters

Prerequisites for ZImbra installation

Let's firsy update-

yum update

Let's install some pckages as well

yum – y install sudo sysstat gmp libidn libstdc++ bind bind-chroot bind-libs bind-utils wget php perl nc sqlite

and few more packages-

yum install compat-libstdc++-33 sysstat

If anything missed out you'll know in the next steps, if anything left google it, chances are you'll be able to yum it :), however for this time being the environment is made. Now proceed to download Zimbra.

Make some backend job-

  • Make sure 'SELINUX' is disabled
  • The iptables service is stopped
  • 'postfix' service is stopped and disabled at runtime and on boot

Download ZImbra

My downloaded edition was-

http://files2.zimbra.com/downloads/8.0.0_GA/zcs-8.0.0_GA_5434.RHEL6_64.20120907144639.tgz

Once downloaded, get inside the extracted folder.

Change the Host file:

we need to update the /etc/hosts file something like below

Note: We are Not discussing NAT in this topic. However, in this scenario, we assume that the  ZCS server resides behind a firewall, the IP address is the internal IP address (IP that is used behind the firewall).

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.142.7 mail.1a-centosserver.local mail

Configure the DNS:

I used webmin to configure the DNS and there was only single parameter I included in the /etc/named.conf file. and it was-

Options {

……

forwarders {8.8.8.8; 8.8.4.4; };

}

Now we'll create a forward zone first something similar to-

Next let us create the following our forward zone.

vi /var/named/1a-centosserver.local.ns

This is the forward zone file, you might amend it to your need. The following just focus on MX and Name server (NS)

$ORIGIN 1a-centosserver.local.
$TTL 1d
@ IN SOA ns.1a-centosserver.local. support.1a-centosserver.local. (
          2010031500 ; se = serial number
          3h ; ref = refresh
          15m ; ret = update retry
          3w ; ex = expiry
          3h ; min = minimum
)

           IN A 192.168.142.7
           IN NS ns
           IN MX 10 mail.1a-centosserver.local.

ns IN A 192.168.142.7
mail IN A 192.168.142.7

And then we'd create a reverse zone such as-

Add the following lines to the file.

$ORIGIN 142.168.192.in-addr.arpa.
$TTL 1d

@ IN SOA ns.1a-centosserver.local. support.1a-centosserver.local. (
        2010031500 ; se = serial number
        3h ; ref = refresh
        15m ; ret = update retry
        3w ; ex = expiry
        3h ; min = minimum
)

        IN NS ns.1a-centosserver.local.

7 IN PTR ns.1a-centosserver.local.
7 IN PTR mail.1a-centosserver.local.
 

After that test the domain by using nslookup to see if the domain is showing back to the server itself! THIS IS IMPORTANT

example dig report-

# dig mail.1a-centosserver.local

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.1 <<>> mail.1a-centosserver.local
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20735
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;mail.1a-centosserver.local. IN A

;; ANSWER SECTION:
mail.1a-centosserver.local. 86400 IN A 192.168.142.7

;; AUTHORITY SECTION:
1a-centosserver.local. 86400 IN NS ns.1a-centosserver.local.

;; ADDITIONAL SECTION:
ns.1a-centosserver.local. 86400 IN A 192.168.142.7

;; Query time: 1 msec
;; SERVER: 192.168.142.7#53(192.168.142.7)
;; WHEN: Thu Jul 26 23:10:15 2012
;; MSG SIZE rcvd: 93

Installation of ZImbra begins-

Let me assume I'm already inside the downloaded and extracted zimbra folder. Now issue some command-

./install –platform-override

Rest is a wizard basically. It will tell you what to do next…

Some of you might have the following error -DNS error. The reason of such error is because:

either the DNS services is not started properly. Please use the following command "service named status" to see if the BIND started properly.

If BIND is started properly and you still facing this error, please using "dig" command to see the record can be resolved properly. If not, please edit your zone file.

Checked nameservers:
192.168.142.7
8.8.8.8
No results returned for AAAA lookup of mail.1a-centosserver.local
Checked nameservers:
192.168.142.7
8.8.8.8

DNS ERROR resolving mail.1a-centosserver.local
It is suggested that the hostname be resolveable via DNS
Change hostname [Yes]
Please enter the logical hostname for this host [mail.1a-centosserver.local]
No results returned for A lookup of mail.1a-centosserver.local
Checked nameservers:
192.168.142.7
8.8.8.8

DNS ERROR resolving mail.1a-centosserver.local
It is suggested that the hostname be resolveable via DNS
Re-Enter hostname [Yes]
Please enter the logical hostname for this host [mail.1a-centosserver.local]

Hope things go smooth. If not, you can check the error log and fix what you need to fix! Besides, if you messed up at some point, you can safely remove the installation by issuing the command below (inside the extracted zimbra folder-

./install -u

Login to Zimbra Collaboration Suite

Great, now let us start up our favorite Firefox browser. Type in https://youripaddress:7071 to login into Zimbra administrator page. To login for your webmail type https://ipaddress

Here goes the loevely looking login page-

 

 

 

Src:

http://www.1a-centosserver.com/centos_linux_mail_server/centos_mail_server.php

Administrations Configurations (Linux) CentOSScientific LinuxSL6zimbra

Post navigation

Previous post
Next post

Myself…

Hi, I am Hasan T. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Savvyfrom Dhaka, Bangladesh. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & PKI Naitonal Root and CA Infrastructure. Also engaged with several Offshore Software Development Team.

Worked with Orascom Telecom-Banglalink, Network Elites as VAS partner, BTRC, BTT (Turkey) , Mango Teleservices Limited and Access to Informaiton (A2I-UNDP)

Currently working at Oracle Corporation as Principal Technology Solution and Cloud Architect.

You can reach me [h.t.emdad at gmail.com] and I will be delighted to exchange my views.

Tags

Apache Bind Cacti CentOS CentOS 6 CentOS 7 Debain Debian Debian 10 Debian 11 Debian 12 DKIM Docker endian icinga iptables Jitsi LAMP Letsencrypt Linux Munin MySQL Nagios Nextcloud NFS nginx pfsense php Postfix powerdns Proxmox RDP squid SSH SSL Ubuntu Ubuntu 16 Ubuntu 18 Ubuntu 20 Varnish virtualbox vpn Webmin XCP-NG zimbra

Topics

Recent Posts

  • Install Jitsi on Ubuntu 22.04 / 22.10 April 30, 2025
  • Key Lessons in life April 26, 2025
  • Create Proxmox Backup Server (PBS) on Debian 12 April 19, 2025
  • Add Physical Drive in Proxmox VM Guest April 19, 2025
  • Mount a drive permanently with fstab in Linux April 16, 2025
  • Proxmox 1:1 NAT routing March 30, 2025
  • Installation steps of WSL – Windows Subsystem for Linux March 8, 2025
  • Enabling Nested Virtualization In Proxmox March 8, 2025
  • How to Modify/Change console/SSH login banner for Proxmox Virtual Environment (Proxmox VE / PVE) March 3, 2025
  • Install Proxmox Backup Server on Debian 12 February 12, 2025

Archives

Top Posts & Pages

  • Install Jitsi on Ubuntu 22.04 / 22.10
©2025 Bots! | WordPress Theme by SuperbThemes