12345678910111213141516171819202122232425262728293031323334 |
- # Generated by Chef
- # Static passdb. Included from auth.conf.
- # This can be used for situations where Dovecot doesn't need to verify the
- # username or the password, or if there is a single password for all users:
- #
- # - proxy frontend, where the backend verifies the password
- # - proxy backend, where the frontend already verified the password
- # - authentication with SSL certificates
- # - simple testing
- <% if Dovecot::Auth.has_passdb?(@auth['static']) -%>
- <%= Dovecot::Conf.authdb('static', 'passdb', @auth['static']['passdb']) %>
- <% else -%>
- #passdb {
- # driver = static
- # args = proxy=y host=%1Mu.example.com nopassword=y
- #}
- #passdb {
- # driver = static
- # args = password=test
- #}
- <% end -%>
- <% if Dovecot::Auth.has_userdb?(@auth['static']) -%>
- <%= Dovecot::Conf.authdb('static', 'userdb', @auth['static']['userdb']) %>
- <% else -%>
- #userdb {
- # driver = static
- # args = uid=vmail gid=vmail home=/home/%u
- #}
- <% end -%>
|