Difference between revisions of "Basic zimbra configuration"
m |
m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Zimbra server configuration]] > [[Basic zimbra configuration]] | |||
==Installation== | ==Installation== | ||
#Zimbra setup can be downloaded from http://www.zimbra.com/downloads/os-downloads.html | #Zimbra setup can be downloaded from http://www.zimbra.com/downloads/os-downloads.html Steps mentioned below are specific to http://files2.zimbra.com/downloads/8.0.7_GA/zcs-8.0.7_GA_6021.RHEL6_64.20140408123911.tgz and may get changed slightly based on version being installed. | ||
#Verify md5sum and then extract download archive | #Verify md5sum and then extract download archive. | ||
#<tt>service sendmail stop</tt> | #Stop and disable any existing SMTP servers, if any, using: | ||
#<tt>chkconfig sendmail off</tt> | #*<tt>service sendmail stop</tt> | ||
#*<tt>chkconfig sendmail off</tt> | |||
#*<tt>service postfix stop</tt> | |||
#*<tt>chkconfig postfix off</tt> | |||
#Edit <tt>/etc/hosts</tt> | #Edit <tt>/etc/hosts</tt> | ||
##Ensure that it contains <tt>127.0.0.1 localhost.localdomain localhost</tt> and no other aliases for 127.0.0.1 | ##Ensure that it contains <tt>127.0.0.1 localhost.localdomain localhost</tt> and no other aliases for 127.0.0.1 | ||
##For machines ethernet / public IP it should contain FQDN, followed by hostname, followed by other aliases. For example <tt>10.3.3.241 zimbratest.iiit.ac.in zimbratest lab320-pc9 mfsmaster</tt> | ##For machines ethernet / public IP it should contain FQDN, followed by hostname, followed by other aliases. For example <tt>10.3.3.241 zimbratest.iiit.ac.in zimbratest lab320-pc9 mfsmaster</tt> | ||
#Create folder /opt/zimbra. Mount partitons/folder in which you want to install zimbra to /opt/zimbra. | #Ensure that DNS entry for FQDN resolves to machine's IP. Further MX record for email domain should resolve to Zimbra server FQDN directly or through CNAME. | ||
#Go to extracted folder and use '<tt>./install.sh | #Create folder /opt/zimbra. Mount partitons/folder in which you want to install zimbra to /opt/zimbra. This step is required only if you want all Zimbra files to go to separate partition and not to / or /opt. | ||
# | #Use '<tt>yum -y install nc libaio sysstat</tt>' to install required packages | ||
# | #Go to extracted folder and use '<tt>./install.sh</tt>' from root user | ||
# | #Enter 'Y' for agreeing with terms of service | ||
# | #Enter 'Y' for agreeing with license agreement | ||
# | #Enter 'Y' for installing Zimbra-ldap, Zimbra-logger, Zimbra-mta, Zimbra-snmp, Zimbra-store, Zimbra-apache and Zimbra spell | ||
#Enter 'N' for installing Zimbra-memcached and Zimbra-proxy | |||
#Enter 'Y' for system will be modified warning. The setup should now install various rpms for Zimbra. | |||
#If FQDN is different from domain name (eg FQDN zimbra.example.com, domain example.com) then Zimbra will give error that MX record cannot be resolved. Enter 'Yes' for change domain name. | |||
#Enter new correct domain name such as example.com | |||
#This would bring setup to Zimbra configuration menu. Only admin password needs to be configured rest all can be left as it is for basic setup. To configure admin password use menu option '3' followed by '4'. Set appropriate admin password. | |||
# | #Press 'r' to return to previous menu and then 'a' for applying configuration | ||
#Enter 'Yes' for saving configuration to a file | |||
#Press enter for file path option and continue with whatever file name has been suggested | |||
#Enter 'Yes' for system will be modified warning | |||
# | #Now setup should take really long time for various installations and configurations | ||
# | #Enter 'No' for notify Zimbra of installation for test machines. In case of production machines you can optionally enter 'Yes'. | ||
#Press return to exit on 'Press return to exit' message :) | |||
#Now zimbra admin interface can be accessed at https://<FQDN>:7071/ and mail can be checked using web interface at https://<FQDN>/ | |||
# | |||
# | |||
# | |||
Line 73: | Line 68: | ||
Note: | Note: | ||
*This does not seems to work for HTTPS port | *This does not seems to work for HTTPS port | ||
Line 120: | Line 75: | ||
If you want to store zimbra on mooseFS then storing entire /opt/zimbra on mooseFS will not work. Specially keeping /opt/zimbra/data on moosefs does not works. Hence directories /opt/zimbra/db, /opt/zimbra/index and /opt/zimbra/store can be shifted to other filesystems to preserve space / improve filesystem performance. | If you want to store zimbra on mooseFS then storing entire /opt/zimbra on mooseFS will not work. Specially keeping /opt/zimbra/data on moosefs does not works. Hence directories /opt/zimbra/db, /opt/zimbra/index and /opt/zimbra/store can be shifted to other filesystems to preserve space / improve filesystem performance. | ||
Line 126: | Line 80: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Zimbra server configuration]] > [[Basic zimbra configuration]] |
Latest revision as of 10:36, 14 July 2022
Home > CentOS > CentOS 6.x > Zimbra server configuration > Basic zimbra configuration
Installation
- Zimbra setup can be downloaded from http://www.zimbra.com/downloads/os-downloads.html Steps mentioned below are specific to http://files2.zimbra.com/downloads/8.0.7_GA/zcs-8.0.7_GA_6021.RHEL6_64.20140408123911.tgz and may get changed slightly based on version being installed.
- Verify md5sum and then extract download archive.
- Stop and disable any existing SMTP servers, if any, using:
- service sendmail stop
- chkconfig sendmail off
- service postfix stop
- chkconfig postfix off
- Edit /etc/hosts
- Ensure that it contains 127.0.0.1 localhost.localdomain localhost and no other aliases for 127.0.0.1
- For machines ethernet / public IP it should contain FQDN, followed by hostname, followed by other aliases. For example 10.3.3.241 zimbratest.iiit.ac.in zimbratest lab320-pc9 mfsmaster
- Ensure that DNS entry for FQDN resolves to machine's IP. Further MX record for email domain should resolve to Zimbra server FQDN directly or through CNAME.
- Create folder /opt/zimbra. Mount partitons/folder in which you want to install zimbra to /opt/zimbra. This step is required only if you want all Zimbra files to go to separate partition and not to / or /opt.
- Use 'yum -y install nc libaio sysstat' to install required packages
- Go to extracted folder and use './install.sh' from root user
- Enter 'Y' for agreeing with terms of service
- Enter 'Y' for agreeing with license agreement
- Enter 'Y' for installing Zimbra-ldap, Zimbra-logger, Zimbra-mta, Zimbra-snmp, Zimbra-store, Zimbra-apache and Zimbra spell
- Enter 'N' for installing Zimbra-memcached and Zimbra-proxy
- Enter 'Y' for system will be modified warning. The setup should now install various rpms for Zimbra.
- If FQDN is different from domain name (eg FQDN zimbra.example.com, domain example.com) then Zimbra will give error that MX record cannot be resolved. Enter 'Yes' for change domain name.
- Enter new correct domain name such as example.com
- This would bring setup to Zimbra configuration menu. Only admin password needs to be configured rest all can be left as it is for basic setup. To configure admin password use menu option '3' followed by '4'. Set appropriate admin password.
- Press 'r' to return to previous menu and then 'a' for applying configuration
- Enter 'Yes' for saving configuration to a file
- Press enter for file path option and continue with whatever file name has been suggested
- Enter 'Yes' for system will be modified warning
- Now setup should take really long time for various installations and configurations
- Enter 'No' for notify Zimbra of installation for test machines. In case of production machines you can optionally enter 'Yes'.
- Press return to exit on 'Press return to exit' message :)
- Now zimbra admin interface can be accessed at https://<FQDN>:7071/ and mail can be checked using web interface at https://<FQDN>/
Relaying mails through other MTA
If test system does not has access to internet then mails can be relayed through other MTA which has access to Internet (Similar to SMART_HOST for sendmail). To configure relay MTA
- Login in to zimbra administrative console at https://<IP>:7071/ with user admin
- Go to Configuration -> Global Settings -> MTA
- Set relay MTA for external delivery appropriately.
Stopping and starting zimbra
- Login as root
- Use 'su - zimbra'
- Use 'zmcontrol' command to check zimbra status, start or stop it.
Firewall configuration
Zimbra firewall configuration can be learned from http://wiki.zimbra.com/index.php?title=Firewall_Configuration
Changing Zimbra http port
We can change zimbra http port using:
- su - zimbra
- zmprov ms server.domain.tld zimbraMailPort <http_port> zimbraMailSSLPort <SSL_port>
- zmmailboxctld restart
Note:
- This does not seems to work for HTTPS port
Miscellaneous
If you want to store zimbra on mooseFS then storing entire /opt/zimbra on mooseFS will not work. Specially keeping /opt/zimbra/data on moosefs does not works. Hence directories /opt/zimbra/db, /opt/zimbra/index and /opt/zimbra/store can be shifted to other filesystems to preserve space / improve filesystem performance.
Tutorials and documentation related to zimbra are available at http://www.zimbra.com/downloads/os-downloads.html
Home > CentOS > CentOS 6.x > Zimbra server configuration > Basic zimbra configuration