changeset 15761:ed5fa76f0dc7

NEWS, example-config: Add a note about quota_last_extra
author Timo Sirainen <tss@iki.fi>
date Mon, 11 Feb 2013 03:13:45 +0200
parents c890fa3b5efd
children 75c686b526d4
files NEWS doc/example-config/conf.d/90-quota.conf
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Mon Feb 11 03:07:24 2013 +0200
+++ b/NEWS	Mon Feb 11 03:13:45 2013 +0200
@@ -8,6 +8,9 @@
 	  It was already trivial to guess this from command replies.
 	* dovecot.index.cache files can be safely accessed only by v2.1.11+.
 	  Older versions may think they're corrupted and delete them.
+	* LDA/LMTP: If saving a mail brings user from under quota to over 
+	  quota, allow it based on quota_last_extra setting (default: 10%
+	  above quota limit).
 
 	+ Implemented IMAP MOVE and BINARY extensions
 	+ Implemented IMAP CATENATE, URLAUTH and URLAUTH=BINARY extensions
--- a/doc/example-config/conf.d/90-quota.conf	Mon Feb 11 03:07:24 2013 +0200
+++ b/doc/example-config/conf.d/90-quota.conf	Mon Feb 11 03:13:45 2013 +0200
@@ -17,6 +17,11 @@
 plugin {
   #quota_rule = *:storage=1G
   #quota_rule2 = Trash:storage=+100M
+
+  # LDA/LMTP allows saving the last mail to bring user from under quota to
+  # over quota, if the quota doesn't grow too high. Default is to allow as
+  # long as quota will stay under 10% above the limit. Also allowed e.g. 10M.
+  #quota_last_extra = 10%%
 }
 
 ##