Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docpublic:systemes:mailzimbra [2015/11/08 11:58]
127.0.0.1 external edit
docpublic:systemes:mailzimbra [2015/11/08 20:13] (current)
procacci@tem-tsp.eu [status]
Line 292: Line 292:
 </code> </code>
  
 +==== configure admin password ====
 +
 +<code>
 +Address unconfigured (**) items  (? - help) 6
 +
 +
 +Store configuration
 +
 +   1) Status:                                  Enabled                       
 +   2) Create Admin User:                       yes                           
 +   3) Admin user to create:                    admin@zmaild.proc.fr     
 +** 4) Admin Password                           UNSET                         
 +   5) Anti-virus quarantine user:              virus-quarantine.olhc_cdc@zmaild.proc.fr
 +   6) Enable automated spam training:          yes                           
 +   7) Spam training user:                      spam.h9ujrqic@zmaild.proc.fr
 +   8) Non-spam(Ham) training user:             ham.yplts6hp8@zmaild.proc.fr
 +   9) SMTP host:                               zmaild.proc.fr           
 +  10) Web server HTTP port:                    8080                          
 +  11) Web server HTTPS port:                   8443                          
 +  12) Web server mode:                         https                         
 +  13) IMAP server port:                        7143                          
 +  14) IMAP server SSL port:                    7993                          
 +  15) POP server port:                         7110                          
 +  16) POP server SSL port:                     7995                          
 +  17) Use spell check server:                  yes                           
 +  18) Spell server URL:                        http://zmaild.proc.fr:7780/aspell.php
 +  19) Enable version update checks:            TRUE                          
 +  20) Enable version update notifications:     TRUE                          
 +  21) Version update notification email:       admin@zmaild.proc.fr     
 +  22) Version update source email:             admin@zmaild.proc.fr     
 +  23) Install mailstore (service webapp):      yes                           
 +  24) Install UI (zimbra,zimbraAdmin webapps): yes  
 +  
 +  Select, or 'r' for previous menu [r] 4
 +
 +Password for admin@zmaild.proc.fr (min 6 characters): [VlXsTVg67] positionner Un mot de passe Admin Zimbra d
 +                         
 +</code>
 +
 +<code>
 +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) zimbra-proxy:                            Enabled                       
 +   9) 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] Yes
 +Save config in file: [/opt/zimbra/config.11651] 
 +Saving config in /opt/zimbra/config.11651...done.
 +The system will be modified - continue? [No] yes
 +Operations logged to /tmp/zmsetup11082015-104812.log
 +Setting local config values...
 +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.
 +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  password...done.
 +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? [Yes] no
 +Notification skipped
 +Setting up zimbra crontab...done.
 +
 +
 +Moving /tmp/zmsetup11082015-104812.log to /opt/zimbra/log
 +
 +Configuration complete - press return to exit 
 +
 +[root@zmaild zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# 
 +
 +
 +
 +</code>
 +
 +
 +==== Firewall et redirection Ports ====
 +
 +si le serveur zimbra est derriere une box ou autre firewall faisant du NAT il faut rediriger les ports : 
 +22,25,143,443,587,993,7071
 +
 +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'acces à la console d'admin uniquement a une IP source 
 +
 +<code>
 +[root@zmaild ~]# firewall-cmd --permanent --add-rich-rule 'rule family="ipv4" source address="90.27.26.111/32" port port=7071 protocol="tcp" log prefix="7071_box_90.27.26.111" accept'
 +[root@zmaild ~]# firewall-cmd --reload
 +success
 +
 +</code>
 +
 +==== status ====
 +
 +<code>
 +[root@zmaild log]# su - zimbra
 +Dernière connexion : dimanche  8 novembre 2015 à 15:08:59 CET sur pts/0
 +[zimbra@zmaild ~]$  /opt/zimbra/bin/zmcontrol status
 +Host zmaild.proc.fr
 + amavis                  Running
 + antispam                Running
 + antivirus               Running
 + ldap                    Running
 + logger                  Running
 + mailbox                 Running
 + memcached               Running
 + mta                     Running
 + opendkim                Running
 + proxy                   Running
 + service webapp          Running
 + snmp                    Running
 + spell                   Running
 + stats                   Running
 + zimbra webapp           Running
 + zimbraAdmin webapp      Running
 + zimlet webapp           Running
 + zmconfigd               Stopped
 + zmconfigd is not running.
 +</code>
 +
 +==== zmconfigd problem cf bugreport ====
 +
 +comment out ipv6 ::1 in /etc/hosts
 +
 +  * https://bugzilla.zimbra.com/show_bug.cgi?id=95204
 +  * http://community.zimbra.com/collaboration/f/1886/t/1092550
 +<code>
 +[zimbra@zmaild log]$  /opt/zimbra/bin/zmcontrol stop  
 +Host zmaild.proc.fr
 + Stopping vmware-ha...skipped.
 + /opt/zimbra/bin/zmhactl missing or not executable.
 + 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]$  /opt/zimbra/bin/zmcontrol start
 +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]$  /opt/zimbra/bin/zmcontrol status
 +Host zmaild.proc.fr
 + amavis                  Running
 + antispam                Running
 + antivirus               Running
 + ldap                    Running
 + logger                  Running
 + mailbox                 Running
 + memcached               Running
 + mta                     Running
 + opendkim                Running
 + proxy                   Running
 + service webapp          Running
 + snmp                    Running
 + spell                   Running
 + stats                   Running
 + zimbra webapp           Running
 + zimbraAdmin webapp      Running
 + zimlet webapp           Running
 + zmconfigd               Running
 +</code>
docpublic/systemes/mailzimbra.1446983906.txt.gz · Last modified: 2015/11/08 13:08 (external edit)
[unknown link type]Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0