summaryrefslogtreecommitdiffstats
path: root/doc/example-config/conf.d/auth-checkpassword.conf.ext
diff options
context:
space:
mode:
Diffstat (limited to 'doc/example-config/conf.d/auth-checkpassword.conf.ext')
-rw-r--r--doc/example-config/conf.d/auth-checkpassword.conf.ext21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/example-config/conf.d/auth-checkpassword.conf.ext b/doc/example-config/conf.d/auth-checkpassword.conf.ext
new file mode 100644
index 0000000..b2fb13a
--- /dev/null
+++ b/doc/example-config/conf.d/auth-checkpassword.conf.ext
@@ -0,0 +1,21 @@
+# Authentication for checkpassword users. Included from 10-auth.conf.
+#
+# <doc/wiki/AuthDatabase.CheckPassword.txt>
+
+passdb {
+ driver = checkpassword
+ args = /usr/bin/checkpassword
+}
+
+# passdb lookup should return also userdb info
+userdb {
+ driver = prefetch
+}
+
+# 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
+#}