So here it is. I managed to install a mailserver using postfix, dovecot and postfixadmin. For the database I used MySQL. Postfix will use Dovecot’s sasl. This howto assumes you have a working apache2 webserver installed. So then let’s go!
1. Install all the software
First you need to install postfix, dovecot and mysql. Remember your MySQL-admin password!
aptitude install postfix postfix-mysql postfix-pcre dovecot-imapd dovecot-pop3d mysql-server
Next you need to install postfixadmin. But first we’ll install the tools to do so.
aptitude install dpkg-dev subversion
Since we want to install Postfixadmin 2.2 we need to get it from SVN and make a package we can install.
svn co https://postfixadmin.svn.sourceforge.net/svnroot/postfixadmin/trunk postfixadmin
cd postfixadmin
dpkg-buildpackage
dpkg -i ../postfixadmin*.deb
All the required software is now installed. Next up Configuration. Oh what a joy!
