diff dovecot-example.conf @ 6032:6edca218d48a HEAD

Added quota warning commands. Based lightly on a patch by Nicolas Boullis.
author Timo Sirainen <tss@iki.fi>
date Mon, 16 Jul 2007 02:41:40 +0300
parents 12f6a19dc846
children 252158d40baf
line wrap: on
line diff
--- a/dovecot-example.conf	Mon Jul 16 02:00:35 2007 +0300
+++ b/dovecot-example.conf	Mon Jul 16 02:41:40 2007 +0300
@@ -1083,6 +1083,12 @@
   #   quota2_rule = *:storage=1048576
   # Gives each user their own 100MB quota and one shared 1GB quota within
   # the domain.
+  #
+  # 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
   #quota = maildir
 
   # ACL plugin. vfile backend reads ACLs from "dovecot-acl" file from maildir