INSTALLING ZIMBRA COMMUNITY EDITION ON CENTOS 7 (LOCAL MAIL SERVER)
OPERATING SYSTEM : CENTOS 7 64 bit
IP ADDRESS 172.16.120.14
HOSTNAME mail.example.com
configuration changes shown in red color
Prerequest Package:
NPTL,nmap-ncat-6.40-7, nmap-ncat-6.40-7, sudo-1.8.6p7-17, libidn-1.28-4,gmp-6.0.0-12,libaio-
0.3.109-13, libstdc++-4.8.5-4,unzip-6.0-15, perl-core
System Fully Update
Step 1: Stop ALL MTA service
[root@linux zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# systemctl stop postfix
[root@linux zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# systemctl disable postfix
Removed symlink /etc/systemd/system/multi-user.target.wants/postfix.service.
[root@linux zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# systemctl stop sendmail
Failed to stop sendmail.service: Unit sendmail.service not loaded.
[root@linux zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# systemctl disable sendmail
Step 2: Disable Selinux, edit the file /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,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
Step 3: Install the pre-request Packages
[root@linux Desktop]# yum install NPTL,nmap-ncat-6.40-7, nmap-ncat-6.40-7, sudo-1.8.6p7-17,
libidn-1.28-4,gmp-6.0.0-12,libaio-0.3.109-13, libstdc++-4.8.5-4,unzip-6.0-15, perl-core
Step 4: Edit the Hosts File, map ip address and hotname in the file /etc/hosts
127.0.0.1 localhost localhost.localdomain
# ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.16.120.14 mail.example.com mail
Step 5: Download the Zimbra Community Edition From zimbra Website and untar the package
[root@linux Desktop]# tar zxvf zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz
Step 6: change directory to untar folder and run the install.sh file
[root@linux Desktop]# cd zcs-8.6.0_GA_1153.RHEL7_64.20141215151110/
[root@linux zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# ./install.sh
"This is an interactive installtion so type Y or y to acccept the changes"
“OUTPUT IS GIVEN BELOW “
[root@mail zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# ./install.sh
Operations logged to /tmp/install.log.1791
Checking for existing installation...
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-dnscache...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-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-5.html
Do you agree with the terms of the software license agreement? [N] y
Checking for prerequisites...
FOUND: NPTL
FOUND: nmap-ncat-6.40-7
FOUND: sudo-1.8.6p7-17
FOUND: libidn-1.28-4
FOUND: gmp-6.0.0-12
FOUND: libaio-0.3.109-13
FOUND: libstdc++-4.8.5-4
FOUND: unzip-6.0-15
FOUND: perl-core-5.16.3-286Checking for suggested prerequisites...
FOUND: perl-5.16.3
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-dnscache
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-dnscache [Y] n
Install zimbra-snmp [Y] n
Install zimbra-store [Y] y
Install zimbra-apache [Y] y
Install zimbra-spell [Y] y
Install zimbra-memcached [Y] n
Install zimbra-proxy [Y] n
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-store
zimbra-apache
zimbra-spell
The system will be modified. Continue? [N] y
Removing /opt/zimbra
Removing zimbra crontab entry...done.Cleaning up /etc/rsyslog.conf...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/logrotate.d/zimbra...done.
Cleaning up /etc/security/limits.conf...done.
Finished removing Zimbra Collaboration Server.
Installing packages
zimbra-core......zimbra-core-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
zimbra-ldap......zimbra-ldap-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
zimbra-logger......zimbra-logger-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
zimbra-mta......zimbra-mta-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
zimbra-store......zimbra-store-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
zimbra-apache......zimbra-apache-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
zimbra-spell......zimbra-spell-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
Operations logged to /tmp/zmsetup06032016-120443.log
Installing LDAP configuration database...done.
Setting defaults...No results returned for A lookup of mail.example.com
Checked nameservers:
172.16.120.14
No results returned for AAAA lookup of mail.example.com
Checked nameservers:
172.16.120.14
DNS ERROR resolving mail.example.com
It is suggested that the hostname be resolvable via DNS
Change hostname [Yes] no
DNS ERROR resolving MX for mail.example.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] yes
Create domain: [mail.example.com] example.com
DNS ERROR resolving MX for example.com
It is suggested that the domain name have an MX record configured in DNS
Re-Enter domain name? [Yes] no
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-logger: Enabled
4) zimbra-mta: Enabled
5) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@example.com
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.d8nop6gf@example.com
+Enable automated spam training: yes
+Spam training user: spam.c8o7yvoq@example.com
+Non-spam(Ham) training user: ham.p6dmjoujo@example.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@example.com
+Version update source email: admin@example.com
+Install mailstore (service webapp): yes
+Install UI (zimbra,zimbraAdmin webapps): yes
6) zimbra-spell: Enabled
7) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 5
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@example.com
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.d8nop6gf@example.com
6) Enable automated spam training: yes
7) Spam training user: spam.c8o7yvoq@example.com
8) Non-spam(Ham) training user: ham.p6dmjoujo@example.com
9) SMTP host: mail.example.com
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
5) 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@example.com
24) Version update source email: admin@example.com
25) Install mailstore (service webapp): yes
26) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 4
Password for admin@example.com (min 6 characters): [TgvFImHUJI] password
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@example.com
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.d8nop6gf@example.com
6) Enable automated spam training: yes
7) Spam training user: spam.c8o7yvoq@example.com
8) Non-spam(Ham) training user: ham.p6dmjoujo@example.com
9) SMTP host: mail.example.com
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@example.com
24) Version update source email: admin@example.com
25) Install mailstore (service webapp): yes
26) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] r
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-logger: Enabled
4) zimbra-mta: Enabled
5) zimbra-store: Enabled
6) zimbra-spell: Enabled
7) Default Class of Service Configuration:
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.8902] “Press Enter Key “
Saving config in /opt/zimbra/config.8902...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup06032016-120443.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-store certificate...done.
Creating new zimbra-ldap SSL certificate...done.
Creating new zimbra-mta SSL certificate...done.
Installing mailboxd SSL certificates...done.
Installing MTA SSL certificates...done.
Installing LDAP SSL certificate...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.example.com...done.
Setting Zimbra IP Mode...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on mail.example.com...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on mail.example.com...done.
Adding mail.example.com to zimbraMailHostPool in default COS...done.
Creating domain example.com...done.
Setting default domain name...done.
Creating domain example.com...already exists.
Creating admin account admin@example.com...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.c8o7yvoq@example.com...done.
Creating user ham.p6dmjoujo@example.com...done.
Creating user virus-quarantine.d8nop6gf@example.com...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.example.com...done.
Setting up syslog.conf...done.
Starting servers...done.
Installing common zimlets...
com_zimbra_adminversioncheck...done.
com_zimbra_attachcontacts...done.
com_zimbra_attachmail...done.
com_zimbra_bulkprovision...done.
com_zimbra_cert_manager...done.
com_zimbra_clientuploader...done.
com_zimbra_date...done.
com_zimbra_email...done.
com_zimbra_mailarchive...done.
com_zimbra_phone...done.
com_zimbra_proxy_config...done.
com_zimbra_srchhighlighter...done.
com_zimbra_tooltip...done.
com_zimbra_url...done.
com_zimbra_viewmail...done.
com_zimbra_webex...done.
com_zimbra_ymemoticons...done.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...done.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
The VERSION of zcs installed (8.6.0_GA_1153_RHEL7_64)
The ADMIN EMAIL ADDRESS created (admin@example.com)
Notify Zimbra of your installation? [Yes] no
Notification skipped
Setting up zimbra crontab...done.
Moving /tmp/zmsetup06032016-120443.log to /opt/zimbra/log
Configuration complete - press return to exit
[root@mail zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]#
Step 7: Now Open your browser and type “https://IP ADDRESS:7071 in address bar to Open Admin Console
Step 8: Type Username as admin and passwordyou set at configuration.
Example : username admin password : password
Step 9: Log In the web console yo will see a home page like this
Step 10: Since we are making local mail server without DNS thefore we have to make little changes to get it working ,On the Lefthand Concer Click on Configure
Step 11: Click on Global Setting
Click the Save button .
Step 14: Creating User
Go To home page by clicking the lefthand corner home button and click manage
and then click on setting button on right --→click on new tab to add account
Click on the new massage type the email address and send mail
Step 17: Mail Delivered to admin account
For Queries and Feedback
FELL FREE TO MAIL ME AT : abhishek.verma7@gmail.com
Helpful Tutorial..
ReplyDelete