auth.conf 376 B

123456789101112131415161718192021
  1. auth_mechanisms = plain login
  2. auth_allow_cleartext = no
  3. import_environment {
  4. SUBMISSION_TLS_CERT = %{env:SUBMISSION_TLS_CERT}
  5. SUBMISSION_TLS_KEY = %{env:SUBMISSION_TLS_KEY}
  6. }
  7. passdb lua {
  8. lua_file = /etc/dovecot/auth.lua
  9. use_worker = yes
  10. }
  11. userdb static {
  12. allow_all_users = yes
  13. fields {
  14. uid = 1000
  15. gid = 1000
  16. home = /srv/vmail/%{user | lower}
  17. }
  18. }