This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 48b807902c4f255db75fba6c468e48e09aa0b1dc
Author: Benoit Tellier <[email protected]>
AuthorDate: Wed Jul 7 16:43:28 2021 +0700

    JAMES-3610 IMAP: unit for size related options (documentation)
---
 docs/modules/servers/pages/distributed/configure/imap.adoc | 7 ++++++-
 src/site/xdoc/server/config-imap4.xml                      | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/docs/modules/servers/pages/distributed/configure/imap.adoc 
b/docs/modules/servers/pages/distributed/configure/imap.adoc
index 6aa4f13..178776d 100644
--- a/docs/modules/servers/pages/distributed/configure/imap.adoc
+++ b/docs/modules/servers/pages/distributed/configure/imap.adoc
@@ -36,7 +36,12 @@ port 993 is the well-known/IANA registered port for IMAPS  
ie over SSL/TLS
 This should be set with caution as a to high value can make the server a 
target for DOS (Denial of Service)!
 
 | inMemorySizeLimit
-| 10MB size limit before we will start to stream to a temporary file
+| Optional. Size limit before we will start to stream to a temporary file.
+Defaults to 10MB. Must be a positive integer, optionally with a unit: B, K, M, 
G.
+
+| literalSizeLimit
+| Optional. Maximum size of a literal (IMAP APPEND).
+Defaults to 0 (unlimited). Must be a positive integer, optionally with a unit: 
B, K, M, G.
 
 | plainAuthDisallowed
 | Whether or not to enable Authentication PLAIN if the connection is not 
encrypted via SSL or STARTTLS
diff --git a/src/site/xdoc/server/config-imap4.xml 
b/src/site/xdoc/server/config-imap4.xml
index 7b448ca..ae85636 100644
--- a/src/site/xdoc/server/config-imap4.xml
+++ b/src/site/xdoc/server/config-imap4.xml
@@ -53,8 +53,13 @@
         <dt><strong>maxLineLength</strong></dt>
         <dd>Maximal allowed line-length before a BAD response will get 
returned to the client
             This should be set with caution as a to high value can make the 
server a target for DOS (Denial of Service)!</dd>
+
         <dt><strong>inMemorySizeLimit</strong></dt>
-        <dd>10MB size limit before we will start to stream to a temporary 
file</dd>
+        <dd>Optional. Size limit before we will start to stream to a temporary 
file.
+            Defaults to 10MB. Must be a positive integer, optionally with a 
unit: B, K, M, G.</dd>
+        <dt><strong>literalSizeLimit</strong></dt>
+        <dd>Optional. Maximum size of a literal (IMAP APPEND).
+            Defaults to 0 (unlimited). Must be a positive integer, optionally 
with a unit: B, K, M, G.</dd>
         <dt><strong>jmxName</strong></dt>
         <dd>The name given to the configuration</dd>
         <dt><strong>tls</strong></dt>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to