Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com

This Blog is protected by DMCA.com

huuphan.com. Powered by Blogger.

How to install zimbra mta

in this post, to use zimbra 8.6."How to install zimbra mta". To prepare the package for install zimbra mta via to how to install and configure zimbra multi server. To step by step as the below:
How to install zimbra mta


Download and install the zimbra open source
#wget -qO- https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz -O zimbra-8.6.0_GA.tgz | tar xvz
#cd zimbra-8.6.0_GA
# ./install.sh

The output:


Operations logged to /tmp/install.log.1311
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: nc-1.84-24
     FOUND: sudo-1.8.6p3-24
     FOUND: libidn-1.18-2
     FOUND: gmp-4.3.1-10
     FOUND: libaio-0.3.107-10
     FOUND: libstdc++-4.4.7-17
     FOUND: unzip-6.0-4
Checking for suggested prerequisites...
     FOUND: perl-5.10.1
     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] N
Install zimbra-logger [Y] N
Install zimbra-mta [Y] Y
Install zimbra-dnscache [Y] N
Install zimbra-snmp [Y] N
Install zimbra-store [Y] N
Install zimbra-apache [Y] N
Install zimbra-spell [Y] N
Install zimbra-memcached [Y] N
Install zimbra-proxy [Y] N
Checking required space for zimbra-core
Installing:
    zimbra-core
    zimbra-mta
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.RHEL6_64-20141215151155.x86_64.rpm...done
    zimbra-mta......zimbra-mta-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rpm...done
Operations logged to /tmp/zmsetup11262016-160531.log
Setting defaults...done.
Checking for port conflicts
Main menu
   1) Common Configuration:
        +Hostname:                             mta.huuphan.local
******* +Ldap master host:                     UNSET
        +Ldap port:                            389
******* +Ldap Admin password:                  UNSET
        +LDAP Base DN:                         cn=zimbra
        +Secure interprocess communications:   yes
        +TimeZone:                             Asia/Bangkok
        +IP Mode:                              ipv4
        +Default SSL digest:                   sha256
   2) zimbra-mta:                              Enabled
        +Enable Spamassassin:                  yes
        +Enable Clam AV:                       yes
        +Enable OpenDKIM:                      yes
        +Notification address for AV alerts:   [email protected]
******* +Bind password for postfix ldap user:  UNSET
******* +Bind password for amavis ldap user:   UNSET
   s) Save config to file
   x) Expand menu
   q) Quit
Address unconfigured (**) items  (? - help) x

Main menu
   1) Common Configuration:
        +Hostname:                             mta.huuphan.local
******* +Ldap master host:                     UNSET
        +Ldap port:                            389
******* +Ldap Admin password:                  UNSET
        +LDAP Base DN:                         cn=zimbra
        +Secure interprocess communications:   yes
        +TimeZone:                             Asia/Bangkok
        +IP Mode:                              ipv4
        +Default SSL digest:                   sha256
   2) zimbra-mta:                              Enabled
        +Enable Spamassassin:                  yes
        +Enable Clam AV:                       yes
        +Enable OpenDKIM:                      yes
        +Notification address for AV alerts:   [email protected]
******* +Bind password for postfix ldap user:  UNSET
******* +Bind password for amavis ldap user:   UNSET
   c) Collapse menu
   s) Save config to file
   q) Quit
Address unconfigured (**) items  (? - help) 1

Common configuration
   1) Hostname:                                mta.huuphan.local
** 2) Ldap master host:                        UNSET
   3) Ldap port:                               389
** 4) Ldap Admin password:                     UNSET
   5) LDAP Base DN:                            cn=zimbra
   6) Secure interprocess communications:      yes
   7) TimeZone:                                Asia/Bangkok
   8) IP Mode:                                 ipv4
   9) Default SSL digest:                      sha256
Select, or 'r' for previous menu [r] 2
Please enter the ldap server hostname: ldap.huuphan.local
Common configuration
   1) Hostname:                                mta.huuphan.local
   2) Ldap master host:                        ldap.huuphan.local
   3) Ldap port:                               389
** 4) Ldap Admin password:                     UNSET
   5) LDAP Base DN:                            cn=zimbra
   6) Secure interprocess communications:      yes
   7) TimeZone:                                Asia/Bangkok
   8) IP Mode:                                 ipv4
   9) Default SSL digest:                      sha256
Select, or 'r' for previous menu [r] 4
Password for ldap admin user (min 6 characters): 123456789
Setting defaults from ldap...done.
Common configuration
   1) Hostname:                                mta.huuphan.local
   2) Ldap master host:                        ldap.huuphan.local
   3) Ldap port:                               389
   4) Ldap Admin password:                     set
   5) LDAP Base DN:                            cn=zimbra
   6) Secure interprocess communications:      yes
   7) TimeZone:                                Asia/Bangkok
   8) IP Mode:                                 ipv4
   9) Default SSL digest:                      sha256
