1234567891011121314151617181920212223242526272829 |
- # Authentication for checkpassword users. Included from auth.conf.
- #
- # <doc/wiki/AuthDatabase.CheckPassword.txt>
- <% 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
- #}
|