From 8e2a0d0c88fdf463e150c7ab6cfb028c18820262 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 30 Dec 2025 18:50:38 +0100 Subject: [PATCH] fix thresholds in quota warnings --- src/content/docs/ispmail-trixie/330-quotas.mdx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/content/docs/ispmail-trixie/330-quotas.mdx b/src/content/docs/ispmail-trixie/330-quotas.mdx index 19cf6da..503f9ca 100644 --- a/src/content/docs/ispmail-trixie/330-quotas.mdx +++ b/src/content/docs/ispmail-trixie/330-quotas.mdx @@ -54,11 +54,20 @@ quota "User quota" { } } - # Set one warning level to 95% - warning warn-95 { - quota_storage_percentage = 95 + # Set one warning level to 100% + warning warn-100 { + quota_storage_percentage = 100 execute quota-warning { - args = 95 %{user} + args = 100 %{user} + } + } + + # User is no longer over quota + warning warn-under { + quota_storage_percentage = 100 + threshold = under + execute quota-warning { + args = below %{user} } } }