Difference between revisions of "Squirrelmail"

From YobiWiki
Jump to navigation Jump to search
m
 
Line 12: Line 12:
 
ln -s /etc/squirrelmail/apache.conf /etc/apache/conf.d/squirrelmail.conf
 
ln -s /etc/squirrelmail/apache.conf /etc/apache/conf.d/squirrelmail.conf
 
/etc/init.d/apache reload
 
/etc/init.d/apache reload
  +
ou
  +
ln -s /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail.conf
  +
/etc/init.d/apache2 reload
 
Si vos folders contiennet plus de 1000 mails, vous devrez augmenter la limite des 8M pour les scripts php:
 
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
 
echo php_value memory_limit 64M >> /usr/share/squirrelmail/.htaccess

Revision as of 13:38, 8 December 2006

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

ou

ln -s /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail.conf
/etc/init.d/apache2 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)