From ISPMan

Implementation of Dovecot,Postfix, ldap with ISPMAN Experiences developed by Leandro Rache: DOVECOT with ISPMAN Integration with Postfix (LDAP)

download dovecot for ispman:
Or source code
# rpm -ivh dovecot-0.99.14-1.el3.ispman
For to Build certificate ->

mkdir /etc/dovecot/ssl
cd /etc/dovecot/ssl
Build Certificate SSL (10 years)->
openssl req -new -x509 -nodes -out dovecot.pem -keyout dovecot.pem -days 3650
The accounts are enabling with PAM (pam-ldap), therefore is not necesary 
to configure ldap parameters in dovecot if pam-ldap is enabled

File /etc/dovecot.conf ->
protocols = imap imaps pop3 pop3s
ssl_disable = no
ssl_cert_file = /etc/dovecot/ssl/dovecot.pem
ssl_key_file = /etc/dovecot/ssl/dovecot.pem
login = imap
login = pop3
default_mail_env = maildir:
auth = default
auth_userdb = passwd
auth_passdb = pam
auth_user = root
for each user is necessary the maildir carpet

Support The Bounties: