This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docpublic:systemes:mailzimbra [2015/11/08 09:36] procacci@tem-tsp.eu [stop postfix] |
docpublic:systemes:mailzimbra [2015/11/08 20:13] (current) procacci@tem-tsp.eu [status] |
||
---|---|---|---|
Line 98: | Line 98: | ||
zcs-8.6.0_GA_1153.RHEL7_64.20141215151110/ | zcs-8.6.0_GA_1153.RHEL7_64.20141215151110/ | ||
zcs-8.6.0_GA_1153.RHEL7_64.20141215151110/ | zcs-8.6.0_GA_1153.RHEL7_64.20141215151110/ | ||
+ | |||
+ | |||
+ | [root@zmaild opt]# cd zcs-8.6.0_GA_1153.RHEL7_64.20141215151110/ | ||
+ | [root@zmaild zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# | ||
+ | bin data docs install.sh | ||
+ | </ | ||
+ | |||
+ | ==== install ==== | ||
+ | |||
+ | < | ||
+ | [root@zmaild zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# | ||
+ | |||
+ | Operations logged to / | ||
+ | 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 | ||
+ | |||
+ | License agreement ... Y | ||
+ | |||
+ | Checking for prerequisites... | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Checking for suggested prerequisites... | ||
+ | | ||
+ | | ||
+ | | ||
+ | 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] | ||
+ | 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] Y | ||
+ | |||
+ | Install zimbra-proxy [Y] Y | ||
+ | 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 | ||
+ | zimbra-memcached | ||
+ | zimbra-proxy | ||
+ | |||
+ | The system will be modified. | ||
+ | Removing /opt/zimbra | ||
+ | Removing zimbra crontab entry...done. | ||
+ | Cleaning up zimbra init scripts...done. | ||
+ | Cleaning up / | ||
+ | Cleaning up / | ||
+ | |||
+ | 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-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 | ||
+ | zimbra-memcached......zimbra-memcached-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done | ||
+ | zimbra-proxy......zimbra-proxy-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done | ||
+ | Operations logged to / | ||
+ | Installing LDAP configuration database...done. | ||
+ | Setting defaults...sh: | ||
+ | No results returned for A lookup of zmaild.proc.fr | ||
+ | Checked nameservers: | ||
+ | 208.67.222.222 | ||
+ | 208.67.220.220 | ||
+ | 2a01: | ||
+ | 2a01: | ||
+ | No results returned for AAAA lookup of zmaild.proc.fr | ||
+ | Checked nameservers: | ||
+ | 208.67.222.222 | ||
+ | 208.67.220.220 | ||
+ | 2a01: | ||
+ | 2a01: | ||
+ | |||
+ | |||
+ | DNS ERROR resolving zmaild.proc.fr | ||
+ | It is suggested that the hostname be resolvable via DNS | ||
+ | Change hostname [Yes] no | ||
+ | |||
+ | |||
+ | DNS ERROR resolving MX for zmaild.proc.fr | ||
+ | It is suggested that the domain name have an MX record configured in DNS | ||
+ | Change domain name? [Yes] no | ||
+ | done. | ||
+ | Checking for port conflicts | ||
+ | sh: netstat : commande introuvable | ||
+ | |||
+ | Main menu | ||
+ | |||
+ | 1) Common Configuration: | ||
+ | 2) zimbra-ldap: | ||
+ | 3) zimbra-logger: | ||
+ | 4) zimbra-mta: | ||
+ | 5) zimbra-snmp: | ||
+ | 6) zimbra-store: | ||
+ | +Create Admin User: yes | ||
+ | +Admin user to create: | ||
+ | ******* +Admin Password | ||
+ | +Anti-virus quarantine user: | ||
+ | +Enable automated spam training: | ||
+ | +Spam training user: | ||
+ | +Non-spam(Ham) training user: ham.yplts6hp8@zmaild.proc.fr | ||
+ | +SMTP host: zmaild.proc.fr | ||
+ | +Web server HTTP port: | ||
+ | +Web server HTTPS port: 8443 | ||
+ | +Web server mode: https | ||
+ | +IMAP server port: | ||
+ | +IMAP server SSL port: | ||
+ | +POP server port: 7110 | ||
+ | +POP server SSL port: 7995 | ||
+ | +Use spell check server: | ||
+ | +Spell server URL: | ||
+ | +Enable version update checks: | ||
+ | +Enable version update notifications: | ||
+ | +Version update notification email: | ||
+ | +Version update source email: | ||
+ | +Install mailstore (service webapp): | ||
+ | +Install UI (zimbra, | ||
+ | |||
+ | 7) zimbra-spell: | ||
+ | 8) zimbra-proxy: | ||
+ | 9) Default Class of Service Configuration: | ||
+ | s) Save config to file | ||
+ | x) Expand menu | ||
+ | q) Quit | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== configure admin password ==== | ||
+ | |||
+ | < | ||
+ | Address unconfigured (**) items (? - help) 6 | ||
+ | |||
+ | |||
+ | Store configuration | ||
+ | |||
+ | 1) Status: | ||
+ | 2) Create Admin User: | ||
+ | 3) Admin user to create: | ||
+ | ** 4) Admin Password | ||
+ | 5) Anti-virus quarantine user: virus-quarantine.olhc_cdc@zmaild.proc.fr | ||
+ | 6) Enable automated spam training: | ||
+ | 7) Spam training user: spam.h9ujrqic@zmaild.proc.fr | ||
+ | 8) Non-spam(Ham) training user: | ||
+ | 9) SMTP host: | ||
+ | 10) Web server HTTP port: 8080 | ||
+ | 11) Web server HTTPS port: | ||
+ | 12) Web server mode: | ||
+ | 13) IMAP server port: 7143 | ||
+ | 14) IMAP server SSL port: 7993 | ||
+ | 15) POP server port: | ||
+ | 16) POP server SSL port: | ||
+ | 17) Use spell check server: | ||
+ | 18) Spell server URL: http:// | ||
+ | 19) Enable version update checks: | ||
+ | 20) Enable version update notifications: | ||
+ | 21) Version update notification email: | ||
+ | 22) Version update source email: | ||
+ | 23) Install mailstore (service webapp): | ||
+ | 24) Install UI (zimbra, | ||
+ | | ||
+ | Select, or ' | ||
+ | |||
+ | Password for admin@zmaild.proc.fr (min 6 characters): | ||
+ | |||
+ | </ | ||
+ | |||
+ | < | ||
+ | Select, or ' | ||
+ | |||
+ | Main menu | ||
+ | |||
+ | 1) Common Configuration: | ||
+ | 2) zimbra-ldap: | ||
+ | 3) zimbra-logger: | ||
+ | 4) zimbra-mta: | ||
+ | 5) zimbra-snmp: | ||
+ | 6) zimbra-store: | ||
+ | 7) zimbra-spell: | ||
+ | 8) zimbra-proxy: | ||
+ | 9) Default Class of Service Configuration: | ||
+ | s) Save config to file | ||
+ | x) Expand menu | ||
+ | q) Quit | ||
+ | |||
+ | |||
+ | *** CONFIGURATION COMPLETE - press ' | ||
+ | Select from menu, or press ' | ||
+ | Save configuration data to a file? [Yes] Yes | ||
+ | Save config in file: [/ | ||
+ | Saving config in / | ||
+ | The system will be modified - continue? [No] yes | ||
+ | Operations logged to / | ||
+ | Setting local config values... | ||
+ | Initializing core config...Setting up CA...done. | ||
+ | Deploying CA to / | ||
+ | Creating SSL zimbra-store certificate...done. | ||
+ | Creating new zimbra-ldap SSL certificate...done. | ||
+ | Creating new zimbra-mta SSL certificate...done. | ||
+ | Creating new zimbra-proxy SSL certificate...done. | ||
+ | Installing mailboxd SSL certificates...done. | ||
+ | Installing MTA SSL certificates...done. | ||
+ | Installing LDAP SSL certificate...done. | ||
+ | Installing Proxy 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 | ||
+ | Creating server entry for zmaild.proc.fr...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 zmaild.proc.fr...done. | ||
+ | Setting zimbraFeatureTasksEnabled=TRUE...done. | ||
+ | Setting zimbraFeatureBriefcasesEnabled=TRUE...done. | ||
+ | Setting TimeZone Preference...done. | ||
+ | Initializing mta config...done. | ||
+ | Setting services on zmaild.proc.fr...done. | ||
+ | Adding zmaild.proc.fr to zimbraMailHostPool in default COS...done. | ||
+ | Creating domain zmaild.proc.fr...done. | ||
+ | Setting default domain name...done. | ||
+ | Creating domain zmaild.proc.fr...already exists. | ||
+ | Creating admin account admin@zmaild.proc.fr...done. | ||
+ | Creating root alias...done. | ||
+ | Creating postmaster alias...done. | ||
+ | Creating user spam.h9ujrqic@zmaild.proc.fr...done. | ||
+ | Creating user ham.yplts6hp8@zmaild.proc.fr...done. | ||
+ | Creating user virus-quarantine.olhc_cdc@zmaild.proc.fr...done. | ||
+ | Setting spam training and Anti-virus quarantine accounts...done. | ||
+ | Initializing store sql database...done. | ||
+ | Setting zimbraSmtpHostname for zmaild.proc.fr...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@zmaild.proc.fr) | ||
+ | |||
+ | Notify Zimbra of your installation? | ||
+ | Notification skipped | ||
+ | Setting up zimbra crontab...done. | ||
+ | |||
+ | |||
+ | Moving / | ||
+ | |||
+ | Configuration complete - press return to exit | ||
+ | |||
+ | [root@zmaild zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Firewall et redirection Ports ==== | ||
+ | |||
+ | si le serveur zimbra est derriere une box ou autre firewall faisant du NAT il faut rediriger les ports : | ||
+ | 22, | ||
+ | |||
+ | parfois il n'est pas evident de fermer a des subnet sur une box, on peux alors le faire directement sur le serveur avec des regles plus riches, exemple ici pour fermer l' | ||
+ | |||
+ | < | ||
+ | [root@zmaild ~]# firewall-cmd --permanent --add-rich-rule 'rule family=" | ||
+ | [root@zmaild ~]# firewall-cmd --reload | ||
+ | success | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== status ==== | ||
+ | |||
+ | < | ||
+ | [root@zmaild log]# su - zimbra | ||
+ | Dernière connexion : dimanche | ||
+ | [zimbra@zmaild ~]$ / | ||
+ | Host zmaild.proc.fr | ||
+ | amavis | ||
+ | antispam | ||
+ | antivirus | ||
+ | ldap Running | ||
+ | logger | ||
+ | mailbox | ||
+ | memcached | ||
+ | mta | ||
+ | opendkim | ||
+ | proxy | ||
+ | service webapp | ||
+ | snmp Running | ||
+ | spell | ||
+ | stats | ||
+ | zimbra webapp | ||
+ | zimbraAdmin webapp | ||
+ | zimlet webapp | ||
+ | zmconfigd | ||
+ | zmconfigd is not running. | ||
+ | </ | ||
+ | |||
+ | ==== zmconfigd problem cf bugreport ==== | ||
+ | |||
+ | comment out ipv6 ::1 in /etc/hosts | ||
+ | |||
+ | * https:// | ||
+ | * http:// | ||
+ | < | ||
+ | [zimbra@zmaild log]$ / | ||
+ | Host zmaild.proc.fr | ||
+ | Stopping vmware-ha...skipped. | ||
+ | / | ||
+ | Stopping zmconfigd...Done. | ||
+ | Stopping zimlet webapp...Done. | ||
+ | Stopping zimbraAdmin webapp...Done. | ||
+ | Stopping zimbra webapp...Done. | ||
+ | Stopping service webapp...Done. | ||
+ | Stopping stats...Done. | ||
+ | Stopping mta...Done. | ||
+ | Stopping spell...Done. | ||
+ | Stopping snmp...Done. | ||
+ | Stopping cbpolicyd...Done. | ||
+ | Stopping archiving...Done. | ||
+ | Stopping opendkim...Done. | ||
+ | Stopping amavis...Done. | ||
+ | Stopping antivirus...Done. | ||
+ | Stopping antispam...Done. | ||
+ | Stopping proxy...Done. | ||
+ | Stopping memcached...Done. | ||
+ | Stopping mailbox...Done. | ||
+ | Stopping logger...Done. | ||
+ | Stopping dnscache...Done. | ||
+ | Stopping ldap...Done. | ||
+ | |||
+ | |||
+ | [zimbra@zmaild log]$ / | ||
+ | Host zmaild.proc.fr | ||
+ | Starting ldap...Done. | ||
+ | Starting zmconfigd...Done. | ||
+ | Starting logger...Done. | ||
+ | Starting mailbox...Done. | ||
+ | Starting memcached...Done. | ||
+ | Starting proxy...Done. | ||
+ | Starting amavis...Done. | ||
+ | Starting antispam...Done. | ||
+ | Starting antivirus...Done. | ||
+ | Starting opendkim...Done. | ||
+ | Starting snmp...Done. | ||
+ | Starting spell...Done. | ||
+ | Starting mta...Done. | ||
+ | Starting stats...Done. | ||
+ | Starting service webapp...Done. | ||
+ | Starting zimbra webapp...Done. | ||
+ | Starting zimbraAdmin webapp...Done. | ||
+ | Starting zimlet webapp...Done. | ||
+ | |||
+ | |||
+ | [zimbra@zmaild log]$ / | ||
+ | Host zmaild.proc.fr | ||
+ | amavis | ||
+ | antispam | ||
+ | antivirus | ||
+ | ldap Running | ||
+ | logger | ||
+ | mailbox | ||
+ | memcached | ||
+ | mta | ||
+ | opendkim | ||
+ | proxy | ||
+ | service webapp | ||
+ | snmp Running | ||
+ | spell | ||
+ | stats | ||
+ | zimbra webapp | ||
+ | zimbraAdmin webapp | ||
+ | zimlet webapp | ||
+ | zmconfigd | ||
</ | </ |