# Authentication for checkpassword users. Included from auth.conf. # # <% if Dovecot::Auth.has_passdb?(@auth['checkpassword']) -%> <%= Dovecot::Conf.authdb('passdb', @auth['checkpassword']['passdb']) %> <% else -%> passdb { driver = checkpassword args = /usr/bin/checkpassword } <% end -%> <% if Dovecot::Auth.has_userdb?(@auth['checkpassword']) -%> <%= Dovecot::Conf.authdb('userdb', @auth['checkpassword']['userdb']) %> <% else -%> # passdb lookup should return also userdb info userdb { driver = prefetch } <% end -%> # Standard checkpassword doesn't support direct userdb lookups. # If you need checkpassword userdb, the checkpassword must support # Dovecot-specific extensions. #userdb { # driver = checkpassword # args = /usr/bin/checkpassword #}