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. There's a convenient init script at http://wiki.dovecot.org/DovecotInit
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