123456789101112131415161718192021222324252627 |
- # Generated by Chef
- # Authentication for vpopmail users. Included from auth.conf.
- #
- # <doc/wiki/AuthDatabase.VPopMail.txt>
- <% if Dovecot::Auth.has_passdb?(@auth['vpopmail']) -%>
- <%= Dovecot::Conf.authdb('vpopmail', 'passdb', @auth['vpopmail']['passdb']) %>
- <% else -%>
- passdb {
- driver = vpopmail
- # [cache_key=<key>] [webmail=<ip>]
- args =
- }
- <% end -%>
- <% if Dovecot::Auth.has_userdb?(@auth['vpopmail']) -%>
- <%= Dovecot::Conf.authdb('vpopmail', 'userdb', @auth['vpopmail']['userdb']) %>
- <% else -%>
- userdb {
- driver = vpopmail
- # [quota_template=<template>] - %q expands to Maildir++ quota
- args = quota_template=quota_rule=*:backend=%q
- }
- <% end -%>
|