add imap sieve setting to mail plugins

This commit is contained in:
psy 2021-02-12 15:59:10 +01:00
parent b4dbaf5047
commit afa041d39d
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5
2 changed files with 2 additions and 5 deletions

View file

@ -10,3 +10,4 @@ dovecot:
user: []
quota: ""
quota_grace: "10"
imap_sieve: False

View file

@ -90,11 +90,7 @@
protocol imap {
# Space separated list of plugins to load (default is global mail_plugins).
{% if dovecot.quota -%}
mail_plugins = $mail_plugins imap_quota
{% else -%}
#mail_plugins = $mail_plugins
{% endif -%}
mail_plugins = $mail_plugins{% if dovecot.quota %} imap_quota{% endif %}{% if dovecot.imap_sieve %} imap_sieve{% endif %}
# Maximum number of IMAP connections allowed for a user from each IP address.
# NOTE: The username is compared case-sensitively.