passdb {
driver = ldap
args = /etc/dovecot/dovecot-ldap.conf.ext
override_fields = user=%{auth_user}
}
userdb {
driver = static
args = uid=vmail gid=vmail home=/var/vmail/%d/%n mail=maildir:/var/vmail/%d/%n/Maildir