Yesterday I had the pleasure of setting up a mailserver for my private domains. Since we had a very good experience with Postfix and Dovecot at work, I was looking for a simple tutorial on how to set up Postfix for SMTP and Dovecot for IMAP (I did some mail server setups with qmail and Postfix before and now really prefer Postfix).

At first I tried a tutorial at HowtoForge, which used LDAP as a backend for virtual mailboxes, but it didn’t work with OpenLDAP 2.4, the version Ubuntu Intrepid ships with.

In the end I found the following very good tutorial: Howto: ISP-style Email Server with Debian-Etch and Postfix 2.3

Although the title says it’s for Debian Etch, it worked flawlessly on my Ubuntu Intrepid VM.