GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
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 |
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.
If the INBOX link of the SuirrelMail page is not active, edit
/etc/squirrelmail/config.php to set:
$oldway = true; |