Integrating IMAP, LDAP, and Postfix on Debian

debian + imap + pop + postfix + maildrop + courier + maildir + ldap + sasl + ssl/tls + virtual users + bogofilter + squirrelmail

Buffy is the codename for this detailed and complete recipe on creating an advanced mail system using debian, ldap, courier and postfix.

This mail system has five main components:

Features:
  • web based admin: administrators can perform almost all account management functions from an easy web interface.
  • web based user settings: end users have a easy to use control panel to manage their account settings.
  • protocals: imap, imaps, pop, pops, smtp, smtps, http, https.
  • quota support: each user has a quota, stored in a database, which is enforced.
  • mail filtering: all incoming mail can be filtered for spam or viruses. users can write their own global filters.
  • high performance: each software package used is either the fastest free software package available or close to it.
  • multiple servers: multiple machines can divide up the mail load, each responsible for a different subset of users.
  • virtual users: mail accounts are only mail accounts and not login accounts stored entirely in ldap.
When I first wrote this, I could find no similar tutorials. However, now there are many good ones. Here are some links to other mail system howtos: