Table des matières
, , , , ,

Webmail

:!: Article archivé, dernière mise à jour 2007.

Cette page décrit l'installation et la configuration du framework Horde et des modules web (IMP), contacts (Turba), calendrier (Kronolith) et tâches (nag).

Installation

Le choix des paquets Debian est à faire avec précaution pour ne pas installer php4 et apache1, voici la liste des paquets sélectionné manuellement :

Les autres paquets suggérés ou recommandés n'ont pas été installés.

Configuration

Voici la liste des étapes d'installation :

Configuration d'Apache

Par défaut, horde n'est pas accessible, il faut dans un premier temps éditer la configuration de apache :

Alias /horde3 /usr/share/horde3

<Directory "/usr/share/horde3/">
    Options FollowSymLinks
    AllowOverride Limit

</Directory>
bender:/etc/apache2# a2ensite horde
Site horde installed; run /etc/init.d/apache2 reload to enable.
bender:/etc/apache2# /etc/init.d/apache2 reload
Reloading web server config...2645
.
bender:/etc/apache2#

Le répertoire /horde3 du serveur web indique alors le message suivant :

Horde3 configuration disabled by default because the administration/install wizard gives the whole world too much access to the system. Read /usr/share/doc/horde3/README.Debian.gz on how to allow access.

Configurer Horde

Remarque : Horde permet de modifier sa configuration en ligne mais cela nécessite de rendre le répertoire de configuration éditable par apache. Cela représente une faille de sécurité, l'installation manuelle est donc décrite ci-après.

bender:/usr/share/doc/horde3/examples/scripts/sql# gunzip create.mysql.sql.gz
bender:/usr/share/doc/horde3/examples/scripts/sql# mysql --user=root -p < create.mysql.sql
Enter password:
bender:/usr/share/doc/horde3/examples/scripts/sql#
bender:/usr/share/doc/horde3/examples/scripts/sql# mysql -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 20
Server version: 5.0.32-Debian_7etch1-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> connect horde
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Connection id:    21
Current database: horde

mysql> show tables;
+---------------------------+
| Tables_in_horde           |
+---------------------------+
| horde_datatree            |
| horde_datatree_attributes |
| horde_histories           |
| horde_prefs               |
| horde_sessionhandler      |
| horde_tokens              |
| horde_users               |
| horde_vfs                 |
+---------------------------+
8 rows in set (0.00 sec)

mysql>
SET PASSWORD FOR 'horde'@'localhost' = PASSWORD( '********' ) 
// echo "Horde3 configuration disabled by default because the administration/install wizard gives the whole world too much access to the system. Read /usr/share/doc/horde3/README.Debian.gz on how to allow access.";
// exit (0);

Configurer IMP

$servers['bender'] = array(
    'name' => 'imap.bouthors.fr IMAP',
    'server' => 'localhost',
    'hordeauth' => 'true',
    'protocol' => 'imap/notls',
    'port' => 143,
    'maildomain' => 'bouthors.fr',
    'smtphost' => 'localhost',
    'smtpport' => 25,
    'realm' => '',
    'preferred' => '',
);

Configurer Turba

# cd /usr/share/doc/turba2/examples/scripts/sql
# mysql -p horde < turba_objects.mysql.sql

Configurer Kronolith

# cd /usr/share/doc/kronolith2/examples/scripts/sql
# mysql -p horde < kronolith.mysql.sql

Configurer Nag

# cd /usr/share/doc/nag2/examples/scripts/sql
# mysql -p horde < nag.sql

Backup

Links