actualizando templates

This commit is contained in:
Mauro Torrez
2019-05-30 23:51:58 -03:00
parent f1066458fb
commit d09183957f
6 changed files with 25 additions and 30 deletions

View File

@@ -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