Web-Client SquirrelMail

From Andreida

SquirrelMail-Home

Install

apt-get install squirrelmail php-gettext php-xml-parser aspell spellutils
cd /etc/squirrelmail
./conf.pl

Use the D option to load predefined settings for your particular IMAP server, and edit at least the Server Settings and General Options (making sure to set the "Data Directory" and "Attachment Directory" settings).

 cd /var/www
 ln -s /usr/share/squirrelmail
 <VirtualHost *:81>
     ServerName webmail.<your-domain>
     Alias /var/www/squirrelmail /usr/share/squirrelmail
     DocumentRoot /usr/share/squirrelmail/
     <Directory /usr/share/squirrelmail>
         Options Indexes FollowSymLinks
        <IfModule mod_php4.c>
            php_flag register_globals off
       </IfModule>
       <IfModule mod_php5.c>
            php_flag register_globals off
      </IfModule>
     <IfModule mod_dir.c>
         DirectoryIndex index.php
    </IfModule>
 </VirtualHost>

/etc/apache2/ports.conf

 NameVirtualHost *:80
 NameVirtualHost *:81
 Listen 80
 Listen 81

ssl

 <IfModule mod_ssl.c>
 <VirtualHost webmail.<your-domain>:443>
    Alias /var/www/squirrelmail /usr/share/squirrelmail
    DocumentRoot /usr/share/squirrelmail/
    <Directory /usr/share/squirrelmail>
        Options Indexes FollowSymLinks
       <IfModule mod_php4.c>
           php_flag register_globals off
      </IfModule>
      <IfModule mod_php5.c>
           php_flag register_globals off
     </IfModule>
    <IfModule mod_dir.c>
        DirectoryIndex index.php
   </IfModule>
  </Directory>
  SSLEngine on
  SSLCertificateFile    /etc/<path to the cert file>
  SSLCertificateKeyFile /etc/<path to the key file>
</VirtualHost>


Copy your logo into

 /usr/share/squirrelmail/

and set the path via the config script to

 ../your-logo.gif

Theme

In /var/www/squirrelmail/themes

<?php
/**
* Name: Andreas Duffner
* Date: 2010/07/27
*
* @author Andreas Duffner
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @package squirrelmail
* @subpackage themes
*/
global $color;
$color[0] = "#DCDCDC"; // Title bar at the top of the page header
$color[1] = "#800000"; // Error messages border, usually red.
$color[2] = "#CC0000"; // Error messages, usually red.
$color[3] = "#cbf374"; // Left folder list background color.
$color[4] = "#DDDDDD"; // Normal background color.
$color[5] = "#cbf374"; // Header of the message index (From, Date, Subject).
$color[6] = "#777777"; // Normal text on the left folder list.
$color[7] = "#000000"; // Links in the right frame.
$color[8] = "#000000"; // Normal text (usually black).
$color[9] = "#cbf374"; // Darker version of #0.
$color[10] = "#666666"; // Darker version of #9.
$color[11] = "#000000"; // Special folders color (Inbox, Trash, Sent).
$color[12] = "#EDEDED"; // Alternate color for message list (alters between #4 and this one)
$color[13] = "#800000"; // (Color for single-quoted text ("> text") when reading (default: #800000).
$color[14] = "#FF0000"; // Color for text with more than one quote (default: #ff0000).
$color[15] = "#002266"; // Non-selectable folders in the left frame (default: $color[6]).
?>

Plugins

Plugins

  • Add Address
  • Address Book Grouping and Pagination
  • Compatibility
  • Quick Save
  • Preview Pane
  • Add Graphics

Upload file max size

php.ini

  • max_filesize
  • post_max_size
  • upload_max_size

Fehler

Could not log on to timsieved daemon on your IMAP server localhost:4190

change

$sieveport = 4190;

to

$sieveport = 2000;