LDAP AuthenticationΒΆ

See LDAP for more details.

passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}

These enable LDAP to be used as passdb and userdb. The userdb prefetch allows IMAP or POP3 logins to do only a single LDAP lookup by returning the userdb information already in the passdb lookup. Prefetch User Database has more details on the prefetch userdb.

See common LDAP configuration and auth LDAP configuration for the setting parameters available in the ldap conf.ext (i.e, /etc/dovecot/dovecot-ldap.conf.ext shown in the above example),