Zimbra Deployment for Shubham: Difference between revisions
No edit summary |
|||
| Line 142: | Line 142: | ||
== '''<nowiki>#Zimbra 8.6 Instalation</nowiki>''' | == '''<nowiki>#Zimbra 8.6 Instalation</nowiki>''' == | ||
== | |||
'''<nowiki>#tar xzf zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz </nowiki>''' | '''<nowiki>#tar xzf zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz </nowiki>''' | ||
| Line 912: | Line 911: | ||
zimbraAdmin webapp Running | zimbraAdmin webapp Running | ||
zimlet webapp Running | zimlet webapp Running | ||
zmconfigd Running | zmconfigd Running | ||
== '''<nowiki>#Create Users</nowiki>''' == | == '''<nowiki>#Create Users</nowiki>''' == | ||
Revision as of 12:40, 6 October 2015
Zimbra 8.6 Installation in shubham.co
FQDN = mail.shubham.co
OS= Centos 7 x86_64
ip=10.240.0.2 (DHCP)
Zimbra Panel URL= https://104.155.209.133:7071
Zimbra Admin Panel Pass= zAg%Q@K1lL
====================== =============== ===============================
#/etc/hosts file
====================================================================
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 instance-1.c.shubham-zimbra.internal ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.240.0.2 instance-1.c.shubham-zimbra.internal instance-1 # Added by Google 10.240.0.2 mail.shubham.co mail
=============================================== ======================
# Configure DNS Server
=====================================================================
#yum install bind
#vim /etc/named.conf
[root@mail ~]# cat /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; 10.240.0.2; };
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; };
/*
- If you are building an AUTHORITATIVE DNS server, do NOT enable recursion.
- If you are building a RECURSIVE (caching) DNS server, you need to enable recursion.
- If your recursive DNS server has a public IP address, you MUST enable access control to limit queries to your legitimate users. Failing to do so will cause your server to become part of large scale DNS amplification attacks. Implementing BCP38 within your network would greatly reduce such attack surface
*/
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";
pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "shubham.co" IN {
type master;
file "shubham.for";
allow-update { none; };
};
zone "0.240.10.in-addr.arpa" IN {
type master;
file "shubham.rev";
allow-update { none; };
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
[root@mail ~]# cd /var/named/
[root@mail named]# cat shubham.for
$TTL 1D @IN SOAmail.shubham.co. root.shubham.co. ( 20150930; serial 1D; refresh 1H; retry 1W; expire 3H ); minimum INNSmail.shubham.co. INMX 10mail.shubham.co. mailINA10.240.0.2 shubham.coINA10.240.0.2
[root@mail named]# cat shubham.rev
$TTL 1D @IN SOAmail.shubham.co. root.shubham.co. ( 20150930; serial 1D; refresh 1H; retry 1W; expire 3H ); minimum INNSmail.shubham.co. INMX 10mail.shubham.co. mailINA10.240.0.2 shubham.coINA10.240.0.2 2INPTRmail.shubham.co. 2INPTRmail.
#named-checkzone shubham.co shubham.for
#named-checkzone shubham.co shubham.rev
#systemctl enable named
#systemctl restart named
================================================== ==================
#Zimbra 8.6 Instalation
#tar xzf zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz
#cd zcs-8.6.0_GA_1153.RHEL7_64.20141215151110
#./install.sh –platform-override
Operations logged to /tmp/install.log.19889
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-4
FOUND: sudo-1.8.6p7-13
FOUND: libidn-1.28-3
FOUND: gmp-6.0.0-11
FOUND: libaio-0.3.109-12
FOUND: libstdc++-4.8.3-9
FOUND: unzip-6.0-15
FOUND: perl-core-5.16.3-285
Checking 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] y
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-dnscache
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
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 Server.
Installing packages
zimbra-core......zimbra-core-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...
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-dnscache......zimbra-dnscache-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
zimbra-snmp......zimbra-snmp-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/zmsetup09302015-122409.log
Installing LDAP configuration database...done.
Setting defaults...
DNS ERROR resolving MX for mail.shubham.co
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] y
Create domain: [mail.shubham.co] shubham.co
MX: mail.shubham.co (10.240.0.2)
Interface: 127.0.0.1
Interface: ::1
Interface: 10.240.0.2
done.
Checking for port conflicts
Main menu
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@shubham.co
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.wwfmix4wo@shubham.co
+Enable automated spam training: yes
+Spam training user: spam.yhvswgj78v@shubham.co
+Non-spam(Ham) training user: ham.0fzugjpuv@shubham.co
+SMTP host: mail.shubham.co
+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.shubham.co: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@shubham.co
+Version update source email: admin@shubham.co
+Install mailstore (service webapp): yes
+Install UI (zimbra,zimbraAdmin webapps): yes
7) zimbra-spell: Enabled
8) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 6
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@shubham.co
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.7yzs9b6d@shubham.co
6) Enable automated spam training: yes
7) Spam training user: spam.yo6s2kmzie@shubham.co
8) Non-spam(Ham) training user: ham.kasoa6ncja@shubham.co
9) SMTP host: mail.shubham.co
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.shubham.co: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@shubham.co
24) Version update source email: admin@shubham.co
25) Install mailstore (service webapp): yes
26) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 4
Password for admin@shubham.co (min 6 characters): [XNe7J3gY] zAg%Q@K1lL
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@shubham.co
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.7yzs9b6d@shubham.co
6) Enable automated spam training: yes
7) Spam training user: spam.yo6s2kmzie@shubham.co
8) Non-spam(Ham) training user: ham.kasoa6ncja@shubham.co
9) SMTP host: mail.shubham.co
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.shubham.co: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@shubham.co
24) Version update source email: admin@shubham.co
25) Install mailstore (service webapp): yes
26) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 22
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@shubham.co
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.7yzs9b6d@shubham.co
6) Enable automated spam training: yes
7) Spam training user: spam.yo6s2kmzie@shubham.co
8) Non-spam(Ham) training user: ham.kasoa6ncja@shubham.co
9) SMTP host: mail.shubham.co
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.shubham.co: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: FALSE
23) Install mailstore (service webapp): yes
24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 21
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@shubham.co
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.7yzs9b6d@shubham.co
6) Enable automated spam training: yes
7) Spam training user: spam.yo6s2kmzie@shubham.co
8) Non-spam(Ham) training user: ham.kasoa6ncja@shubham.co
9) SMTP host: mail.shubham.co
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.shubham.co:7780/aspell.php
19) Configure for use with mail proxy: FALSE
20) Configure for use with web proxy: FALSE
21) Enable version update checks: FALSE
22) Install mailstore (service webapp): yes
23) 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-snmp: Enabled
6) zimbra-store: Enabled
7) zimbra-spell: Enabled
8) 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]
Save config in file: [/opt/zimbra/config.10502]
Saving config in /opt/zimbra/config.10502...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup09302015-131454.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.shubham.co...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.shubham.co...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on mail.shubham.co...done.
Adding mail.shubham.co to zimbraMailHostPool in default COS...done.
Creating domain shubham.co...done.
Setting default domain name...done.
Creating domain shubham.co...already exists.
Creating admin account admin@shubham.co...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.yo6s2kmzie@shubham.co...done.
Creating user ham.kasoa6ncja@shubham.co...done.
Creating user virus-quarantine.7yzs9b6d@shubham.co...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.shubham.co...done.
Configuring SNMP...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@shubham.co)
Notify Zimbra of your installation? [Yes] n
Notification skipped
Setting up zimbra crontab...done.
Moving /tmp/zmsetup09302015-131454.log to /opt/zimbra/log
Configuration complete - press return to exit
[zimbra@mail ~]$ zmcontrol status
Host mail.shubham.co amavis Running antispam Running antivirus Running ldap Running logger Running mailbox Running mta Running opendkim Running service webapp Running snmp Running spell Running stats Running zimbra webapp Running zimbraAdmin webapp Running zimlet webapp Running zmconfigd Running
#Create Users
1- Created a zmp file and puts all data.. in below format
#vim /tmp/shubha.zmp
createAccount rajendra.parewa@shubham.co SSuBh@M890%% displayName 'Rajendra Prasad Parewa' createAccount rupa.basu@shubham.co SSuBh@M890%% displayName 'Rupa Basu' :wq!
# su – zimbra
$ zmprov -f /tmp/shubham.zmp
=====================================================================
== # Set default Quota 100MB...
==
======================================================================
# for i in `cat /tmp/shubham.zmp |awk '{print $2}'` ; do zmprov ma $i zimbraMailQuota 104857600; done
======================================================================
## Create account for BCC with unlimited Quota Limit
======================================================================
[zimbra@mail ~]$ zmprov ca inoutmails@shubham.co Co#mPl1C@t
=======================================================================
# Configure BCC to monitor all incoming and outgoing mails of all users:
======================================================================
# vim /opt/zimbra/postfix/conf/main.cf // Append a line into this file.. always_bcc = inoutmails@shubham.co [zimbra@mail ~]$ postfix reload
Thanks...