auth-master.conf.ext.erb 736 B

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