summaryrefslogtreecommitdiffstats
path: root/doc/example-config/conf.d/auth-master.conf.ext
diff options
context:
space:
mode:
Diffstat (limited to 'doc/example-config/conf.d/auth-master.conf.ext')
-rw-r--r--doc/example-config/conf.d/auth-master.conf.ext16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/example-config/conf.d/auth-master.conf.ext b/doc/example-config/conf.d/auth-master.conf.ext
new file mode 100644
index 0000000..2cf128f
--- /dev/null
+++ b/doc/example-config/conf.d/auth-master.conf.ext
@@ -0,0 +1,16 @@
+# Authentication for master users. Included from 10-auth.conf.
+
+# By adding master=yes setting inside a passdb you make the passdb a list
+# of "master users", who can log in as anyone else.
+# <doc/wiki/Authentication.MasterUsers.txt>
+
+# Example master user passdb using passwd-file. You can use any passdb though.
+passdb {
+ driver = passwd-file
+ master = yes
+ args = /etc/dovecot/master-users
+
+ # Unless you're using PAM, you probably still want the destination user to
+ # be looked up from passdb that it really exists. pass=yes does that.
+ pass = yes
+}