# Authentication for LDAP users. Included from 10-auth.conf. # # passdb { driver = ldap # Path for LDAP configuration file. args = /etc/dovecot/conf.d/ldap.conf } # "prefetch" user database means that the passdb already provided the # needed information and there's no need to do a separate userdb lookup. # #userdb { # driver = prefetch #} userdb { driver = ldap args = /etc/dovecot/conf.d/ldap.conf # Default fields can be used to specify defaults that LDAP may override # default_fields = home=/home/virtual/%u } # If you don't have any user-specific settings, you can avoid the userdb LDAP # lookup by using userdb static instead of userdb ldap, for example: # #userdb { # driver = static # args = uid=vmail gid=vmail home=/var/vmail/%u #}