26.6 Email Quick Start

REVIEW

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

Configure exim4, exim4, exim4, exim4, exim4, exim4 to deliver email to a user’s Maildir folder in their home directory. This requires reconfiguring the exim4-config package which will take care of writing the correct configuration files (e.g. /etc/exim4/update-exim4.conf.conf). The aim is to set:

  LOCAL_DELIVERY=maildir_home

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

Next, install courier-imap. This will then set up a server (on port 143) to deliver IMAP and any user in the password file can connect. Using mutt the server is imap://localhost/. For a secure IMAP server install courier-imap-ssl, 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, 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 its 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;


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0