Jump to content

Implementation of sysnetglobal mailserver

From TetraWiki


DNS Configuration in Sysnetglobal[edit]

  1. yum install bind bind-utils
  1. service named restart


[root@sysmet-zimbra ~]# vim /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.40.228; };

// 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; };

allow-query { any; };


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";

};


logging {

       channel default_debug {
               file "data/named.run";
               severity dynamic;
       };

};


zone "." IN {

type hint;

file "named.ca";

};

zone "sysmet-zimbra" IN {

type master;

file "/var/named/sysmet-zimbra_fwd";

allow-update { none; };

};


zone "sysnetglobal.com" IN {

type master;

file "/var/named/sysmet-zimbra_fwd";

allow-update { none; };

};



zone "sysnetglobal.net" IN {

type master;

file "/var/named/sysmet-zimbra_fwd";

allow-update { none; };

};

//include "/etc/named.rfc1912.zones"

//include "/etc/named.root.key";



 Forward Zone 
  1. cd /var/named
  1. cp -p named.localhost sysmet-zimbra_fwd

[root@sysmet-zimbra named]# cat sysmet-zimbra_fwd

$TTL 6400 @ IN SOA sysmet-zimbra. root.sysmet-zimbra. (

                                       20150405        ; serial
                                       1D      ; refresh
                                       1H      ; retry
                                       1W      ; expire
                                       3H )    ; minimum
                       IN      NS              sysmet-zimbra.c.zimbra-sysnet.internal.
                       IN      A               10.240.40.228
                       MX      5               mail.sysnetglobal.com.
                       MX      10              mail.sysnetglobal.net.
sysmet-zimbra           IN      A       10.240.40.228
mail.sysnetglobal.com.   IN      A       10.240.40.228
mail.sysnetglobal.net.   IN      A       10.240.40.228


ZIMBRA configuration in sysnetglobal[edit]

Below is the proper document for installation of zimbra on sysnetglobal:

1. check the postfix and sendmail running on the server, if it is running then please stop these services.

  [root@sysmet-zimbra ~]# /etc/init.d/postfix stop 
  [root@sysmet-zimbra ~]# /etc/init.d/sendmail stop 

2. [root@sysmet-zimbra ~]# yum install perl perl-core ntpl nmap sudo libidn gmp libaio libstdc++ unzip sysstat sqlite nc -y

3. [root@sysmet-zimbra ~]# tar -zxvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz

4. [root@sysmet-zimbra ~]# cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155

5.[root@sysmet-zimbra zcs-8.6.0_GA_1153.RHEL6_64.20141215151155]# ./install.sh --platform-override

Operations logged to /tmp/install.log.19420 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-22 
    FOUND: sudo-1.8.6p3-15 
    FOUND: libidn-1.18-2 
    FOUND: gmp-4.3.1-7 
    FOUND: libaio-0.3.107-10 
    FOUND: libstdc++-4.4.7-11 
    FOUND: unzip-6.0-2 

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]

Install zimbra-logger [Y]

Install zimbra-mta [Y]

Install zimbra-dnscache [Y] N

Install zimbra-snmp [Y]

Install zimbra-store [Y]

Install zimbra-apache [Y]

Install zimbra-spell [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-snmp 
   zimbra-store 
   zimbra-apache 
   zimbra-spell 

The system will be modified. Continue? [N]

Removing /opt/zimbra

Removing zimbra crontab entry...done.

Cleaning up zimbra init scripts...done.

Cleaning up /etc/ld.so.conf...done.

Cleaning up /etc/prelink.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... 
zimbra-ldap......zimbra-ldap-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rpm...done 
   zimbra-logger......zimbra-logger-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... 

zimbra-snmp......zimbra-snmp-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rpm...done

   zimbra-store......zimbra-store-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rpm... 
zimbra-apache......zimbra-apache-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rpm...done 
   zimbra-spell......zimbra-spell-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rpm... 

Operations logged to /tmp/zmsetup04052015-035300.log Installing LDAP configuration database...done. Setting defaults... No results returned for A lookup of sysmet-zimbra.c.zimbra-sysnet.internal Checked nameservers: 10.240.40.228 No results returned for AAAA lookup of sysmet-zimbra.c.zimbra-sysnet.internal Checked nameservers: 10.240.40.228


DNS ERROR resolving sysmet-zimbra.c.zimbra-sysnet.internal It is suggested that the hostname be resolvable via DNS Change hostname [Yes] Please enter the logical hostname for this host [sysmet-zimbra.c.zimbra-sysnet.internal] mail.sysnetglobal.com No results returned for A lookup of mail.sysnetglobal.com Checked nameservers:

       10.240.40.228 


DNS ERROR resolving MX for sysmet-zimbra.c.zimbra-sysnet.internal It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] Create domain: [sysmet-zimbra.c.zimbra-sysnet.internal] sysnetglobal.com MX: mail.sysnetglobal.com (10.240.40.228) MX: mail.sysnetglobal.net (10.240.40.228)

