Qmail OpenLdap On Ubuntu
This guide will help you easily set up a email server On Ubuntu using Qmail as MTA, OpenLDAP as a back-end for users, and Courier IMAP for IMAP server.
Read more: http://howtoforge.com/qmail-openldap-on-ubuntu