Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams
Google

Email Quick Start


A quick and easy installation will have you up and running with a Maildir-base mail system, supplemented with IMAP access, and a web-based email client.

Configure exim4 to deliver email to a user's Maildir folder in their home directory. This requires editting the exim4 config file (either /etc/exim4/exim4.conf.template or /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs, depending on whether your confiration is in one file or many) to set:

  LOCAL_DELIVERY=maildir_home

Exim4 creates the approriate Maildir folder and structure under the user's accounts as required. See Section 29.2.1 for more details on using exim.

Next, install courier-imap. This will then set up a server (on port 143) to deliver IMAP. Using mutt the server is imap://localhost/. For a secure IMAP server install courier-imap-ssl (which then uses port 993) and to access from mutt use imaps://localhost:993/inbox. If the IMAP server is only being used on a small local network (like at home) with access to it provided through a web mail tool (like squirrelmail) through a secure web server (using https, such as apache-ssl), then courier-imap-ssl is probably not required (since you would access the squirrelmail server through https, not your imap server)!

Now install squirrelmail and you can then log in to your IMAP server from any web browser (https://localhost/squirrelmail). Be sure that your apache-ssl server has index.php on it's list of DirectoryIndex files in /etc/apache-ssl/httpd.conf. You may also need to have some PHP packages installed, in particular php4-cgi. If the INBOX link of the SuirrelMail page is not active, edit /etc/squirrelmail/config.php to set:

  $oldway = true;

Copyright © 1995-2006 [email protected]
Contribue and access the PDF Version