Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Zimbra Network Edition 7.2 Implementation on BBFGroup
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[category:BBF Group]] [[Category:Zimbra]] <center>''' == Zimbra Network Edition 7.2 Implementation on BBF Group == '''</center> '''Architecture Diagram:''' [[Image:bbf_zimbra.jpg]] '''<nowiki>Pre-Installation steps on first MTA+Mailbox server [10.5.14.15]:</nowiki>''' # Install CentOS 6.2 x86_64 on server. # Disable SELinux in file “''/etc/sysconfig/selinux''” : ''<nowiki># vim /etc/sysconfig/selinux</nowiki>'' SELINUX=disabled # Disable the Firewall: ''<nowiki># system-config-firewall</nowiki>'' # Disable iptables and sendmail services: ''<nowiki># /etc/init.d/postfix stop</nowiki>'' ''<nowiki># chkconfig postfix off</nowiki>'' ''<nowiki># chkconfig iptables off</nowiki>'' ''<nowiki># chkconfig ip6tables off</nowiki>'' # Disable MySQL if installed and running: ''<nowiki># /etc/init.d/mysqld stop</nowiki>'' ''<nowiki># chkconfig mysqld off</nowiki>'' # Yum repository must be configured to install packages and other dependencies: ''<nowiki># wget </nowiki>[http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm] Install DAG's GPG key: ''<nowiki># rpm --import </nowiki>[http://apt.sw.be/RPM-GPG-KEY.dag.txt http://apt.sw.be/RPM-GPG-KEY.dag.txt] Install the repository package: ''<nowiki># rpm –ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm</nowiki>'' This will add a yum repository config file and import the appropriate GPG keys. # Install and configure NTP to synchronize the system clock: ''<nowiki># yum install ntp</nowiki>'' ''<nowiki># chkconfig ntpd on</nowiki>'' ''<nowiki># ntpdate -u pool.ntp.org</nowiki>'' ''<nowiki># /etc/init.d/ntpd start</nowiki>'' # Now start installation of Centos 6.2 packages required by ZCS 7.2 ''<nowiki># yum install nc perl sudo sysstat gmp libidn libstdc++ sqlite libtool-ltdl bind bind-chroot bind-libs bind-utils -y </nowiki>'' # Configure hostname of the server and DNS for the domain: Make sure that in '''''/etc/hosts'', the hostname of the server has been pointed to the IP address of the server.''' ''<nowiki>#</nowiki>''' vim /etc/hosts''''' 127.0.0.1localhost.localdomain localhost 1'''0.5.14.15 mailserver.bbfgroup.com mailserver''' 1'''0.5.14.16 mailserver2.bbfgroup.com mailserver2''' ::1localhost6.localdomain6 localhost6 ''<nowiki># vim /etc/</nowiki>'''sysconfig/network''''' NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=mailserver.bbfgroup.com # Create a file ''/var/named/chroot/var/named/named.conf'' with the following configuration: ''<nowiki># vim /var/named/chroot/var/named/named.conf</nowiki>'' options { listen-on port 53 { 127.0.0.1; 10.5.14.0/8;}; 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; 10.5.14.0/8; }; allow-query-cache { localhost; 10.5.14.0/8; }; }; // a caching only nameserver config controls { inet 127.0.0.1 allow { localhost; 10.5.14.0/8 ; } ; }; //Added by Heera zone "." IN { type hint; file "root.hints"; }; //Added by Heera zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "14.5.10.in-addr.arpa" IN { type master; file "mailrev.zone"; allow-update { none; }; }; zone "bbfgroup.com" { type master; file "bbfgroup.com.zone"; }; # Create a file ''/var/named/chroot/var/named/bbfgroup.com.zone'' with the following configuration: ''<nowiki># vim /var/named/chroot/var/named/</nowiki>bbfgroup.com.zone'' $TTL 86400 @ IN SOA mailserver.bbfgroup.com. service.tetrain.com. ( 42 <nowiki>; serial (d. adams)</nowiki> 3H <nowiki>; refresh</nowiki> 15M <nowiki>; retry</nowiki> 1W <nowiki>; expiry</nowiki> 1D ) <nowiki>; minimum</nowiki> <nowiki>; </nowiki>IN NS .in. <nowiki>;localhost </nowiki>IN A 127.0.0.1 @ IN NS ns1.bbfgroup.com. IN NS mailserver.bbfgroup.com. mailserver.bbfgroup.com. IN A 10.5.14.15 bbfgroup.com. IN A 118.67.248.188 mailserver2 IN A 10.5.14.16 mail IN A 208.109.176.99 <nowiki>;apply settings after DNS pointing</nowiki> <nowiki>;mail </nowiki>IN A 10.5.14.15 www IN CNAME bbfgroup.com. ns1 IN CNAME mailserver.bbfgroup.com. bbfgroup.com. IN MX 10 mailserver.bbfgroup.com. # Create a reverse zone file ''/var/named/chroot/var/named/mailrev.zone'' with the following configuration: ''<nowiki># vim /var/named/chroot/var/named/mailrev.zone</nowiki>'' $TTL 86400 @ IN SOA mailserver.bbfgroup.com. root.localhost. ( 1997022700 ; Serial 28800 <nowiki>; Refresh</nowiki> 14400 <nowiki>; Retry</nowiki> 3600000 <nowiki>; Expire</nowiki> 86400 ) <nowiki>; Minimum</nowiki> INNS ns1.bbfgroup.com. 15INPTR mailserver.bbfgroup.com. 16INPTR mailserver2.bbfgroup.com # Create a reverse zone file ''/var/named/chroot/var/named/named.local'' for localhost with the following configuration: ''<nowiki># vim /var/named/chroot/var/named/named.local</nowiki>'' $TTL 86400 @ IN SOA localhost. root.localhost. ( 1997022700 ; Serial 28800 <nowiki>; Refresh</nowiki> 14400 <nowiki>; Retry</nowiki> 3600000 <nowiki>; Expire</nowiki> 86400 ) <nowiki>; Minimum</nowiki> IN NS localhost. 1 IN PTR localhost. # Change your ''/etc/resolv.conf'' to use your mail server's IP address as primary DNS. ''<nowiki># vim /etc/resolv.conf</nowiki>'' search bbfgroup.com nameserver 127.0.0.1 nameserver 10.5.14.15 # Start named service on the server and set autostart: ''<nowiki># /etc/init.d/named start</nowiki>'' ''<nowiki># chkconfig named on</nowiki>'' # Verify that the dns is working: ''<nowiki># host -t mx bbfgroup.com</nowiki>'' bbfgroup.com mail is handled by 10 mailserver.bbfgroup.com ''<nowiki># nslookup mailserver.bbfgroup.com</nowiki>'' Server: 10.5.14.15 Address: 10.5.14.15#53 Name: mailserver.bbfgroup.com Address: 10.5.14.15 # Reboot server before Zimbra installation : ''<nowiki># init 6</nowiki>'' '''Zimbra Installation steps on <nowiki>MTA+Mailbox server [10.5.14.15]</nowiki>:''' # Create download directory for zimbra package: ''<nowiki># mkdir /download</nowiki>'' ''<nowiki># cd /download</nowiki>'' # Download ZCS – Network Edition from [http://www.zimbra.com/products/download_network.html http://www.zimbra.com/products/download_network.html] Select architecture (x86 or x64) according to the installed Operation System and fill registration form. # Now extract the download zimbra tarball and start installation: ''<nowiki># tar –xvzf </nowiki>''zcs-NETWORK-7.2.0_GA_2669.RHEL6_64.20120410002117.tgz ''<nowiki># cd </nowiki>zcs-NETWORK-7.2.0_GA_2669.RHEL6_64.20120410002117'' ''<nowiki>#./install.sh --platform-override –license /root/Desktop/ZCSLicense.xml</nowiki>'' Note: If we install Zimbra Collaboration Suite on Centos, we have to add ‘--platform-override’ when run the ‘install.sh’ script. Otherwise the installation will stop because the system is not detected as RedHat OS. The output should look something like: Operations logged to /tmp/install.log.3833 Checking for existing installation... zimbra-ldap...NOT FOUND zimbra-logger...NOT FOUND zimbra-mta...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-cluster...NOT FOUND zimbra-core...NOT FOUND First, we need to agree with the license terms. <nowiki>Do you agree with the terms of the software license agreement? [N] </nowiki>'''y''' Now, Zimbra will check all the prerequisites. If anything is not found, stop the Wizard and install it with yum. If everything is ok, the script will ask what the packages that we want to install are. Just select the default options. Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-mta Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-convertd Found zimbra-memcached Found zimbra-proxy Found zimbra-archiving Select the packages to install <nowiki>Install zimbra-ldap [Y]</nowiki> <nowiki>Install zimbra-logger [Y]</nowiki> <nowiki>Install zimbra-mta [Y]</nowiki> <nowiki>Install zimbra-snmp [Y]</nowiki> <nowiki>Install zimbra-store [Y]</nowiki> <nowiki>Install zimbra-apache [Y]</nowiki> <nowiki>Install zimbra-spell [Y]</nowiki> <nowiki>Install zimbra-convertd [Y]</nowiki> <nowiki>Install zimbra-memcached [N]</nowiki> <nowiki>Install zimbra-proxy [N]</nowiki> <nowiki>Install zimbra-archiving [N]</nowiki> Checking required space for zimbra-core checking space for zimbra-store Installing: zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-convertd Afterwards, the script asks you if you want to override the platform. You say "yes", of course. You appear to be installing packages on a platform different than the platform for which they were built. This platform is CentOS6_64 Packages found: RHEL6_64 This may or may not work. Using packages for a platform in which they were not designed for may result in an installation that is NOT usable. Your support options may be limited if you choose to continue. <nowiki>Install anyway? [N] </nowiki>'''y''' <nowiki>The system will be modified. Continue? [N] </nowiki>'''y''' During installation, setup shows error like this then enter the domain name: DNS ERROR resolving MX for mailserver.bbfgroup.com It is suggested that the domain name have an MX record configured in DNS <nowiki>Change domain name? [Yes]</nowiki> <nowiki>Create domain: [mailserver.bbfgroup.com] </nowiki>'''bbfgroup.com''' MX: mailserver.bbfgroup.com (10.5.14.15) Interface: 10.5.14.15 Interface: 127.0.0.1 done. Checking for port conflicts Once the install is finished you are presented with the Main Menu. It looks like this: Main menu 1) Common Configuration: +Hostname: mailserver.bbfgroup.com +Ldap master host: mailserver.bbfgroup.com +Ldap port: 389 +Ldap Admin password: set +Secure interprocess communications: yes +TimeZone: Asia/Kolkata 2) zimbra-ldap: Enabled +Status Enabled +Create Domain: yes +Domain to create: mailserver.bbfgroup.com +Ldap root password: set +Ldap replication password: set +Ldap postfix password: set +Ldap amavis password: set +Ldap nginx password set 3) zimbra-store: Enabled +Status Enabled +Create Admin User: yes +Admin user to create: admin@mailserver.bbfgroup.com <nowiki>*******</nowiki>+Admin Password UNSET +Anti-virus quarantine user: virusquarantine.zodi72xmm6@mailserver.bbfgroup.com +Enable automated spam training: yes +Spam training user spam.vviwu_izoj@mailserver.bbfgroup.com +Non-spam(Ham) training user: ham.unsbogyzer@mailserver.bbfgroup.com +SMTP host: mailserver.bbfgroup.com +Web server HTTP port: 80 +Web server HTTPS port: 443 +Web server mode: http +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://mailserver.bbfgroup.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@mailserver.bbfgroup.com +Version update source email: admin@mailserver.bbfgroup.com +License filename: set 4) zimbra-mta: Enabled 5) zimbra-snmp: Enabled 6) zimbra-logger: Enabled 7) zimbra-spell: Enabled 8) zimbra-convertd: Enabled 9) Default Class of Service Configuration: 10) Enable default backup schedule: yes c) Collapse menu r) Start servers after configuration yes s) Save config to file q) Quit Notice the asterisks next to the Admin Password. You need to set the Admin Password before you complete the install. To do this enter “3” at the prompt and hit enter. The menu changes to: Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@mailserver.bbfgroup.com <nowiki>******</nowiki>4) Admin Password UNSET 5) Anti-virus quarantine user: virusquarantine.zodi72xmm6@mailserver.bbfgroup.com 6) Enable automated spam training: yes 7) Spam training user: spam.vviwu_izoj@mailserver.bbfgroup.com 8) Non-spam(Ham) training user: ham.unsbogyzer@mailserver.bbfgroup.com 9) SMTP host: mailserver.bbfgroup.com 10) Web server HTTP port: 80 11) Web server HTTPS port: 443 12) Web server mode: http 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://mailserver.bbfgroup.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@mailserver.bbfgroup.com 24) Version update source email: admin@mailserver.bbfgroup.com 25) License filename: set <nowiki>Select, or 'r' for previous menu [r] </nowiki>'''4''' <nowiki>Password for admin@mailserver.bbfgroup.com (min 6 characters): [2LPoBSob] </nowiki>'''Zimbra7''' Now you choose “4”. You will be prompted to change the password. After you change the password hit “r” which will take you back to the previous menu. Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-store: Enabled 4) zimbra-mta: Enabled 5) zimbra-snmp: Enabled 6) zimbra-logger: Enabled 7) zimbra-spell: Enabled 8) Default Class of Service Configuration: r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit Enter “1” to display the Common Configuration submenus Ldap admin password: Common Configuration: 1)Hostname: mailserver.bbfgroup.com 2)Ldap master host: mailserver.bbfgroup.com 3)Ldap port: 389 4)Ldap Admin password: UNSET 5)Secure interprocess communications: Yes 6)TimeZone: (GMT-05.30) Asia Kolkata Now choose “4”. You will be prompted to change the password. <nowiki>Password for Ldap Admin of mailserver.bfgroup.com (min 6 characters): [2XwnZS] </nowiki>'''Z7LdAp''' After you set Ldap password hit “r” which will take you back to the previous menu and hit “a” at the prompt to save the configuration. <nowiki>*** CONFIGURATION COMPLETE - press 'a' to apply</nowiki> Select from menu, or press 'a' to apply config (? - help) '''a''' <nowiki>Save configuration data to a file? [Yes] </nowiki>'''y''' <nowiki>Save config in file: [/opt/zimbra/config.11722]</nowiki> Saving config in /opt/zimbra/config.11722...done. <nowiki>The system will be modified - continue? [No] </nowiki>'''y''' We need to wait the end of the process. Operations logged to /tmp/zmsetup.04042011-131235.log Setting local config values...done. Setting up CA...done. Deploying CA to /opt/zimbra/conf/ca ...done. Creating SSL certificate...done. Installing mailboxd SSL certificates...done. Initializing ldap...done. Setting replication password...done. Setting Postfix password...done. Setting amavis password...done. Setting nginx password...done. Creating server entry for mailserver.bbfgroup.com...done. Saving CA in ldap ...done. Saving SSL Certificate in ldap ...done. Setting spell check URL...done. Setting service ports on mailserver.bbfgroup.com...done. Adding mailserver.bbfgroup.com to zimbraMailHostPool in default COS...done. Installing webclient skins... steel...done. twilight...done. pebble...done. bare...done. lemongrass...done. beach...done. sand...done. sky...done. carbon...done. smoke...done. lavender...done. tree...done. waves...done. lake...done. oasis...done. bones...done. hotrod...done. Finished installing webclient skins. Setting zimbraFeatureTasksEnabled=TRUE...done. Setting zimbraFeatureBriefcasesEnabled=TRUE...done. Setting MTA auth host...done. Setting TimeZone Preference...done. Initializing mta config...done. Setting services on mailserver.bbfgroup.com...done. Creating domain mailserver.bbfgroup.com...done. Setting default domain name...done. Creating domain mailserver.bbfgroup.com...already exists. Creating admin account admin@mailserver.bbfgroup.com...done. Creating root alias...done. Creating postmaster alias...done. Creating user spam.sd5fsqtdzi@mailserver.bbfgroup.com...done. Creating user ham.2qun60wc4@mailserver.bbfgroup.com...done. Creating user virus-quarantine.kzpbrsgbx7@mailserver.bbfgroup.com...done. Setting spam training and Anti-virus quarantine accounts...done. Initializing store sql database...done. Setting zimbraSmtpHostname for mailserver.bbfgroup.com...done. Configuring SNMP...done. Checking for default IM conference room...not present. Initializing default IM conference room...done. Setting up syslog.conf...done. You have the option of notifying Zimbra of your installation. This helps us to track the uptake of the Zimbra Collaboration Suite. The only information that will be transmitted is: The VERSION of zcs installed (zcs-NETWORK-7.2.0_GA_2669.CentOS6_64) The ADMIN EMAIL ADDRESS created (admin@mailserver.bbfgroup.com) <nowiki>Notify Zimbra of your installation? [Yes] </nowiki>'''no''' Notification skipped Starting servers...done. Installing common zimlets... com_zimbra_bulkprovision...done. com_zimbra_phone...done. com_zimbra_attachmail...done. com_zimbra_linkedin...done. com_zimbra_srchhighlighter...done. com_zimbra_attachcontacts...done. com_zimbra_adminversioncheck...done. com_zimbra_url...done. com_zimbra_cert_manager...done. com_zimbra_date...done. com_zimbra_email...done. com_zimbra_webex...done. com_zimbra_dnd...done. com_zimbra_social...done. Finished installing common zimlets. Restarting mailboxd...done. Setting up zimbra crontab...done. Moving /tmp/zmsetup.04042011-131235.log to /opt/zimbra/log Configuration complete - press return to exit When Configuration complete! appears, the installation is finished and the server has been started. To verify that the server is running: ''<nowiki># su - zimbra</nowiki>'' ''$ zmcontrol status'' Host mailserver.bbfgroup.com antispam Running antivirus Running convertd Running ldap Running logger Running mailbox Running mta Running snmp Running spell Running stats Running The installation will complete and you will be all set to access the administrative web interface. # Configuring Zimbra 7 wih Admin web interface: Access the admin web interface by going to https://mailserver.bbfgroup.com:7071 or https://10.5.14.15:7071 <center>[[Image:]]</center> To log in, the user is admin and the password used in the installation script. Use the admin console to configure the server. # Activate ZCS license: After you log on, a dialog displays stating your license is not activated. Go to '''Global Settings >''' '''License''' and click '''Activate License''' on the toolbar. Click OK to continue. '''<nowiki>Pre-Installation step on second Mailbox server [10.5.14.16]:</nowiki>''' # Install CentOS 6.2 x86_64 on server. # Disable SELinux in file “''/etc/sysconfig/selinux''” : ''<nowiki># vim /etc/sysconfig/selinux</nowiki>'' SELINUX=disabled # Disable the Firewall: ''<nowiki># system-config-firewall</nowiki>'' # Disable iptables and sendmail services: ''<nowiki># /etc/init.d/postfix stop</nowiki>'' ''<nowiki># chkconfig postfix off</nowiki>'' ''<nowiki># chkconfig iptables off</nowiki>'' ''<nowiki># chkconfig ip6tables off</nowiki>'' # Disable MySQL if installed and running: ''<nowiki># /etc/init.d/mysqld stop</nowiki>'' ''<nowiki># chkconfig mysqld off</nowiki>'' # Yum repository must be configured to install packages and other dependencies: ''<nowiki># wget </nowiki>[http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm] Install DAG's GPG key: ''<nowiki># rpm --import </nowiki>[http://apt.sw.be/RPM-GPG-KEY.dag.txt http://apt.sw.be/RPM-GPG-KEY.dag.txt] Install the repository package: ''<nowiki># rpm –ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm</nowiki>'' This will add a yum repository config file and import the appropriate GPG keys. # Install and configure NTP to synchronize the system clock: ''<nowiki># yum install ntp</nowiki>'' ''<nowiki># chkconfig ntpd on</nowiki>'' ''<nowiki># ntpdate -u pool.ntp.org</nowiki>'' ''<nowiki># /etc/init.d/ntpd start</nowiki>'' # Now start installation of Centos 6.2 packages required by ZCS 7.2 ''<nowiki># yum install nc perl sudo sysstat gmp libidn libstdc++ sqlite libtool-ltdl -y </nowiki>'' # Configure hostname of the server and DNS for the domain: Make sure that in '''''/etc/hosts'', the hostname of the server has been pointed to the IP address of the server.''' ''<nowiki># vim /etc/hosts</nowiki>'' 127.0.0.1localhost.localdomain localhost 1'''0.5.14.15 mailserver.bbfgroup.com mailserver''' 1'''0.5.14.16 mailserver2.bbfgroup.com mailserver2''' ::1localhost6.localdomain6 localhost6 ''<nowiki># vim /etc/</nowiki>'''sysconfig/network''''' NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=mailserver2.bbfgroup.com # Change your ''/etc/resolv.conf'' to use mailserver.bbfgroup.com as a primary DNS. ''<nowiki># vim /etc/resolv.conf</nowiki>'' search bbfgroup.com nameserver 10.5.14.15 # Verify that the dns is working: ''<nowiki># host -t mx bbfgroup.com</nowiki>'' bbfgroup.com mail is handled by 10 mailserver.bbfgroup.com ''<nowiki># nslookup mailserver.bbfgroup.com</nowiki>'' Server: 10.5.14.15 Address: 10.5.14.15#53 Name: mailserver.bbfgroup.com Address: 10.5.14.15 # Reboot server before Zimbra installation : ''<nowiki># init 6</nowiki>'' '''Zimbra Installation steps on second M<nowiki>ailbox server [10.5.14.16]</nowiki>:''' # Create download directory for zimbra package: ''<nowiki># mkdir /download</nowiki>'' ''<nowiki># cd /download</nowiki>'' # Download ZCS – Network Edition from [http://www.zimbra.com/products/download_network.html http://www.zimbra.com/products/download_network.html] Select architecture (x86 or x64) according to the installed Operation System and fill registration form. # Now extract the download zimbra tarball and start installation: ''<nowiki># tar –xvzf </nowiki>''zcs-NETWORK-7.2.0_GA_2669.RHEL6_64.20120410002117.tgz ''<nowiki># cd </nowiki>zcs-NETWORK-7.2.0_GA_2669.RHEL6_64.20120410002117'' ''<nowiki>#./install.sh --platform-override </nowiki>'' Note: If we install Zimbra Collaboration Suite on Centos, we have to add ‘--platform-override’ when run the ‘install.sh’ script. Otherwise the installation will stop because the system is not detected as RedHat OS. The output should look something like: Operations logged to /tmp/install.log.3833 Checking for existing installation... zimbra-ldap...NOT FOUND zimbra-logger...NOT FOUND zimbra-mta...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-cluster...NOT FOUND zimbra-core...NOT FOUND First, we need to agree with the license terms. <nowiki>Do you agree with the terms of the software license agreement? [N] </nowiki>'''y''' Now, Zimbra will check all the prerequisites. If anything is not found, stop the Wizard and install it with yum. If everything is ok, the script will ask what the packages that we want to install are. Just select the default options. Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-mta Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-convertd Found zimbra-memcached Found zimbra-proxy Found zimbra-archiving Select the packages to install <nowiki>Install zimbra-ldap [Y] </nowiki>'''N''' <nowiki>Install zimbra-logger [Y] </nowiki>'''N''' <nowiki>Install zimbra-mta [Y] </nowiki>'''N''' <nowiki>Install zimbra-snmp [Y]</nowiki> <nowiki>Install zimbra-store [Y]</nowiki> <nowiki>Install zimbra-apache [Y]</nowiki> <nowiki>Install zimbra-spell [Y]</nowiki> <nowiki>Install zimbra-convertd [Y]</nowiki> <nowiki>Install zimbra-memcached [N]</nowiki> <nowiki>Install zimbra-proxy [N]</nowiki> <nowiki>Install zimbra-archiving [N]</nowiki> Checking required space for zimbra-core checking space for zimbra-store Installing: zimbra-core zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-convertd Afterwards, the script asks you if you want to override the platform. You say "yes", of course. You appear to be installing packages on a platform different than the platform for which they were built. This platform is CentOS6_64 Packages found: RHEL6_64 This may or may not work. Using packages for a platform in which they were not designed for may result in an installation that is NOT usable. Your support options may be limited if you choose to continue. <nowiki>Install anyway? [N] </nowiki>'''y''' <nowiki>The system will be modified. Continue? [N] </nowiki>'''y''' During installation, setup shows error like this then enter the domain name: DNS ERROR resolving MX for mailserver2.bbfgroup.com It is suggested that the domain name have an MX record configured in DNS <nowiki>Change domain name? [Yes]</nowiki> <nowiki>Create domain: [mailserver2.bbfgroup.com] </nowiki>'''bbfgroup.com''' MX: mailserver.bbfgroup.com (10.5.14.15) Interface: 10.5.14.15 Interface: 127.0.0.1 done. Checking for port conflicts Once the install is finished you are presented with the Main Menu. It looks like this: Main menu 1) Common Configuration: +Hostname: mailserver2.bbfgroup.com <nowiki>*******</nowiki>+Ldap master host: UNSET +Ldap port: 389 <nowiki>*******</nowiki>+Ldap Admin password: UNSET +Secure interprocess communications: yes +TimeZone: Asia/Kolkata 2) zimbra-store: Enabled 3) zimbra-snmp: Enabled 4) zimbra-spell: Enabled 5) zimbra-convertd: Enabled 6) Default Class of Service Configuration: 7) Enable default backup schedule: yes c) Collapse menu r) Start servers after configuration yes s) Save config to file q) Quit Notice the asterisks. You need to be set the Ldap master host and Ldap admin password to complete the installation. To do this enter “1” at the prompt and hit enter. The menu changes to: Common Configuration: 1)Hostname: mailserver.bbfgroup.com <nowiki>*******</nowiki>2)Ldap master host: UNSET 3)Ldap port: 389 <nowiki>*******</nowiki>4)Ldap Admin password: UNSET 5)Secure interprocess communications: Yes 6)TimeZone: (GMT-05.30) Asia Kolkata Now choose “2” to set Ldap master host: LDAP master host : '''mailserver.bbfgroup.com''' <nowiki>Password for Ldap Admin of mailserver.bfgroup.com (min 6 characters): [2XwnZS] </nowiki>'''Z7LdAp''' After this step hit “r” which will take you back to the previous menu and hit “2” and Store configuration is show on screen: Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@mailserver.bbfgroup.com <nowiki>******</nowiki>4) Admin Password UNSET 5) Anti-virus quarantine user: virusquarantine.zodi72xmm6@mailserver.bbfgroup.com 6) Enable automated spam training: yes 7) Spam training user: spam.vviwu_izoj@mailserver.bbfgroup.com 8) Non-spam(Ham) training user: ham.unsbogyzer@mailserver.bbfgroup.com 9) SMTP host: mailserver.bbfgroup.com 10) Web server HTTP port: 80 11) Web server HTTPS port: 443 12) Web server mode: http 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://mailserver.bbfgroup.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@mailserver.bbfgroup.com 24) Version update source email: admin@mailserver.bbfgroup.com <nowiki>Select, or 'r' for previous menu [r] </nowiki>'''4''' <nowiki>Password for admin@mailserver.bbfgroup.com (min 6 characters): [2LPoBSob] </nowiki>'''Zimbra7''' Now you choose “4”. You will be prompted to change the password. After you change the password hit “r” which will take you back to the previous menu. Main menu 1) Common Configuration: 2) zimbra-store: Enabled 3) zimbra-mta: Enabled 4) zimbra-snmp: Enabled 5) zimbra-logger: Enabled 6) zimbra-spell: Enabled 7) Default Class of Service Configuration: r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit Now press “a” at the prompt to save the configuration. <nowiki>*** CONFIGURATION COMPLETE - press 'a' to apply</nowiki> Select from menu, or press 'a' to apply config (? - help) '''a''' <nowiki>Save configuration data to a file? [Yes] </nowiki>'''y''' <nowiki>Save config in file: [/opt/zimbra/config.11722]</nowiki> Saving config in /opt/zimbra/config.11722...done. <nowiki>The system will be modified - continue? [No] </nowiki>'''y''' Operations logged to /tmp/zmsetup.04042011-131235.log Setting local config values...done. Setting up CA...done. Deploying CA to /opt/zimbra/conf/ca ...done. Creating SSL certificate...done. Installing mailboxd SSL certificates...done. Initializing ldap...done. Setting replication password...done. Setting Postfix password...done. Setting amavis password...done. Setting nginx password...done. Creating server entry for mailserver.bbfgroup.com...done. Saving CA in ldap ...done. Saving SSL Certificate in ldap ...done. Setting spell check URL...done. Setting service ports on mailserver.bbfgroup.com...done. Adding mailserver.bbfgroup.com to zimbraMailHostPool in default COS...done. Installing webclient skins... steel...done. twilight...done. pebble...done. bare...done. lemongrass...done. beach...done. sand...done. sky...done. carbon...done. smoke...done. lavender...done. tree...done. waves...done. lake...done. oasis...done. bones...done. hotrod...done. Finished installing webclient skins. Setting zimbraFeatureTasksEnabled=TRUE...done. Setting zimbraFeatureBriefcasesEnabled=TRUE...done. Setting MTA auth host...done. Setting TimeZone Preference...done. Initializing mta config...done. Setting services on mailserver.bbfgroup.com...done. Creating domain mailserver.bbfgroup.com...done. Setting default domain name...done. Creating domain mailserver.bbfgroup.com...already exists. Creating admin account admin@mailserver.bbfgroup.com...done. Creating root alias...done. Creating postmaster alias...done. Creating user spam.sd5fsqtdzi@mailserver.bbfgroup.com...done. Creating user ham.2qun60wc4@mailserver.bbfgroup.com...done. Creating user virus-quarantine.kzpbrsgbx7@mailserver.bbfgroup.com...done. Setting spam training and Anti-virus quarantine accounts...done. Initializing store sql database...done. Setting zimbraSmtpHostname for mailserver.bbfgroup.com...done. Configuring SNMP...done. Checking for default IM conference room...not present. Initializing default IM conference room...done. Setting up syslog.conf...done. You have the option of notifying Zimbra of your installation. This helps us to track the uptake of the Zimbra Collaboration Suite. The only information that will be transmitted is: The VERSION of zcs installed (zcs-NETWORK-7.2.0_GA_2669.CentOS6_64) The ADMIN EMAIL ADDRESS created (admin@mailserver.bbfgroup.com) <nowiki>Notify Zimbra of your installation? [Yes] </nowiki>'''no''' Notification skipped Starting servers...done. Installing common zimlets... com_zimbra_bulkprovision...done. com_zimbra_phone...done. com_zimbra_attachmail...done. com_zimbra_linkedin...done. com_zimbra_srchhighlighter...done. com_zimbra_attachcontacts...done. com_zimbra_adminversioncheck...done. com_zimbra_url...done. com_zimbra_cert_manager...done. com_zimbra_date...done. com_zimbra_email...done. com_zimbra_webex...done. com_zimbra_dnd...done. com_zimbra_social...done. Finished installing common zimlets. Restarting mailboxd...done. Setting up zimbra crontab...done. Moving /tmp/zmsetup.04042011-131235.log to /opt/zimbra/log Configuration complete - press return to exit When Configuration complete! appears, the installation is finished and the server has been started. To verify that the server is running: ''<nowiki># su - zimbra</nowiki>'' ''$ zmcontrol status'' Host mailserver2.bbfgroup.com convertd Running logger Running mailbox Running snmp Running spell Running stats Running '''Restrict Users to send e-mail only in Local Domain:''' # This type of customization is performed on postfix level. On mailserver.bbfgroup.com login as as root user and then switch to zimbra user: ''<nowiki># su - zimbra</nowiki>'' # Edit ''/opt/zimbra/conf/postfix_recipient_restrictions.cf ''and add following restriction rule on top of the file: check_sender_access hash:/opt/zimbra/postfix/conf/bbfgroup_restricted_users # Edit ''/opt/zimbra/conf/zmmta.cf'' and add following line at the end of '''"SECTION mta DEPENDS amavis"''' just before '''"RESTART mta"''': POSTCONF smtpd_restriction_classes local_bbfgroup_only POSTCONF local_bbfgroup_only FILE postfix_check_recipient_access.cf # Create a new file /''opt/zimbra/conf/postfix_check_recipient_access.cf ''and add following line: check_recipient_access hash:/opt/zimbra/postfix/conf/local_bbfgroup_domains, reject # Create a new file ''/opt/zimbra/postfix/conf/bbfgroup_restricted_users'' and add user with the pre-defined format: apcups1@bbfgroup.comlocal_bbfgroup_only apcups2@bbfgroup.comlocal_bbfgroup_only # Create a new file ''/opt/zimbra/postfix/conf/local_bbfgroup_domains'' and list all the domains where '''''bbfgroup_restricted_users '''''allowed to sent mails. Please follow this syntax : bbfgroup.comOK # Update new posfix configuration files using these commands and restart zimbra MTA: ''$ postmap /opt/zimbra/postfix/conf/bbfgroup_restricted_users'' ''$ postmap /opt/zimbra/postfix/conf/local_bbfgroup_domains'' ''$ zmmtactl stop'' ''$ zmmtactl start'' After applying these setting, all of restricted user will have limited access for sending an email and they will allowed only to sending an e-mail to bbfgroup domain only as listed on file ''/opt/zimbra/postfix/conf/local_bbfgroup_domains'' Note : 1. These setting will must be re-written after upgrading Zimbra 2. To restore restricted user access so they could sending for various domain, please : Remove any added configuration on zmmta.cf and make sure that the restriction setting will applied to blank account. Run this command : postconf -e smtpd_restriction_classes and zmmtactl reload to restore the setting. Reference: Zimbra: http://www.zimbra.com Zimbra Documentation: http://www.zimbra.com/community/documentation.html Zimbra Wiki: http://wiki.zimbra.com Zimbra GUI Mail Training: https://my.uwsa.edu/helpdesk/Zimbra/Email/ Zimbra CLI commands: http://wiki.zimbra.com/wiki/Zmprov_Examples http://wiki.zimbra.com/index.php?title=Zmprov http://www.zimbra.com/docs/ne/4.5.10/administration_guide/A_app-command-line.14.2.html#1153803 Mail sending restriction: http://vavai.net/2008/11/zimbra-tips-how-to-restricted-user-to-sending-email-for-specified-domain-only Heera Singh Koranga Tetra Information Service
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)