選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

dovecot-dict-auth.conf.ext 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # This file is commonly accessed via passdb {} or userdb {} section in
  2. # conf.d/auth-dict.conf.ext
  3. # Dictionary URI
  4. #uri =
  5. # Default password scheme
  6. default_pass_scheme = MD5
  7. # Username iteration prefix. Keys under this are assumed to contain usernames.
  8. iterate_prefix = userdb/
  9. # Should iteration be disabled for this userdb? If this userdb acts only as a
  10. # cache there's no reason to try to iterate the (partial & duplicate) users.
  11. #iterate_disable = no
  12. # The example here shows how to do multiple dict lookups and merge the replies.
  13. # The "passdb" and "userdb" keys are JSON objects containing key/value pairs,
  14. # for example: { "uid": 1000, "gid": 1000, "home": "/home/user" }
  15. key passdb {
  16. key = passdb/%u
  17. format = json
  18. }
  19. key userdb {
  20. key = userdb/%u
  21. format = json
  22. }
  23. key quota {
  24. key = userdb/%u/quota
  25. #format = value
  26. # The default_value is used if the key isn't found. If default_value setting
  27. # isn't specified at all (even as empty), the passdb/userdb lookup fails with
  28. # "user doesn't exist".
  29. default_value = 100M
  30. }
  31. # Space separated list of keys whose values contain key/value paired objects.
  32. # All the key/value pairs inside the object are added as passdb fields.
  33. passdb_objects = passdb
  34. #passdb_fields {
  35. #}
  36. # Userdb key/value object list.
  37. userdb_objects = userdb
  38. userdb_fields {
  39. # dict:<key> refers to key names
  40. quota_rule = *:storage=%{dict:quota}
  41. # dict:<key>.<objkey> refers to the objkey inside (JSON) object
  42. mail = maildir:%{dict:userdb.home}/Maildir
  43. }