[...] userdb { driver = ldap # Path for LDAP configuration file, see example-config/dovecot-ldap.conf.ext args = /etc/dovecot/dovecot-ldap.conf.ext default_fields = home=/var/mail/%u uid=mail gid=mail }