changeset 6050:252158d40baf HEAD

quota_warning examples need to use %%, not %
author Timo Sirainen <tss@iki.fi>
date Wed, 18 Jul 2007 00:22:56 +0300
parents 1246c1c08742
children de9b604f0802
files dovecot-example.conf
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dovecot-example.conf	Wed Jul 18 00:12:20 2007 +0300
+++ b/dovecot-example.conf	Wed Jul 18 00:22:56 2007 +0300
@@ -1087,8 +1087,9 @@
   # You can execute a given command when user exceeds a specified quota limit.
   # Each quota root has separate limits. Only the command for the first
   # exceeded limit is excecuted, so put the highest limit first.
-  #   quota_warning = storage=95% /usr/local/bin/quota-warning.sh 95
-  #   quota_warning2 = storage=80% /usr/local/bin/quota-warning.sh 80
+  # Note that % needs to be escaped as %%, otherwise "% " expands to empty.
+  #   quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
+  #   quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
   #quota = maildir
 
   # ACL plugin. vfile backend reads ACLs from "dovecot-acl" file from maildir