auth-sql.conf.ext.erb 785 B

123456789101112131415161718192021222324252627282930
  1. # Authentication for SQL users. Included from auth.conf.
  2. #
  3. # <doc/wiki/AuthDatabase.SQL.txt>
  4. passdb {
  5. driver = sql
  6. # Path for SQL configuration file, see example-config/dovecot-sql.conf.ext
  7. args = /etc/dovecot/dovecot-sql.conf.ext
  8. }
  9. # "prefetch" user database means that the passdb already provided the
  10. # needed information and there's no need to do a separate userdb lookup.
  11. # <doc/wiki/UserDatabase.Prefetch.txt>
  12. #userdb {
  13. # driver = prefetch
  14. #}
  15. userdb {
  16. driver = sql
  17. args = /etc/dovecot/dovecot-sql.conf.ext
  18. }
  19. # If you don't have any user-specific settings, you can avoid the user_query
  20. # by using userdb static instead of userdb sql, for example:
  21. # <doc/wiki/UserDatabase.Static.txt>
  22. #userdb {
  23. #driver = static
  24. #args = uid=vmail gid=vmail home=/var/vmail/%u
  25. #}