This shows you the differences between two versions of the page.
de:start:howto:squirrelmail_mit_roundcube_ersetzen [2012/06/18 11:57] Paderman erstellt, teilweise noch englischer Text |
de:start:howto:squirrelmail_mit_roundcube_ersetzen [2012/06/18 12:01] (current) Paderman redirect |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Ab dem 15.03.2012 ist squirrelmail der Standard-Webmail-Klient. Diese kleine Anleitung soll zeigen, wie Roundcube als Standard-Webmail-Klient installiert werden kann. Roundcube bietet eine modernen Webmail-Oberfläche mit all den zu erwarteten Funktionen an (http://roundcube.net/) | + | Redirect to (Umleitung zu) [[de:start:howto:replace_squirrelmail_with_roundcube|Squirrelmail mit Roundcube ersetzen]] |
- | + | ||
- | Das Ersetzen der Webmail-Oberfläche ist sehr einfach, dazu sind diese Schritte nötig. | + | |
- | + | ||
- | === 1. Squirrelmail löschen === | + | |
- | + | ||
- | We move the system webmail to some folder (just in case we wanted to rollback) | + | |
- | mv /var/www/imscp/gui/public/tools/webmail /tmp | + | |
- | + | ||
- | === 2. Roundcube vorbereiten === | + | |
- | + | ||
- | cd /tmp | + | |
- | wget http://heanet.dl.sourceforge.net/project/roundcubemail/roundcubemail/0.7/roundcubemail-0.7.tar.gz | + | |
- | tar -xzf roundcubemail-0.7.tar.gz | + | |
- | + | ||
- | === 3. Datenbank vorbereiten === | + | |
- | + | ||
- | Roundcube needs its own database (roundcubemail), to avoid problems in collision with imscp. You could use the username that has been created for mail management. | + | |
- | + | ||
- | ### Für eine neue INSTALLATION von Roundcube ### | + | |
- | #mysql -u root -p roundcubemail < /tmp/roundcubemail-0.7/SQL/mysql.initial.sql | + | |
- | #### Zur AKTUALISIERUNG von Roundcube ### | + | |
- | #mysql -u root -p roundcubemail < /tmp/roundcubemail-0.7/SQL/mysql.update.sql | + | |
- | + | ||
- | === 4. Roundcube in das Verzeichnis verschieben === | + | |
- | + | ||
- | mv roundcubemail-0.7 /var/www/imscp/gui/public/tools/webmail | + | |
- | chmod 777 /var/www/imscp/gui/public/tools/webmail/logs | + | |
- | chmod 777 /var/www/imscp/gui/public/tools/webmail/temp | + | |
- | cd /var/www/imscp/gui/public/tools/webmail/config/ | + | |
- | + | ||
- | #Typically you only have to edit the db.inc.php file to add the credentials for the database | + | |
- | vi /var/www/imscp/gui/public/tools/webmail/config/db.inc.php.dist | + | |
- | mv db.inc.php.dist db.inc.php | + | |
- | mv main.inc.php.dist main.inc.php | + | |
- | #Delete the roundcube installer for security | + | |
- | rm -Rf /var/www/imscp/gui/public/tools/webmail/installer | + | |
- | + | ||
- | === Übliche Probleme === | + | |
- | + | ||
- | == PHP Einstellungen == | + | |
- | Roundcube requires that the php.ini doesn't encrypt the sessions. This can be changed in the php.ini for the master user (/var/www/fcgi/master/php5/php.ini) | + | |
- | + | ||
- | magic_quotes_gpc = off | + | |
- | [suhosin] | + | |
- | suhosin.session.encrypt = off | + | |
- | + | ||
- | == Individuelles Logo == | + | |
- | To change the logo for the webmail, these files have to be replaced with your own | + | |
- | /var/www/imscp/gui/public/tools/webmail/skins/default/images/roundcube_logo.gif | + | |
- | /var/www/imscp/gui/public/tools/webmail/skins/default/images/roundcube_logo.png | + | |
- | /var/www/imscp/gui/public/tools/webmail/skins/default/images/roundcube_logo_print.gif | + | |
- | /var/www/imscp/gui/public/tools/webmail/skins/default/images/favicon.ico | + | |
- | + | ||
- | == Optionen für main.php == | + | |
- | + | ||
- | It depends on your case, but I'd recommend setting at least this options. | + | |
- | $rcmail_config['imap_auth_type'] = LOGIN; | + | |
- | $rcmail_config['default_host'] = 'localhost'; | + | |
- | $rcmail_config['smtp_server'] = 'localhost'; | + | |
- | $rcmail_config['smtp_user'] = '%u'; | + | |
- | $rcmail_config['smtp_pass'] = '%p'; | + | |
- | $rcmail_config['identities_level'] = 3; | + | |
- | $rcmail_config['quota_zero_as_unlimited'] = true; | + | |
- | $rcmail_config['create_default_folders'] = true; | + | |
- | + | ||
- | These are recommended for speed and to fix some annoyances: | + | |
- | $rcmail_config['imap_force_lsub'] = true; | + | |
- | $rcmail_config['message_sort_col'] = 'date'; | + | |
- | $rcmail_config['enable_spellcheck'] = false; | + | |
- | $rcmail_config['logout_expunge'] = true; | + | |
- | + | ||
- | Auf »true« setzen, wenn ein gültiges Zertifikat vorhanden ist, ansonsten »false« | + | |
- | + | ||
- | $rcmail_config['force_https'] = true; | + |