Dovecot on debian
From DWIKI
Looks like the mysql support is a mess, so assuming ldap only.
Installing
The debian dovecot packages are hopelessly outdated, so compile your own. Remember to install libssl-dev first.
Doc
Remember the managesieve patch! http://www.rename-it.nl/dovecot/1.1/
cd /usr/src/dovecot-1.1.7 zcat /var/downloads/dovecot-1.1.7-managesieve-0.10.4.diff.gz |patch -p1