Dies ist eine alte Version des Dokuments!
Voraussetzungen: Apache 2.2 mit PHP 5.
# aptitude install squirrelmail squirrelmail-decode ingerman wngerman
# /usr/sbin/squirrelmail-configure 2 (Server Settings) A (IMAP Settings) 8 (Server software) dovecot R (Return to Main Menu) 3 (Folder Defaults) 3 (Trash Folder) Trash 4 (Sent Folder) Sent 5 (Drafts Folder) Drafts R (Return to Main Menu) 10 (Languages) 1 (Default Language) de_DE S (Save data) Q (Quit)
webmail anstatt squirrelmail festlegen:# vi /etc/squirrelmail/apache.conf Alias /webmail /usr/share/squirrelmail
# vi /etc/squirrelmail/apache.conf [...] <Directory /usr/share/squirrelmail> Order allow,deny Allow from all
# vi /etc/squirrelmail/apache.conf
[...]
# redirect to https when available (thanks omen@descolada.dartmouth.edu)
#
# Note: There are multiple ways to do this, and which one is suitable for
# your site's configuration depends. Consult the apache documentation if
# you're unsure, as this example might not work everywhere.
#
<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /webmail>
RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
</Location>
</IfModule>
</IfModule>
# ln -s /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail.conf