This explains how to use Dovecot as a IMAP server

**** Page under construction ****

Prerequisites

Ensure sendmail is working for send and receiving mail externally

Configuration

The configuration is held in the /etc/dovecot directory.

There is a toplevel configuration file named dovecot.conf. This includes all the other config files that are held in /etc/dovecot/conf.d

vi /etc/dovecot/dovecot.conf

enable the line saying 
protocols=imap
vi /etc/dovecot/conf.d/10-mail.conf

enable the line saying 
mail_location=mbox:~/mail:INBOX=/var/mail/%u
vi /etc/dovecot/conf.d/10-ssl.conf

if not using SSL then set
ssl=no

and comment out
#ssl_cert = 

vi /etc/dovecot/conf.d/10-auth.conf

if not using SSL then set
disable_plaintext_auth=no