Setting up Email Server using Postfix, Extman & Extmail

apt-get install postfix
apt-get install postfix-mysql
apt-get install apache-suexec
apt-get install courier-maildrop
apt-get install courier-pop
apt-get install courier-imap
apt-get install courier-authlib-mysql
apt-get install courier-authlib
apt-get install sasl2-bin

a2enmod suexec

Important paths:

/etc/courier

/etc/apache2/sites-available/

/etc/postfix

/var/www/extsuite/

/var/mailbox/

SMTP AUTH

/etc/postfix/sasl

saslpasswd2 -c -u mail.159group.hk -a smtpauth 159group

Update Ubuntu 10 to 12

1. Update the sources.list in /etc/apt/ with following source lists

deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse