auth-vpopmail.conf.ext.erb 619 B

12345678910111213141516171819202122232425
  1. # Authentication for vpopmail users. Included from auth.conf.
  2. #
  3. # <doc/wiki/AuthDatabase.VPopMail.txt>
  4. <% if Dovecot::Auth.has_passdb?(@auth['vpopmail']) -%>
  5. <%= Dovecot::Conf.authdb('passdb', @auth['vpopmail']['passdb']) %>
  6. <% else -%>
  7. passdb {
  8. driver = vpopmail
  9. # [cache_key=<key>] [webmail=<ip>]
  10. args =
  11. }
  12. <% end -%>
  13. <% if Dovecot::Auth.has_userdb?(@auth['vpopmail']) -%>
  14. <%= Dovecot::Conf.authdb('userdb', @auth['vpopmail']['userdb']) %>
  15. <% else -%>
  16. userdb {
  17. driver = vpopmail
  18. # [quota_template=<template>] - %q expands to Maildir++ quota
  19. args = quota_template=quota_rule=*:backend=%q
  20. }
  21. <% end -%>