From ebfb63ed12fe3b84c3c3fd08c5b632a4f33c457d Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Fri, 31 May 2019 00:30:12 -0300 Subject: [PATCH] depurando whitespace --- templates/90-quota.conf.j2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/90-quota.conf.j2 b/templates/90-quota.conf.j2 index 86588a0..17ba518 100644 --- a/templates/90-quota.conf.j2 +++ b/templates/90-quota.conf.j2 @@ -1,3 +1,4 @@ +#jinja2: lstrip_blocks: True ## ## Quota configuration. ## @@ -15,17 +16,20 @@ # to give additional 100 MB when saving to Trash: plugin { + #quota_rule = *:storage=1G + #quota_rule2 = Trash:storage=+100M quota_rule = *:storage={{ dovecot_quota_limit }} - {%- for key, value in dovecot_quota_additional_limit.items() %} + {% for key, value in dovecot_quota_additional_limit.items() %} 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 = 10%% quota_grace = {{ dovecot_quota_grace | regex_replace("%.*$","%%") }} - {%- if dovecot_quota_driver == "count" %} + {% if dovecot_quota_driver == "count" %} quota_vsizes = yes {% endif %} }