Select, or 'r' for previous menu [r] r
Main menu
   1) Common Configuration:
        +Hostname:                             mta.huuphan.local
        +Ldap master host:                     ldap.huuphan.local
        +Ldap port:                            389
        +Ldap Admin password:                  set
        +LDAP Base DN:                         cn=zimbra
        +Secure interprocess communications:   yes
        +TimeZone:                             Asia/Bangkok
        +IP Mode:                              ipv4
        +Default SSL digest:                   sha256
   2) zimbra-mta:                              Enabled
        +Enable Spamassassin:                  yes
        +Enable Clam AV:                       yes
        +Enable OpenDKIM:                      yes
        +Notification address for AV alerts:   [email protected]
******* +Bind password for postfix ldap user:  UNSET
******* +Bind password for amavis ldap user:   UNSET
   c) Collapse menu
   s) Save config to file
   q) Quit
Address unconfigured (**) items  (? - help) 2
Mta configuration
   1) Status:                                  Enabled
   2) Enable Spamassassin:                     yes
   3) Enable Clam AV:                          yes
   4) Enable OpenDKIM:                         yes
   5) Notification address for AV alerts:      [email protected]
** 6) Bind password for postfix ldap user:     UNSET
** 7) Bind password for amavis ldap user:      UNSET
Select, or 'r' for previous menu [r] 5
Notification address for AV alerts: [[email protected]] [email protected]
Mta configuration
   1) Status:                                  Enabled
   2) Enable Spamassassin:                     yes
   3) Enable Clam AV:                          yes
   4) Enable OpenDKIM:                         yes
   5) Notification address for AV alerts:      [email protected]
** 6) Bind password for postfix ldap user:     UNSET
** 7) Bind password for amavis ldap user:      UNSET
Select, or 'r' for previous menu [r] 6
Password for ldap Postfix user (min 6 characters): 123456789
Mta configuration
   1) Status:                                  Enabled
   2) Enable Spamassassin:                     yes
   3) Enable Clam AV:                          yes
   4) Enable OpenDKIM:                         yes
   5) Notification address for AV alerts:      [email protected]
   6) Bind password for postfix ldap user:     set
** 7) Bind password for amavis ldap user:      UNSET
Select, or 'r' for previous menu [r] 7
Password for ldap Amavis user (min 6 characters): 123456789
Mta configuration
   1) Status:                                  Enabled
   2) Enable Spamassassin:                     yes
   3) Enable Clam AV:                          yes
   4) Enable OpenDKIM:                         yes
   5) Notification address for AV alerts:      [email protected]
   6) Bind password for postfix ldap user:     set
   7) Bind password for amavis ldap user:      set
Select, or 'r' for previous menu [r] r
Main menu
   1) Common Configuration:
        +Hostname:                             mta.huuphan.local
        +Ldap master host:                     ldap.huuphan.local
        +Ldap port:                            389
        +Ldap Admin password:                  set
        +LDAP Base DN:                         cn=zimbra
        +Secure interprocess communications:   yes
        +TimeZone:                             Asia/Bangkok
        +IP Mode:                              ipv4
        +Default SSL digest:                   sha256
   2) zimbra-mta:                              Enabled
        +Enable Spamassassin:                  yes
        +Enable Clam AV:                       yes
        +Enable OpenDKIM:                      yes
        +Notification address for AV alerts:   [email protected]
        +Bind password for postfix ldap user:  set
        +Bind password for amavis ldap user:   set
   c) Collapse menu
   s) Save config to file
   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.3097]
Saving config in /opt/zimbra/config.3097...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup11262016-160531.log
Setting local config values...done.
Initializing core config...Updating ldap_root_password and zimbra_ldap_password...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating zimbra-mta SSL certificate...done.
Installing MTA SSL certificates...done.
Creating server entry for mta.huuphan.local...done.
Setting Zimbra IP Mode...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Initializing mta config...done.
Setting services on mta.huuphan.local...done.
Setting up syslog.conf...done.
Starting servers...done.
Skipping creation of default domain GAL sync account - existing install detected.
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_RHEL6_64)
        The ADMIN EMAIL ADDRESS created ([email protected])
Notify Zimbra of your installation? [Yes] yes
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.6.0_GA_1153_RHEL6_64&[email protected]
Notification complete
Setting up zimbra crontab...done.
Moving /tmp/zmsetup11262016-160531.log to /opt/zimbra/log
Configuration complete - press return to exit

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com