Installing a new mailserver
First install Postfix
Then install Spamassassin
Follow by installing Webmail Squirrelmail for Debian
Which also installs Dovecot
Because we want the system to support IMAP functionality fully, there are some changes to to be made which will be documented further. For now, look at Converting from mbox to maildir