Informations :
Dates
- Publish : : Monday 23 august 2010
- Modification : Wednesday 31 may 2023
- 1692 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 localhost
00210.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.tgz
002tar xvzf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz
003cd zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954
Puis lancer l'installation (option -u
pour desinstallater).
Script avec 122 lignes
001./install.sh
002Checking for existing installation...
003zimbra-drive...NOT FOUND
004zimbra-imapd...NOT FOUND
005zimbra-patch...NOT FOUND
006zimbra-mta-patch...NOT FOUND
007zimbra-proxy-patch...NOT FOUND
008zimbra-license-tools...NOT FOUND
009zimbra-license-extension...NOT FOUND
010zimbra-network-store...NOT FOUND
011zimbra-network-modules-ng...NOT FOUND
012zimbra-chat...NOT FOUND
013zimbra-talk...NOT FOUND
014zimbra-ldap...NOT FOUND
015zimbra-logger...NOT FOUND
016zimbra-mta...NOT FOUND
017zimbra-dnscache...NOT FOUND
018zimbra-snmp...NOT FOUND
019zimbra-store...NOT FOUND
020zimbra-apache...NOT FOUND
021zimbra-spell...NOT FOUND
022zimbra-convertd...NOT FOUND
023zimbra-memcached...NOT FOUND
024zimbra-proxy...NOT FOUND
025zimbra-archiving...NOT FOUND
026zimbra-core...NOT FOUND
027 028 029----------------------------------------------------------------------
030PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
031SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
032FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
033THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
034THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
035AGREEMENT, 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.html
039----------------------------------------------------------------------
040 041 042 043Do you agree with the terms of the software license agreement? [N] y
044 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 key
053 054Configuring package repository
055 056Checking for installable packages
057 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 install
077 078Install zimbra-ldap [Y]
079 080Install zimbra-logger [Y]
081 082Install zimbra-mta [Y]
083 084Install zimbra-dnscache [Y] n
085 086Install zimbra-snmp [Y]
087 088Install zimbra-store [Y]
089 090Install zimbra-apache [Y]
091 092Install zimbra-spell [Y]
093 094Install zimbra-memcached [Y] n
095 096Install zimbra-proxy [Y] n
097 098Install zimbra-drive [Y]
099 100Install zimbra-imapd (BETA - for evaluation only) [N]
101 102Install zimbra-chat [Y]
103Checking required space for zimbra-core
104Checking space for zimbra-store
105Checking required packages for zimbra-store
106zimbra-store package check complete.
107 108Installing:
109zimbra-core
110zimbra-ldap
111zimbra-logger
112zimbra-mta
113zimbra-snmp
114zimbra-store
115zimbra-apache
116zimbra-spell
117zimbra-drive
118zimbra-patch
119zimbra-mta-patch
120zimbra-chat
121 122The system will be modified. Continue? [N] y
L'installation se déroule
Script avec 16 lignes
001Installing packages
002[.....]
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.com
009MX: smtp.zw3b.eu (10.10.0.1)
010 011Interface: 127.0.0.1
012Interface: ::1
013Interface: 10.10.0.1
014015
done.
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: FALSE
002+Configure for use with web proxy: FALSE
Par default :
Script avec 2 lignes
001+Configure for use with mail proxy: TRUE
002+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 menu
0021) Common Configuration:
0032) zimbra-ldap: Enabled
0043) zimbra-store: Enabled
005+Create Admin User: yes
006+Admin user to create: admin@domaine.com
007+Admin Password UNSET
008+Enable automated spam training: yes
009+Spam training user: spam.hrmabpvwwp@domaine.com
010+Non-spam(Ham) training user: ham.3psk_dcg@domaine.com
011+Global Documents Account: wiki@domaine.com
012+SMTP host: domaine.com
013+Web server HTTP port: 80
014+Web server HTTPS port: 443
015+Web server mode: https
016+IMAP server port: 143
017+IMAP server SSL port: 993
018+POP server port: 110
019+POP server SSL port: 995
020+Use spell check server: yes
021+Spell server URL: http://domaine.com:7780/aspell.php
022+Configure for use with mail proxy: FALSE
023+Configure for use with web proxy: FALSE
024+Enable version update checks: TRUE
025+Enable version update notifications: TRUE
026+Version update notification email: admin@domaine.com
027+Version update source email: admin@domaine.com
0284) zimbra-mta: Enabled
0295) zimbra-snmp: Enabled
0306) zimbra-logger: Enabled
0317) zimbra-spell: Enabled
032Default Class of Service Configuration:
033r) Start servers after configuration yes
034s) Save config to file x) Expand menu
035q) Quit Address unconfigured (**) items (? - help) 3
036Presser la touche [4] Admin Password
0371) Status: Enabled
0382) Create Admin User: yes
0393) Admin user to create: admin@domaine.com
0404) Admin Password UNSET
0415) Enable automated spam training: yes
0426) Spam training user: spam.hrmabpvwwp@domaine.com
0437) Non-spam(Ham) training user: ham.3psk_dcg@domaine.com
0448) Global Documents Account: wiki@domaine.com
0459) SMTP host: domaine.com
04610) Web server HTTP port: 80
04711) Web server HTTPS port: 443
04812) Web server mode: http
04913) IMAP server port: 143
05014) IMAP server SSL port: 993
05115) POP server port: 110
05216) POP server SSL port: 995
05317) Use spell check server: yes
05418) Spell server URL: http://domaine.com:7780/aspell.php
05519) Configure for use with mail proxy: FALSE
05620) Configure for use with web proxy: FALSE
05721) Enable version update checks: TRUE
05822) Enable version update notifications: TRUE
05923) Version update notification email: admin@domaine.com
06024) Version update source email: admin@domaine.com
061Select, or 'r' for previous menu [r] 4
062Saisir le mot de passe et appuyer sur [Entrée] pour valider
063Password for admin@domaine.dom (min 6 characters): [MNVGHOwaHK8] motdepasse
064Revenir 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 apply
002Select from menu, or press 'a' to apply config (? - help) a
003Save configuration data to a file? [Yes] Yes
004Save 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.log
002Setting 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] Yes
052Presser [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.com
054Notification 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 - zimbra
002cd 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/