Informations :
Dates
- Publish : : Monday 23 august 2010
- Modification : Wednesday 31 may 2023
- 3536 views
Share :
Zimbra Collaboration Suite (ZCS) est une suite de logiciels de collaboration, qui comprend un serveur de messagerie et un client Web.
Le logiciel se compose d'une partie serveur et cliente ainsi que d'un client de messagerie. Deux versions de Zimbra sont disponibles : une version open-source, et une version supportée commercialement (Network Edition) avec des composants logiciels propriétaires tels que les Exchanges Web Services.
- WikipediA : Zimbra
Ajout des paquets recommandés
Script avec 1 ligne
001apt install libidn11 libpcre3 libgmp3-dev libexpat1 libstdc++5 libstdc++6 libperl5i-perl libltdl7 sudo sysstat openssh-server ntp fetchmail arj cabextract lhasa lzop nomarch tnef unrar libssl-dev libio-socket-ssl-perl libnet-https-any-perl libxml2-dev zlib1g-dev libxml-simple-perl
Configurer l'hôte
Vérifiez dans /etc/hosts que le nom pleinement qualifié (FQDN) apparaisse en premier après les adresses LOOP :
Script avec 2 lignes
001127.0.0.1 localhost.localdomain localhost00210.10.0.1 mail.domain.com mail
Installer le serveur mail Zimbra (MTA)
Allez sur Zimbra Collaboration Open Source : Download et vérifiez la version courante, à remplacer ci-dessous :
Script avec 3 lignes
001wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz002tar xvzf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz003cd zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954
Puis lancer l'installation (option -u pour desinstallater).
Script avec 122 lignes
001./install.sh002Checking for existing installation...003zimbra-drive...NOT FOUND004zimbra-imapd...NOT FOUND005zimbra-patch...NOT FOUND006zimbra-mta-patch...NOT FOUND007zimbra-proxy-patch...NOT FOUND008zimbra-license-tools...NOT FOUND009zimbra-license-extension...NOT FOUND010zimbra-network-store...NOT FOUND011zimbra-network-modules-ng...NOT FOUND012zimbra-chat...NOT FOUND013zimbra-talk...NOT FOUND014zimbra-ldap...NOT FOUND015zimbra-logger...NOT FOUND016zimbra-mta...NOT FOUND017zimbra-dnscache...NOT FOUND018zimbra-snmp...NOT FOUND019zimbra-store...NOT FOUND020zimbra-apache...NOT FOUND021zimbra-spell...NOT FOUND022zimbra-convertd...NOT FOUND023zimbra-memcached...NOT FOUND024zimbra-proxy...NOT FOUND025zimbra-archiving...NOT FOUND026zimbra-core...NOT FOUND027 028 029----------------------------------------------------------------------030PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.031SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU032FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING033THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY034THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS035AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.036 037License Terms for this Zimbra Collaboration Suite Software:038https://www.zimbra.com/license/zimbra-public-eula-2-6.html039----------------------------------------------------------------------040 041 042 043Do you agree with the terms of the software license agreement? [N] y044 045 046 047 048 049Use Zimbra's package repository [Y]050 051Warning: apt-key output should not be parsed (stdout is not a terminal)052Importing Zimbra GPG key053 054Configuring package repository055 056Checking for installable packages057 058Found zimbra-core (local)059Found zimbra-ldap (local)060Found zimbra-logger (local)061Found zimbra-mta (local)062Found zimbra-dnscache (local)063Found zimbra-snmp (local)064Found zimbra-store (local)065Found zimbra-apache (local)066Found zimbra-spell (local)067Found zimbra-memcached (repo)068Found zimbra-proxy (local)069Found zimbra-drive (repo)070Found zimbra-imapd (local)071Found zimbra-patch (repo)072Found zimbra-mta-patch (repo)073Found zimbra-proxy-patch (repo)074 075 076Select the packages to install077 078Install zimbra-ldap [Y]079 080Install zimbra-logger [Y]081 082Install zimbra-mta [Y]083 084Install zimbra-dnscache [Y] n085 086Install zimbra-snmp [Y]087 088Install zimbra-store [Y]089 090Install zimbra-apache [Y]091 092Install zimbra-spell [Y]093 094Install zimbra-memcached [Y] n095 096Install zimbra-proxy [Y] n097 098Install zimbra-drive [Y]099 100Install zimbra-imapd (BETA - for evaluation only) [N]101 102Install zimbra-chat [Y]103Checking required space for zimbra-core104Checking space for zimbra-store105Checking required packages for zimbra-store106zimbra-store package check complete.107 108Installing:109zimbra-core110zimbra-ldap111zimbra-logger112zimbra-mta113zimbra-snmp114zimbra-store115zimbra-apache116zimbra-spell117zimbra-drive118zimbra-patch119zimbra-mta-patch120zimbra-chat121 122The system will be modified. Continue? [N] y
L'installation se déroule
Script avec 16 lignes
001Installing packages002[.....]003Installing LDAP configuration database...done.004Setting defaults...005MX: mail.domaine.dom (10.10.0.1)006 007Change domain name? [Yes]008Create domain: [mail.domaine.com] domaine.com009MX: smtp.zw3b.eu (10.10.0.1)010 011Interface: 127.0.0.1012Interface: ::1013Interface: 10.10.0.1014015done.016Checking for port conflicts
Ci-dessous j'ai désactivé les proxy Web et mail - je les gère moi-même (sur mon proxy global) et j'ai changé les ports, donc - Essayez par default si vous n'êtes pas habitué au serveur MTA Zimbra - Si vous installez sur une machine "frontale".
Script avec 2 lignes
001+Configure for use with mail proxy: FALSE002+Configure for use with web proxy: FALSE
Par default :
Script avec 2 lignes
001+Configure for use with mail proxy: TRUE002+Configure for use with web proxy: TRUE
Une fois l'installation déroulée, une première configuration en mode console est nécessaire. Il faut définir le mot de passe d'administration. Appuyer sur la touche [3], un sous menu va apparaître.
Script avec 65 lignes
001Main menu0021) Common Configuration:0032) zimbra-ldap: Enabled0043) zimbra-store: Enabled005+Create Admin User: yes006+Admin user to create: admin@domaine.com007+Admin Password UNSET008+Enable automated spam training: yes009+Spam training user: spam.hrmabpvwwp@domaine.com010+Non-spam(Ham) training user: ham.3psk_dcg@domaine.com011+Global Documents Account: wiki@domaine.com012+SMTP host: domaine.com013+Web server HTTP port: 80014+Web server HTTPS port: 443015+Web server mode: https016+IMAP server port: 143017+IMAP server SSL port: 993018+POP server port: 110019+POP server SSL port: 995020+Use spell check server: yes021+Spell server URL: http://domaine.com:7780/aspell.php022+Configure for use with mail proxy: FALSE023+Configure for use with web proxy: FALSE024+Enable version update checks: TRUE025+Enable version update notifications: TRUE026+Version update notification email: admin@domaine.com027+Version update source email: admin@domaine.com0284) zimbra-mta: Enabled0295) zimbra-snmp: Enabled0306) zimbra-logger: Enabled0317) zimbra-spell: Enabled032Default Class of Service Configuration:033r) Start servers after configuration yes034s) Save config to file x) Expand menu035q) Quit Address unconfigured (**) items (? - help) 3036Presser la touche [4] Admin Password0371) Status: Enabled0382) Create Admin User: yes0393) Admin user to create: admin@domaine.com0404) Admin Password UNSET0415) Enable automated spam training: yes0426) Spam training user: spam.hrmabpvwwp@domaine.com0437) Non-spam(Ham) training user: ham.3psk_dcg@domaine.com0448) Global Documents Account: wiki@domaine.com0459) SMTP host: domaine.com04610) Web server HTTP port: 8004711) Web server HTTPS port: 44304812) Web server mode: http04913) IMAP server port: 14305014) IMAP server SSL port: 99305115) POP server port: 11005216) POP server SSL port: 99505317) Use spell check server: yes05418) Spell server URL: http://domaine.com:7780/aspell.php05519) Configure for use with mail proxy: FALSE05620) Configure for use with web proxy: FALSE05721) Enable version update checks: TRUE05822) Enable version update notifications: TRUE05923) Version update notification email: admin@domaine.com06024) Version update source email: admin@domaine.com061Select, or 'r' for previous menu [r] 4062Saisir le mot de passe et appuyer sur [Entrée] pour valider063Password for admin@domaine.dom (min 6 characters): [MNVGHOwaHK8] motdepasse064Revenir au menu précédent en appuyant sur [r]065Select, or 'r' for previous menu [r] r
Pour valider la configuration et finir l'installation, appuyer sur [a] puis taper [yes] deux fois
Script avec 6 lignes
001*** CONFIGURATION COMPLETE - press 'a' to apply002Select from menu, or press 'a' to apply config (? - help) a003Save configuration data to a file? [Yes] Yes004Save config in file: [/opt/zimbra/config.24175]005Saving config in /opt/zimbra/config.24175...done.006The system will be modified - continue? [No] yes
La configuration se déroule et saisir [yes] pour recevoir une notification d'installation.
Script avec 68 lignes
001Operations logged to /tmp/zmsetup.02042010-120719.log002Setting local config values...done.003Setting up CA...done.004Deploying CA to /opt/zimbra/conf/ca ...done.005Creating SSL certificate...done.006Installing mailboxd SSL certificates...done.007Initializing ldap...done.008Setting replication password...done.009Setting Postfix password...done.010Setting amavis password...done.011Setting nginx password...done.Creating server entry for domaine.com...done.012Saving CA in ldap ...done.Saving SSL Certificate in ldap ...done.013Setting spell check URL...done.Setting service ports on domaine.com...done.014Adding domaine.com to zimbraMailHostPool in default COS...done.Installing webclient skins...015bare...done. lemongrass...done. hotrod...done.016steel...done. bones...done. yahoo...done.017smoke...done. lavender...done. zmail...done.018beach...done. goldrush...done. sand...done.019waves...done. sky...done.020Finished installing webclient skins.021Setting zimbraFeatureIMEnabled=FALSE...done.022Setting zimbraFeatureTasksEnabled=TRUE...done.023Setting zimbraFeatureBriefcasesEnabled=TRUE...done.024Setting zimbraFeatureNotebookEnabled=TRUE...done.025Setting MTA auth host...done.026Setting TimeZone Preference...done.027Initializing mta config...done.028Setting services on domaine.com...done.029Creating domain domaine.com...done.030Setting default domain name...done.031Creating domain domaine.com...already exists.032Creating admin account admin@domaine.com...done.033Creating root alias...done.034Creating postmaster alias...done.035Creating user wiki@domaine.com...done.036Creating user spam.hrmabpvwwp@domaine.com...done.037Creating user ham.3psk_dcg@domaine.com...done.038Setting spam training accounts...done.039Initializing store sql database...done.040Setting zimbraSmtpHostname for domaine.dom...done.041Configuring SNMP...done.042Checking for default IM conference room...not present.043Initializing default IM conference room...done.044Setting up syslog.conf...updateSyslog: Updating /etc/rsyslog.conf....done.045done.046You have the option of notifying Zimbra of your installation.047This helps us to track the uptake of the Zimbra Collaboration Suite.048The only information that will be transmitted is:049The VERSION of zcs installed (6.0.5_GA_2038_DEBIAN5_32)050The ADMIN EMAIL ADDRESS created (admin@domaine.com)051Notify Zimbra of your installation? [Yes] Yes052Presser [Entrée] pour finir.053Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=6.0.5_GA_2038_DEBIAN5_32&MAIL=admin@domaine.com054Notification completeStarting servers...done.Installing common zimlets...055com_zimbra_cert_manager...done.056com_zimbra_email...done.057com_zimbra_ymemoticons...done.058com_zimbra_url...done.059com_zimbra_phone...done.060com_zimbra_local...done.061com_zimbra_bulkprovision...done.062com_zimbra_date...done.063com_zimbra_adminversioncheck...done.064Finished installing common zimlets.065Initializing Documents...done.066Restarting mailboxd...done.067Setting up zimbra crontab...done.068Moving /tmp/zmsetup.02042010-120719.log to /opt/zimbra/logConfiguration complete - press return to exit
Ajout de Zimlets
Par défaut, Zimbra n'installe que quelques Zimlets de base. Pour en rajouter, tapez :
Ci dessous, cela doit être obsèlete - Doc : http://docs.zimbra.com/docs/os/6.0.10/administration_guide/Zimlets.11.4.html
Script avec 3 lignes
001su - zimbra002cd zimlets-extra (ou zimlets-experimental)003csh foreach i (*) zmzimletctl deploy $i end
Finalisation
Tout le reste se configure via l'interface d'administration, à https://hostname:7071/



