Squirrelmail

From YobiWiki
Revision as of 23:50, 24 November 2006 by <bdi>PhilippeTeuwen</bdi> (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Squirrelmail (dans l'UML public)

Squirrelmail supporte login, cram-md5 et SSL *uniq via SSL port 993*, pas TLS via STARTTLS

Ici nous nous connecterons à localhost:143 c-à-d imapproxy sans SSL/TLS et en auth plaintext

apt-get install squirrelmail squirrelmail-locales squirrelmail-decode
squirrelmail-configure
  • Server Settings:
    • Domain: teuwen.org
    • IMAP Settings: localhost, port 143, login, no TLS, server:courier, delimiter:.
    • SMTP Settings: olympe
ln -s /etc/squirrelmail/apache.conf /etc/apache/conf.d/squirrelmail.conf
/etc/init.d/apache reload

Si vos folders contiennet plus de 1000 mails, vous devrez augmenter la limite des 8M pour les scripts php:

echo php_value memory_limit 64M >> /usr/share/squirrelmail/.htaccess

Attention si squirrelmail est derrière un proxy et que sa base_uri est différente, par ex. (mail.teuwen.org)/ => /squirrelmail/ Éditer /usr/share/squirrelmail/functions/display_messages.php ligne 26:

function sqm_baseuri(){ return '/';

Plugins

Virtual Keyboard

cd /usr/share/squirrelmail/plugins/
wget http://www.squirrelmail.org/plugins/vkeyboard-0.8.tar.gz
tar -zxvf vkeyboard-0.8.tar.gz
cd vkeyboard
cp config.php.sample config.php
vi config.php
squirrelmail-configure => add vkeyboard plugin

G/PGP Encryption Plugin

apt-get install gnupg
cd /usr/share/squirrelmail/plugins/
wget http://www.squirrelmail.org/plugins/gpg.2.0.1-1.4.2.tar.gz
tar -zxvf gpg.2.0.1-1.4.2.tar.gz
cd gpg
vi gpg_local_prefs.txt
squirrelmail-configure => add gpg plugin

Pour annuller la nécessité d'être en HTTPS (vivement déconseillé à moins de savoir ce que l'on fait!!)

plugins/gpg/gpg_functions.php: return(1)