actualizando templates
This commit is contained in:
@@ -15,17 +15,17 @@
|
||||
# to give additional 100 MB when saving to Trash:
|
||||
|
||||
plugin {
|
||||
quota_rule = *:storage={{dovecot_plugin_quota.limit}}
|
||||
{% for key, value in dovecot_plugin_quota.mailbox_additional_limit.iteritems() -%}
|
||||
quota_rule{{ loop.index + 1 }} = {{ key }}:storage=+{{value}}
|
||||
quota_rule = *:storage={{ dovecot_quota_limit }}
|
||||
{%- for key, value in dovecot_quota_additional_limit.iteritems() %}
|
||||
quota_rule{{ loop.index + 1 }} = {{ key }}:storage=+{{ value }}
|
||||
{% endfor %}
|
||||
|
||||
# LDA/LMTP allows saving the last mail to bring user from under quota to
|
||||
# over quota, if the quota doesn't grow too high. Default is to allow as
|
||||
# long as quota will stay under 10% above the limit. Also allowed e.g. 10M.
|
||||
quota_grace = {{ dovecot_plugin_quota.grace | regex_replace("%.*$","%%") }}
|
||||
quota_grace = {{ dovecot_quota_grace | regex_replace("%.*$","%%") }}
|
||||
|
||||
{% if dovecot_plugin_quota.driver == "count" -%}
|
||||
{%- if dovecot_quota_driver == "count" %}
|
||||
quota_vsizes = yes
|
||||
{% endif %}
|
||||
}
|
||||
@@ -70,7 +70,7 @@ plugin {
|
||||
# fs: Read-only support for filesystem quota
|
||||
|
||||
plugin {
|
||||
quota = {{ dovecot_plugin_quota.driver }}:User quota
|
||||
quota = {{ dovecot_quota_driver }}:User quota
|
||||
#quota = dirsize:User quota
|
||||
#quota = maildir:User quota
|
||||
#quota = dict:User quota::proxy::quota
|
||||
|
||||
Reference in New Issue
Block a user