https://wiki.livois.com/mediawiki/index.php?title=Roundcube&feed=atom&action=historyRoundcube - Historique des versions2024-03-29T09:59:14ZHistorique des versions pour cette page sur le wikiMediaWiki 1.39.3https://wiki.livois.com/mediawiki/index.php?title=Roundcube&diff=193&oldid=prevChristophe : 1 version2012-05-28T20:31:57Z<p>1 version</p>
<p><b>Nouvelle page</b></p><div>[[Category:Messagerie]]<br />
<br />
Roundcube est un webmail utilisant la technologie AJAX. Ceci donne beaucoup plus d'interactivité dans son utilisation, en particulier le drag&drop d'un e-mail vers un dossier.<br />
<br />
http://fr.wikipedia.org/wiki/RoundCube<br />
<br />
http://www.roundcube.net<br />
<br />
=Installation=<br />
==mysql==<br />
<br />
For MySQL version 4.1 and up, it's recommended to create the database for RoundCube with the following command:<br />
CREATE DATABASE roundcubemail DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;<br />
<br />
Sinon: <br />
create database 'roundcubemail';<br />
<br />
#mysql -p<br />
<br />
GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY 'password';<br />
quit<br />
<br />
#mysql roundcubemail < /var/www/www.livois.com/./roundcube/SQL/mysql.initial.sql<br />
<br />
==Editer les 2 fichiers de configuration==<br />
http://trac.roundcube.net/trac.cgi/wiki/Howto_Install<br />
<br />
http://trac.roundcube.net/wiki/Howto_Config<br />
<br />
<licode file="config/db.inc.php"><br />
$rcmail_config['db_dsnw'] = 'mysql://roundcube:password@localhost/roundcubemail';<br />
</licode><br />
<br />
<licode file="config/main.inc.php"><br />
// enable caching of messages and mailbox data in the local database.<br />
// this is recommended if the IMAP server does not run on the same machine<br />
$rcmail_config['enable_caching'] = FALSE;<br />
$rcmail_config['default_host'] = 'localhost';<br />
$rcmail_config['default_port'] = 1043;<br />
$rcmail_config['smtp_server'] = 'localhost';<br />
// Set TRUE if deleted messages should not be displayed<br />
// This will make the application run slower<br />
$rcmail_config['skip_deleted'] = TRUE;<br />
<br />
</licode><br />
<br />
Le répertoire LDAP<br />
<licode file="config/main.inc.php"><br />
$rcmail_config['ldap_public']['livois.com'] = array('hosts' => array('ldap.livois.com'),<br />
'port' => 389,<br />
'base_dn' => 'vd=livois.com,o=hebergement,dc=livois,dc=com',<br />
'search_fields' => array('Nom' => 'cn','Email' => 'mail'),<br />
'name_field' => 'cn',<br />
'mail_field' => 'mail',<br />
'scope' => 'sub',<br />
'fuzzy_search' => 0);<br />
<br />
</licode><br />
<br />
Pour que les utilisateurs n'aient pas besoin de taper le "@livois.com" pour se logguer:<br />
<licode file="config/main.inc.php"><br />
$rcmail_config['default_host'] = 'localhost';<br />
$rcmail_config['username_domain'] = 'livois.com';<br />
</licode><br />
<br />
==Ajouter le champ redirection au carnet d'adresse==<br />
* Ajouter le champ redirection dans la table contacts<br />
* config/main.inc.php - ''noter que le "_field" est important:'' 'redirection_field' => 'maildrop',<br />
* program/localization/fr/labels.inc:$labels['redirection'] = 'Courriel de redirection';<br />
* program/steps/addressbook/edit.inc: $a_show_cols = array('name', 'firstname', 'surname', 'email', 'redirection');<br />
* program/steps/addressbook/save.inc:$a_save_cols = array('name', 'firstname', 'surname', 'email', 'redirection');<br />
* program/steps/addressbook/show.inc: $a_show_cols = array('name', 'firstname', 'surname', 'email', 'redirection')<br />
<br />
{{Copy|2007|Christophe de Livois|FDL}}</div>Christophe