dovecot: quota_warning examples need to use %%, not %

dovecot at dovecot.org dovecot at dovecot.org
Wed Jul 18 00:23:00 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/252158d40baf
changeset: 6050:252158d40baf
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jul 18 00:22:56 2007 +0300
description:
quota_warning examples need to use %%, not %

diffstat:

1 file changed, 3 insertions(+), 2 deletions(-)
dovecot-example.conf |    5 +++--

diffs (15 lines):

diff -r 1246c1c08742 -r 252158d40baf dovecot-example.conf
--- 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 @@ plugin {
   # 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


More information about the dovecot-cvs mailing list