auth-master.conf.ext.erb 700 B

1234567891011121314151617181920
  1. # Authentication for master users. Included from auth.conf.
  2. # By adding master=yes setting inside a passdb you make the passdb a list
  3. # of "master users", who can log in as anyone else.
  4. # <doc/wiki/Authentication.MasterUsers.txt>
  5. <% if Dovecot::Auth.has_passdb?(@auth['master']) -%>
  6. <%= Dovecot::Conf.authdb('passdb', @auth['master']['passdb']) %>
  7. <% else -%>
  8. # Example master user passdb using passwd-file. You can use any passdb though.
  9. passdb {
  10. driver = passwd-file
  11. master = yes
  12. args = /etc/dovecot/master-users
  13. # Unless you're using PAM, you probably still want the destination user to
  14. # be looked up from passdb that it really exists. pass=yes does that.
  15. pass = yes
  16. }
  17. <% end -%>