diff --git a/Dovecot/Configuration/conf.d/proto.90-quota.conf b/Dovecot/Configuration/conf.d/proto.90-quota.conf index e4b22e4..1efd9bc 100644 --- a/Dovecot/Configuration/conf.d/proto.90-quota.conf +++ b/Dovecot/Configuration/conf.d/proto.90-quota.conf @@ -1,5 +1,6 @@ plugin { + quota_rule = *:storage={{SERVICE.MAIL_RECEIVE.MAILBOXES_CAPACITY}} quota_rule1 = INBOX/Trash:storage=1G quota_rule2 = INBOX/Archive:storage=+20%% diff --git a/Dovecot/Utils/proto.quota-warning.sh b/Dovecot/Utils/proto.quota-warning.sh index 77092f5..8ef3ff1 100755 --- a/Dovecot/Utils/proto.quota-warning.sh +++ b/Dovecot/Utils/proto.quota-warning.sh @@ -3,8 +3,8 @@ PERCENT=$1 USER=$2 -cat <