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 4871a0b98ef12dcdbf208eeebd0166229f23c00c
Author: Quan Tran <hqt...@linagora.com>
AuthorDate: Tue Apr 1 15:15:32 2025 +0700

    Add a sample entry for configuring JMAP original IP header
---
 server/apps/distributed-app/sample-configuration/jvm.properties | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/server/apps/distributed-app/sample-configuration/jvm.properties 
b/server/apps/distributed-app/sample-configuration/jvm.properties
index 8509aeb856..e94da0797f 100644
--- a/server/apps/distributed-app/sample-configuration/jvm.properties
+++ b/server/apps/distributed-app/sample-configuration/jvm.properties
@@ -110,3 +110,7 @@ jmx.remote.x.mlet.allow.getMBeansFromURL=false
 # Previews takes roughly 10% DB space though can easily be recomputed. Storing 
preview for historical preview is
 # also needless. This property allows setting an expiry for previews.
 # james.jmap.preview.ttl=30d
+
+# Configure the header to get the original JMAP client's IP address. This is 
useful when James is behind a reverse proxy.
+# Defaults to the `x-forwarded-for` header.
+# james.jmap.mdc.original.ip.header=x-real-ip


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to