Installation Zimbra
Un article de Wiki.Yakakliker.org.
Sommaire |
Introduction
Zimbra est un serveur de messagerie collaboratif Open Source intégrant une solution antivirus et antispam ainsi qu'un "porte-documents", une messagerie instantanée, et l'éternel et habituel partage de calendrier.
Une solution très intéressante pour quiconque souhaite une plateforme collaborative alternative fiable, efficace et relativement facile à installer.
Installation Zimbra network 5.0.9_GA sur Ubuntu serveur
- TRES IMPORTANT !!!
Au préalable penser à déclarer le nom du serveur de messagerie sur le serveur DNS en tant qu'hôte et serveur de messagerie sinon l'installation ne pourra pas se faire.
Pensez à vérifier par 2 fois les différents paramétrages réseau : Zimbra est extrêmement sensible à tout problème de configuration DNS et réseau.
Si votre conf n'est pas parfaite, Zimbra ne s'installera pas (erreur Ldap ou autre !!!!) et vous vous retrouverez comme beaucoup à poster sur les differents forums ...
sudo apt-get install ca-certificates curl fetchmail gcc-3.3-base gettext libcurl3 libexpat1 libgmp3c2 libidn11 libpcre3 libstdc++5 sudo apt-get install libxml2 openssl perl perl-doc perl-modules sgml-base xml-core libltdl3
Editer le fichier : /etc/hosts
127.0.0.1 localhost.localdomain localhost 192.168.0.110 Nom_du_serveur.nom_du_domaine.com nom_du_serveur # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
Votre fichier host doit ressembler à ça
Rajouter le nom <FQDN> du serveur dans hostname
echo nom_du_serveur.nom_du_domaine.com > /etc/hostname
Rebooter
reboot
Verification...
hostname
puis
hostname -f
doit donner :
nom_du_serveur.nom_du_domaine.com
Vérifier les paramétrages DNS (Important !)
vi /etc/resolv.conf
Doit avoir l'ip ou les ip des vos serveurs DNS
nameserver 192.168.0.100 nameserver 192.168.0.2
Installation de Zimbra
./install.sh
Operations logged to /tmp/install.log.3729
Checking for existing installation...
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-store...NOT FOUND
zimbra-apache...NOT FOUND
zimbra-spell...NOT FOUND
zimbra-core...NOT FOUND
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/zimbra_network_eval_license.pdf
Press Return to continue
Checking for prerequisites...
NPTL...FOUND
sudo...FOUND sudo-1.6.8p12-4ubuntu5
libidn11...FOUND libidn11-0.6.3-1
curl...FOUND curl-7.15.4-1ubuntu2.2
fetchmail...FOUND fetchmail-6.3.4-1ubuntu4.1
libpcre3...FOUND libpcre3-6.4-2ubuntu1
libgmp3c2...FOUND libgmp3c2-2:4.2.1+dfsg-3
libexpat1...FOUND libexpat1-1.95.8-3.2
libxml2...FOUND libxml2-2.6.26.dfsg-2ubuntu4
libstdc++6...FOUND libstdc++6-4.1.1-13ubuntu5
libstdc++5...FOUND libstdc++5-1:3.3.6-13ubuntu2
openssl...FOUND openssl-0.9.8b-2ubuntu2
Checking for installable packages
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Select the packages to install
Install zimbra-ldap [Y] Y
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] Y
Install zimbra-snmp [Y] Y
Install zimbra-store [Y] Y
Install zimbra-spell [Y] Y
Checking required space for zimbra-core
checking space for zimbra-store
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
The system will be modified. Continue? [N] Y
Removing /opt/zimbra
Installing packages
zimbra-core......zimbra-core_4.5.6_GA_1044.UBUNTU6_i386.deb...done
zimbra-ldap......zimbra-ldap_4.5.6_GA_1044.UBUNTU6_i386.deb...done
zimbra-logger......zimbra-logger_4.5.6_GA_1044.UBUNTU6_i386.deb...done
zimbra-mta......zimbra-mta_4.5.6_GA_1044.UBUNTU6_i386.deb...done
zimbra-snmp......zimbra-snmp_4.5.6_GA_1044.UBUNTU6_i386.deb...done
zimbra-store......zimbra-store_4.5.6_GA_1044.UBUNTU6_i386.deb...done
zimbra-apache......zimbra-apache_4.5.6_GA_1044.UBUNTU6_i386.deb...done
zimbra-spell......zimbra-spell_4.5.6_GA_1044.UBUNTU6_i386.deb...done
Operations logged to /tmp/zmsetup.log.4789
Setting defaults...
DNS ERROR resolving MX for whitestar.server-list.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
Create Domain: [whitestar.server-list.com] teknokosh.com
MX: mail.teknokosh.com (202.125.46.248)
Interface: 202.125.46.248
Interface: 127.0.0.1
Done
Checking for port conflicts
Main menu
1) Hostname: whitestar.server-list.com
2) Ldap master host: whitestar.server-list.com
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@teknokosh.com
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.dqcyz1hae@teknokosh.com
+Non-spam(Ham) training user: ham.flra7ag84@teknokosh.com
+Global Documents Account: wiki@teknokosh.com
+SMTP host: whitestar.server-list.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+Enable POP/IMAP proxy: no
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://whitestar.server-list.com:7780/aspell.php
******* +License filename: UNSET
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
11) Enable default backup schedule: yes
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help)
Configuration
Taper "4" (Indiqué par les étoiles)
Address unconfigured (**) items (? - help) 4 Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@teknokosh.com ** 4) Admin Password UNSET 5) Enable automated spam training: yes 6) Spam training user: spam.dqcyz1hae@teknokosh.com 7) Non-spam(Ham) training user: ham.flra7ag84@teknokosh.com 8) Global Documents Account: wiki@teknokosh.com 9) SMTP host: whitestar.server-list.com 10) Web server HTTP port: 80 11) Web server HTTPS port: 443 12) Web server mode: http 13) Enable POP/IMAP proxy: no 14) IMAP server port: 143 15) IMAP server SSL port: 993 16) POP server port: 110 17) POP server SSL port: 995 18) Use spell check server: yes 19) Spell server URL: http://whitestar.server-list.com:7780/aspell.php **20) License filename: UNSET Select, or 'r' for previous menu [r] 4 Password for admin@teknokosh.com (min 6 characters): [generatedpass] Mot_de_passe_Admin
Pour la version 5.09 la configuration du fichier de licence se fait avec l'option 21...
Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@teknokosh.com 4) Admin Password set 5) Enable automated spam training: yes 6) Spam training user: spam.dqcyz1hae@teknokosh.com 7) Non-spam(Ham) training user: ham.flra7ag84@teknokosh.com 8) Global Documents Account: wiki@teknokosh.com 9) SMTP host: whitestar.server-list.com 10) Web server HTTP port: 80 11) Web server HTTPS port: 443 12) Web server mode: http 13) Enable POP/IMAP proxy: no 14) IMAP server port: 143 15) IMAP server SSL port: 993 16) POP server port: 110 17) POP server SSL port: 995 18) Use spell check server: yes 19) Spell server URL: http://whitestar.server-list.com:7780/aspell.php **20) License filename: UNSET Select, or 'r' for previous menu [r] 20 Enter the name of the file that contains the license /root/ZCSLicense.xml
Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@teknokosh.com 4) Admin Password set 5) Enable automated spam training: yes 6) Spam training user: spam.dqcyz1hae@teknokosh.com 7) Non-spam(Ham) training user: ham.flra7ag84@teknokosh.com 8) Global Documents Account: wiki@teknokosh.com 9) SMTP host: whitestar.server-list.com 10) Web server HTTP port: 80 11) Web server HTTPS port: 443 12) Web server mode: http 13) Enable POP/IMAP proxy: no 14) IMAP server port: 143 15) IMAP server SSL port: 993 16) POP server port: 110 17) POP server SSL port: 995 18) Use spell check server: yes 19) Spell server URL: http://whitestar.server-list.com:7780/aspell.php Select, or 'r' for previous menu [r] r
Taper : r
Main menu 1) Hostname: whitestar.server-list.com 2) Ldap master host: whitestar.server-list.com 3) Ldap port: 389 4) Ldap password: set 5) zimbra-ldap: Enabled 6) zimbra-store: Enabled 7) zimbra-mta: Enabled 8) zimbra-snmp: Enabled 9) zimbra-logger: Enabled 10) zimbra-spell: Enabled 11) Enable default backup schedule: yes r) Start servers after configuration yes 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]
Taper : a pour enregistrer la configuration
Fin de l'Installation
Save config in file: [/opt/zimbra/config.4789]
Saving config in /opt/zimbra/config.4789...Done
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.log.4789
Setting local config values...Done
Setting up CA...Done
Creating SSL certificate...Done
Initializing ldap...Started slapd: pid 5682
adding new entry "cn=zimbra"
adding new entry "cn=admins,cn=zimbra"
adding new entry "uid=zimbra,cn=admins,cn=zimbra"
adding new entry "cn=zimlets,cn=zimbra"
adding new entry "cn=config,cn=zimbra"
adding new entry "cn=cos,cn=zimbra"
adding new entry "cn=servers,cn=zimbra"
modifying entry "cn=config,cn=zimbra"
adding new entry "cn=default,cn=cos,cn=zimbra"
adding new entry "cn=mime,cn=config,cn=zimbra"
adding new entry "cn=application/x-zip-compressed,cn=mime,cn=config,cn=zimbra"
adding new entry "cn=application/zip,cn=mime,cn=config,cn=zimbra"
adding new entry "cn=message/rfc822,cn=mime,cn=config,cn=zimbra"
adding new entry "cn=text/html,cn=mime,cn=config,cn=zimbra"
adding new entry "cn=text/enriched,cn=mime,cn=config,cn=zimbra"
adding new entry "cn=text/plain,cn=mime,cn=config,cn=zimbra"
adding new entry "cn=text/calendar,cn=mime,cn=config,cn=zimbra"
adding new entry "cn=all,cn=mime,cn=config,cn=zimbra"
modifying entry "cn=config,cn=zimbra"
Done
Saving CA in ldap...Done
Installing SSL certificate...Done
Creating server entry for whitestar.server-list.com...Done
Setting spell check URL...Done
Setting service ports on whitestar.server-list.com...Done
Adding whitestar.server-list.com to zimbraMailHostPool in default COS...Done
Installing skins...
lavender
froggy
sand
rose
vanilla
steel
bare
sky
harvest
Done
Setting MTA auth host...Done
Creating domain teknokosh.com...Done
Creating user admin@teknokosh.com...
Creating postmaster alias...Done
Creating user wiki@teknokosh.com...Done
Creating user spam.dqcyz1hae@teknokosh.com...Done
Creating user ham.flra7ag84@teknokosh.com...Done
Setting spam training accounts...Done
Initializing store sql database...Done
Setting zimbraSmtpHostname for whitestar.server-list.com...Done
Initializing logger sql database...Done
Initializing mta config...Done
Configuring SNMP...Done
Setting services on whitestar.server-list.com...Done
Setting up zimbra crontab...no crontab for zimbra
Rebuilding backup cron
no crontab for zimbra
Done
Setting up syslog.conf...Done
Setting default backup schedule...Done
Looking for valid license to install...license installed.
Starting servers...Done.
Installing zimlets...
com_zimbra_email
com_zimbra_phone
com_zimbra_date
com_zimbra_search
com_zimbra_url
Done
Installing network zimlets...
com_zimbra_domainadmin
com_zimbra_cluster
com_zimbra_hsm
com_zimbra_convertd
com_zimbra_mobilesync
com_zimbra_license
com_zimbra_backuprestore
Done
Initializing Documents...Done
Restarting tomcat...Done
Operations logged to /tmp/zmsetup.log.4789
Configuration complete - press return to exit
#
Sources
http://wiki.koshatul.com/Installing_Zimbra_on_Ubuntu_6.10
Installation Zimbra sous Debian
Apt-get install openssh-server
Apt-get install rsync
update-rc.d -f gdm remove
apt-get remove --purge exim4 exim4-base exim4-config exim4-daemon-light
apt-get install libc6-i686 sudo libidn11 curl fetchmail libgmp3c2 libexpat1 libgetopt-mixed-perl libxml2 libstdc++6 libpcre3 libltdl3 ssh
Sources
http://www.howtoforge.com/zimbra-collaboration-suite-5.0-on-debian-etch
Configurations diverses
S'authentifier sans mettre "@nom_du_domaine"
Pour cela il faut paramétrer un nom de domaine par défaut
su - zimbra zmprov mcf zimbraDefaultDomainName mycompany.com
Sources
http://wiki.zimbra.com/index.php?title=Setting_a_default_domain_name
Liaisons LDAP
co | workCountry company | Company givenName/gn | firstName sn | lastName cn | fullName initials | initials l | workCity physicalDeliveryOfficeName | office ou | department street, streetaddress | workStreet postalCode | workPostalCode telephoneNumber | workPhone st | workState title | jobTitle mail | email objectClass | Not currently mapped
Sources
http://wiki.zimbra.com/index.php?title=LDAP_Mapped_Attributes
Sources
http://www.installationwiki.org/Zimbra
http://wiki.koshatul.com/Installing_Zimbra_on_Ubuntu_6.10
http://www.howtoforge.com/zimbra-collaboration-suite-5.0-on-debian-etch
