Config updates with new dovecot version (I assume, anyway)
[sysconfig/dovecot.git] / conf.d / auth-passwdfile.conf.ext
index 3f57ceebdfa2e32ab299a6b2e95b9aec6a184b94..42f0e5e59c34b4ef4766b75838d94fcfc4140fc0 100644 (file)
@@ -1,14 +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 = scheme=CRYPT username_format=%u /etc/dovecot/users
+  args = scheme=CRYPT username_format=%u /etc/dovecot/extra-users.passwd
 }
 
 userdb {
   driver = passwd-file
-  args = username_format=%u /etc/dovecot/users
+  args = username_format=%u /etc/dovecot/extra-users.passwd
+
+  # Default fields that can be overridden by passwd-file
+  #default_fields = quota_rule=*:storage=1G
+
+  # Override fields from passwd-file
+  #override_fields = home=/home/virtual/%u
 }