Apache2, Pure-FTPd, VSFTPd, LDAP, Samba, Active Directory

 Charge moyenne sur 1mn : 0.04 Charge moyenne sur 5mn : 0.06 Charge moyenne sur 15mn : 0.07


How to configure a web server, FTP; a directory, a database; a mail server, the solutions ?





Site user blocks : Account info / user rights / summary

Installation de Zimbra

  • Installation de  Zimbra
Pré-requis : Privilégiez la RAM plutôt que la puissance CPU : minimum 4 GB, idéalement 6 ou 8. Configurez préalablement un serveur DNS

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.

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...
003    zimbra-drive...NOT FOUND
004    zimbra-imapd...NOT FOUND
005    zimbra-patch...NOT FOUND
006    zimbra-mta-patch...NOT FOUND
007    zimbra-proxy-patch...NOT FOUND
008    zimbra-license-tools...NOT FOUND
009    zimbra-license-extension...NOT FOUND
010    zimbra-network-store...NOT FOUND
011    zimbra-network-modules-ng...NOT FOUND
012    zimbra-chat...NOT FOUND
013    zimbra-talk...NOT FOUND
014    zimbra-ldap...NOT FOUND
015    zimbra-logger...NOT FOUND
016    zimbra-mta...NOT FOUND
017    zimbra-dnscache...NOT FOUND
018    zimbra-snmp...NOT FOUND
019    zimbra-store...NOT FOUND
020    zimbra-apache...NOT FOUND
021    zimbra-spell...NOT FOUND
022    zimbra-convertd...NOT FOUND
023    zimbra-memcached...NOT FOUND
024    zimbra-proxy...NOT FOUND
025    zimbra-archiving...NOT FOUND
026    zimbra-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:
109    zimbra-core
110    zimbra-ldap
111    zimbra-logger
112    zimbra-mta
113    zimbra-snmp
114    zimbra-store
115    zimbra-apache
116    zimbra-spell
117    zimbra-drive
118    zimbra-patch
119    zimbra-mta-patch
120    zimbra-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...     
005 MX: mail.domaine.dom (10.10.0.1) 
006
007Change domain name? [Yes]
008Create domain: [mail.domaine.com] domaine.com
009        MX: smtp.zw3b.eu (10.10.0.1)
010
011        Interface: 127.0.0.1
012        Interface: ::1
013        Interface: 10.10.0.1
014        
015done. 
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 
002 1) Common Configuration:
003 2) zimbra-ldap:                             Enabled
004 3) 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 
028 4) zimbra-mta:                              Enabled
029 5) zimbra-snmp:                             Enabled 
030 6) zimbra-logger:                           Enabled
031 7) zimbra-spell:                            Enabled
032Default Class of Service Configuration:
033 r) Start servers after configuration        yes  
034 s) Save config to file x) Expand menu
035 q) Quit Address unconfigured (**) items  (? - help) 3 
036Presser la touche [4] Admin Password
037 1) Status:                                  Enabled
038 2) Create Admin User:                       yes 
039 3) Admin user to create:                    admin@domaine.com
040 4) Admin Password                           UNSET 
041 5) Enable automated spam training:          yes
042 6) Spam training user:                      spam.hrmabpvwwp@domaine.com 
043 7) Non-spam(Ham) training user:             ham.3psk_dcg@domaine.com 
044 8) Global Documents Account:                wiki@domaine.com 
045 9) SMTP host:                               domaine.com
046 10) Web server HTTP port:                    80 
047 11) Web server HTTPS port:                   443
048 12) Web server mode:                         http 
049 13) IMAP server port:                        143
050 14) IMAP server SSL port:                    993 
051 15) POP server port:                         110
052 16) POP server SSL port:                     995 
053 17) Use spell check server:                  yes
054 18) Spell server URL:                        http://domaine.com:7780/aspell.php 
055 19) Configure for use with mail proxy:       FALSE
056 20) Configure for use with web proxy:        FALSE 
057 21) Enable version update checks:            TRUE
058 22) Enable version update notifications:     TRUE 
059 23) Version update notification email:       admin@domaine.com
060 24) 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...
015 bare...done. lemongrass...done. hotrod...done.
016 steel...done. bones...done. yahoo...done.
017 smoke...done. lavender...done. zmail...done.
018 beach...done. goldrush...done. sand...done.
019 waves...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:
049 The VERSION of zcs installed (6.0.5_GA_2038_DEBIAN5_32) 
050 The 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...
055 com_zimbra_cert_manager...done.
056 com_zimbra_email...done.
057 com_zimbra_ymemoticons...done.
058 com_zimbra_url...done.
059 com_zimbra_phone...done.
060 com_zimbra_local...done.
061 com_zimbra_bulkprovision...done.
062 com_zimbra_date...done.
063 com_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/




Liens Zimbra utiles :


Zimbra Tech Center : https://wiki.zimbra.com
Liens informatifs (Multi-Serveurs Zimbra) :
Autres liens :
  • Pour l'analyse des messages d'erreurs (recus) : MTA - Messages d'erreur Mail - SMTP return codes

  • << Configuration BIND9 Masters et Slaves

    Configuration de Zimbra >>



    Keywords :

    linux لينكس zimbra MTA server mail


    Author of the page

    O.Romain.Jaillet-ramey

    O.Romain.Jaillet-ramey

    • Firstname : Olivier Romain Luc
    • Lastname : : Jaillet-ramey
    • Arrived on tuesday 19 october 1976 (1976/10/19 00:00)
      48 years activity !

    Translate this page with Google

    Firefox Nighlty

    Our friends from Framasoft are interested in Mozilla and asked them questions about Nightly: Firefox Night-club, free entry !






    Load page: 2.8543679714203