Config updates with new dovecot version (I assume, anyway)
[sysconfig/dovecot.git] / conf.d / auth-passwdfile.conf.ext
index 81ab213d792e07283fd79ed089d78b9eb7f825a6..42f0e5e59c34b4ef4766b75838d94fcfc4140fc0 100644 (file)
@@ -1,19 +1,20 @@
-# Authentication for passwd-file users. Included from auth.conf.
+# Authentication for passwd-file users. Included from 10-auth.conf.
 #
 # passwd-like file with specified location.
 # <doc/wiki/AuthDatabase.PasswdFile.txt>
 
 passdb {
   driver = passwd-file
-  args = /etc/dovecot/extra-users.passwd
+  args = scheme=CRYPT username_format=%u /etc/dovecot/extra-users.passwd
 }
 
-#passdb {
-#  driver = passwd-file
-#  args = scheme=CRYPT username_format=%u /etc/dovecot/users
-#}
+userdb {
+  driver = passwd-file
+  args = username_format=%u /etc/dovecot/extra-users.passwd
+
+  # Default fields that can be overridden by passwd-file
+  #default_fields = quota_rule=*:storage=1G
 
-#userdb {
-#  driver = passwd-file
-#  args = username_format=%u /etc/dovecot/users
-#}
+  # Override fields from passwd-file
+  #override_fields = home=/home/virtual/%u
+}