depurando whitespace

This commit is contained in:
Mauro Torrez 2019-05-31 00:30:12 -03:00
parent 3be0770b0d
commit ebfb63ed12

View File

@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: True
## ##
## Quota configuration. ## Quota configuration.
## ##
@ -15,17 +16,20 @@
# to give additional 100 MB when saving to Trash: # to give additional 100 MB when saving to Trash:
plugin { plugin {
#quota_rule = *:storage=1G
#quota_rule2 = Trash:storage=+100M
quota_rule = *:storage={{ dovecot_quota_limit }} 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 }} quota_rule{{ loop.index + 1 }} = {{ key }}:storage=+{{ value }}
{% endfor %} {% endfor %}
# LDA/LMTP allows saving the last mail to bring user from under quota to # 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 # 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. # 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("%.*$","%%") }} quota_grace = {{ dovecot_quota_grace | regex_replace("%.*$","%%") }}
{%- if dovecot_quota_driver == "count" %} {% if dovecot_quota_driver == "count" %}
quota_vsizes = yes quota_vsizes = yes
{% endif %} {% endif %}
} }