Webmail setup

From Smith family

Jump to: navigation, search
Server setup
← Previous Next →
Mediawiki farm Print server

Contents

Installation

This one's easy, once the HTTPS web server is set up.

I use SquirrelMail as a webmail interface. To install Squirrelmail, install the packages:

root@server:~# apt-get install squirrelmail ibritish

(which also includes a British English dictionary).

SquirrelMail has a very nice configuration script that does just about all the work for you, given that the IMAP server and Web server are already working. Simply run the script:

root@server:~# squirrelmail-configure

select 'D' to configure using Dovecot, and follow the instructions. As SquirrelMail, Apache, and Dovecot are all running on the same machine, there's no need to use IMAPS to secure the communication between them.

Next, you need to modify the /etc/apache2/sites-available/squirrelmail.domain.tld file to point to SquirrelMail. Adjust the DocumentRoot setting in the secure section of that file to

DocumentRoot /usr/share/squirrelmail

Restart the server:

root@server:~# /etc/init.d/apache2 restart

And you should have a SquirrelMail webmail site running!

Check the configuration file by browsing to https://your-squirrelmail-location/src/configtest.php.

Change the login logo

If you want to change the logo on the login screen, replace the file /usr/share/squirrelmail/images/sm_logo.png with another image, making sure it's the same width and height as the original. The site's favicon is /usr/share/squirrelmail/favicon.ico.

Updating and migrating

To migrate from a previous installation, copy the files in /var/lib/squirrelmail/data to keep users' preferences.

See also

Personal tools