Interface: 10.240.40.228 Interface: 127.0.0.1 Interface: ::1 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@sysnetglobal.com           
              • +Admin Password UNSET
       +Anti-virus quarantine user:           virus-quarantine.fqxwyynob@sysnetglobal.com 
       +Enable automated spam training:       yes                           
       +Spam training user:                   spam.98wsrsws@sysnetglobal.com   
       +Non-spam(Ham) training user:          ham.vybghdap@sysnetglobal.com    
       +SMTP host:                            sysmet-zimbra.c.zimbra-sysnet.internal 
       +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://sysmet-zimbra.c.zimbra-sysnet.internal: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@sysnetglobal.com           
       +Version update source email:          admin@sysnetglobal.com           
       +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@sysnetglobal.com           
    • 4) Admin Password UNSET
  5) Anti-virus quarantine user:              virus-quarantine.fqxwyynob@sysnetglobal.com 
  6) Enable automated spam training:          yes                           
  7) Spam training user:                      spam.98wsrsws@sysnetglobal.com   
  8) Non-spam(Ham) training user:             ham.vybghdap@sysnetglobal.com    
  9) SMTP host:                               sysmet-zimbra.c.zimbra-sysnet.internal 
 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://sysmet-zimbra.c.zimbra-sysnet.internal: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@sysnetglobal.com           
 24) Version update source email:             admin@sysnetglobal.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@sysnetglobal.com (min 6 characters): [abrQ3Kmjp] sysnet123tetra Store configuration

  1) Status:                                  Enabled                       
  2) Create Admin User:                       yes                           
  3) Admin user to create:                    admin@sysnetglobal.com           
  4) Admin Password                           set                           
  5) Anti-virus quarantine user:              virus-quarantine.fqxwyynob@sysnetglobal.com 
  6) Enable automated spam training:          yes                           
  7) Spam training user:                      spam.98wsrsws@sysnetglobal.com   
  8) Non-spam(Ham) training user:             ham.vybghdap@sysnetglobal.com    
  9) SMTP host:                               sysmet-zimbra.c.zimbra-sysnet.internal 
 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://sysmet-zimbra.c.zimbra-sysnet.internal: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@sysnetglobal.com           
 24) Version update source email:             admin@sysnetglobal.com           
 25) Install mailstore (service webapp):      yes                           
 26) Install UI (zimbra,zimbraAdmin webapps): yes                           

Select, or 'r' for previous menu [r] 23 Version update destination address: [admin@sysnetglobal.com] 24 Must enter a valid email address. Version update destination address: [admin@sysmet-zimbra] admin@sysnetglobal.com

Store configuration

  1) Status:                                  Enabled                       
  2) Create Admin User:                       yes                           
  3) Admin user to create:                    admin@sysnetglobal.com           
  4) Admin Password                           set                           
  5) Anti-virus quarantine user:              virus-quarantine.fqxwyynob@sysnetglobal.com 
  6) Enable automated spam training:          yes                           
  7) Spam training user:                      spam.98wsrsws@sysnetglobal.com   
  8) Non-spam(Ham) training user:             ham.vybghdap@sysnetglobal.com    
  9) SMTP host:                               sysmet-zimbra.c.zimbra-sysnet.internal 
 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://sysmet-zimbra.c.zimbra-sysnet.internal: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@sysnetglobal.com        
 24) Version update source email:             admin@sysnetglobal.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-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.30782]

Saving config in /opt/zimbra/config.30782...done.

The system will be modified - continue? [No] Yes

Operations logged to /tmp/zmsetup04052015-035300.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 sysmet-zimbra.c.zimbra-sysnet.internal...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 sysmet-zimbra.c.zimbra-sysnet.internal...done.

Setting zimbraFeatureTasksEnabled=TRUE...done.

Setting zimbraFeatureBriefcasesEnabled=TRUE...done.

Setting TimeZone Preference...done.

Initializing mta config...done.

Setting services on sysmet-zimbra.c.zimbra-sysnet.internal...done.

Adding sysmet-zimbra.c.zimbra-sysnet.internal to zimbraMailHostPool in default COS...done.

Creating domain sysmet-zimbra...done.

Setting default domain name...done.

Creating domain sysnetglobal.com...already exists.

Creating admin account admin@sysnetglobal.com...done.

Creating root alias...done.

Creating postmaster alias...done.

Creating user spam.98wsrsws@sysnetglobal.com...done.

Creating user ham.vybghdap@sysnetglobal.com...done.

Creating user virus-quarantine.fqxwyynob@sysnetglobal.com...done.

Setting spam training and Anti-virus quarantine accounts...done.

Initializing store sql database...done.

Setting zimbraSmtpHostname for sysmet-zimbra.c.zimbra-sysnet.internal...done.

Configuring SNMP...done.

Setting up syslog.conf...done.

Starting servers...done.

Installing common zimlets...

com_zimbra_srchhighlighter...done.

com_zimbra_proxy_config...done.

com_zimbra_mailarchive...done.

com_zimbra_phone...done.

com_zimbra_ymemoticons...done.

com_zimbra_cert_manager...done.

com_zimbra_clientuploader...done.

com_zimbra_tooltip...done.

com_zimbra_bulkprovision...done.

com_zimbra_viewmail...done.

com_zimbra_adminversioncheck...done.

com_zimbra_email...done.

com_zimbra_webex...done.

com_zimbra_date...done.

com_zimbra_attachmail...done.

com_zimbra_url...done.

com_zimbra_attachcontacts...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_RHEL6_64)

The ADMIN EMAIL ADDRESS created (admin@sysnetglobal.com)


Notify Zimbra of your installation? [Yes] no

Notification skipped

Setting up zimbra crontab...done.



Moving /tmp/zmsetup04052015-035300.log to /opt/zimbra/log


Configuration complete - press return to exit