Installing a new mailserver
apt-get install openssh-server proftpd snmpd iotop mtop iptstate atsar postfix shorewall vim awstats bmon nscd sshfs mc zip unzip bzip2 arj spamassassin pyzor razor ncftp rsync quota ntpdate ntp vacation pdnsd
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