You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2020/05/25 10:39:26 UTC
[james-project] branch master updated (86fcef0 -> 72165ab)
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git.
from 86fcef0 JAMES-3158 Deprecate HybridBlobStore
new 2acf1f4 JAMES-1541 Remove no longer existing TarpitHandler from configuration
new 47abdb4 JAMES-1541 Remove no longer existing SuppressDuplicateRcptHandler from configuration
new 301b976 JAMES-1541 Fix a typo in MailPriorityHandler in configuration
new 7d6e6f3 Fix a Typo in WebAdmin documentation
new 37fee88 JAMES-3187 Add webadmin enabled by default to jpa-guice docker image
new 72165ab JAMES-3187 Provisionned docker: add a cli helper script
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../destination/conf/webadmin.properties | 0
dockerfiles/run/guice/provisioned/Dockerfile | 3 ++-
dockerfiles/run/guice/provisioned/james-cli | 3 +++
server/app/src/main/resources/smtpserver.xml | 19 +------------------
src/site/markdown/server/manage-webadmin.md | 2 +-
5 files changed, 7 insertions(+), 20 deletions(-)
copy dockerfiles/run/guice/{cassandra => jpa}/destination/conf/webadmin.properties (100%)
create mode 100755 dockerfiles/run/guice/provisioned/james-cli
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[james-project] 05/06: JAMES-3187 Add webadmin enabled by default
to jpa-guice docker image
Posted by bt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 37fee88b1875c3c39a3be0091751774f4a69519e
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon May 18 18:53:11 2020 +0700
JAMES-3187 Add webadmin enabled by default to jpa-guice docker image
---
.../guice/jpa/destination/conf/webadmin.properties | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/dockerfiles/run/guice/jpa/destination/conf/webadmin.properties b/dockerfiles/run/guice/jpa/destination/conf/webadmin.properties
new file mode 100644
index 0000000..ec014ea
--- /dev/null
+++ b/dockerfiles/run/guice/jpa/destination/conf/webadmin.properties
@@ -0,0 +1,48 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# This template file can be used as example for James Server configuration
+# DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
+
+# Read https://james.apache.org/server/config-webadmin.html for further details
+
+enabled=true
+port=8000
+host=localhost
+
+# Defaults to false
+https.enabled=false
+
+# Compulsory when enabling HTTPS
+#https.keystore=/path/to/keystore
+#https.password=password
+
+# Optional when enabling HTTPS (self signed)
+#https.trust.keystore
+#https.trust.password
+
+# Defaults to false
+#jwt.enabled=true
+
+# Defaults to false
+#cors.enable=true
+#cors.origin
+
+# List of fully qualified class names that should be exposed over webadmin
+# in addition to your product default routes. Routes needs to be located
+# within the classpath or in the ./extensions-jars folder.
+#extensions.routes=
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[james-project] 04/06: Fix a Typo in WebAdmin documentation
Posted by bt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 7d6e6f39289d4c71075f00ceee6e8aa86a77bd95
Author: Andy Tan <18...@users.noreply.github.com>
AuthorDate: Mon May 25 09:06:59 2020 +0200
Fix a Typo in WebAdmin documentation
---
src/site/markdown/server/manage-webadmin.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/site/markdown/server/manage-webadmin.md b/src/site/markdown/server/manage-webadmin.md
index 5e6435e..43b3f26 100644
--- a/src/site/markdown/server/manage-webadmin.md
+++ b/src/site/markdown/server/manage-webadmin.md
@@ -491,7 +491,7 @@ Rerunning the task will *eventually* provide the consistent result. As such we a
In order to ensure being offline, stop the traffic on SMTP, JMAP and IMAP ports, for example via re-configuration or
firewall rules.
-`trustMessageProjection` query parameter can be set to `true`. Cpntent of `messageIdTable` (listing messages by their
+`trustMessageProjection` query parameter can be set to `true`. Content of `messageIdTable` (listing messages by their
mailbox context) table will be trusted and not compared against content of `imapUidTable` table (listing messages by their
messageId mailbox independent identifier). This will result in a better performance running the
task at the cost of safety in the face of message denormalization inconsistencies.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[james-project] 03/06: JAMES-1541 Fix a typo in MailPriorityHandler
in configuration
Posted by bt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 301b976e954ff5e51e55a5afcd98d04c47d87c98
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Tue May 19 08:46:45 2020 +0700
JAMES-1541 Fix a typo in MailPriorityHandler in configuration
---
server/app/src/main/resources/smtpserver.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/app/src/main/resources/smtpserver.xml b/server/app/src/main/resources/smtpserver.xml
index 14e16a3..7e6b01f 100644
--- a/server/app/src/main/resources/smtpserver.xml
+++ b/server/app/src/main/resources/smtpserver.xml
@@ -255,7 +255,7 @@
<!-- Normally the MailQueue will just handles Mails in FIFO manner -->
<!-- Valid priority values are 1,5,9 where 9 is the highest-->
<!--
- <handler class="org.apache.james.smtpserver.MailPriortyHandler">
+ <handler class="org.apache.james.smtpserver.MailPriorityHandler">
<priorityEntries>
<priorityEntry>
<domain>yourdomain1</domain>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[james-project] 02/06: JAMES-1541 Remove no longer existing
SuppressDuplicateRcptHandler from configuration
Posted by bt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 47abdb41e972aa5e2217d066bc954931800ef128
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Tue May 19 08:45:49 2020 +0700
JAMES-1541 Remove no longer existing SuppressDuplicateRcptHandler from configuration
---
server/app/src/main/resources/smtpserver.xml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/server/app/src/main/resources/smtpserver.xml b/server/app/src/main/resources/smtpserver.xml
index d0a5637..14e16a3 100644
--- a/server/app/src/main/resources/smtpserver.xml
+++ b/server/app/src/main/resources/smtpserver.xml
@@ -247,12 +247,6 @@
<whitelistedNetworks>127.0.0.0/8</whitelistedNetworks>
</handler>
-->
-
- <!-- This handler ignore duplicated recipients per session. So the email will get only send on time even -->
- <!-- if the recipient is specified more then once -->
- <!--
- <handler class="org.apache.james.smtpserver.protocol.core.fastfail.SuppressDuplicateRcptHandler"/>
- -->
<!-- Load the core command handlers -->
<handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[james-project] 06/06: JAMES-3187 Provisionned docker: add a cli
helper script
Posted by bt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 72165ab8f102599879aff28d165c5f3eaeab2d83
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon May 18 18:18:55 2020 +0700
JAMES-3187 Provisionned docker: add a cli helper script
---
dockerfiles/run/guice/provisioned/Dockerfile | 3 ++-
dockerfiles/run/guice/provisioned/james-cli | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/dockerfiles/run/guice/provisioned/Dockerfile b/dockerfiles/run/guice/provisioned/Dockerfile
index 1acdd8a..a0fdade 100644
--- a/dockerfiles/run/guice/provisioned/Dockerfile
+++ b/dockerfiles/run/guice/provisioned/Dockerfile
@@ -2,7 +2,7 @@
#
# VERSION 1.0
-FROM linagora/james-jpa-guice
+FROM linagora/james-jpa-guice:james-project-3.4.0
# Install git
RUN apt-get update
@@ -15,6 +15,7 @@ RUN cp /root/wait-for-it/wait-for-it.sh /usr/bin/wait-for-it.sh
COPY startup.sh /root
COPY initialdata.sh /root
+COPY james-cli /usr/local/bin/
RUN chmod +x /root/startup.sh
RUN chmod +x /root/initialdata.sh
diff --git a/dockerfiles/run/guice/provisioned/james-cli b/dockerfiles/run/guice/provisioned/james-cli
new file mode 100755
index 0000000..752e29c
--- /dev/null
+++ b/dockerfiles/run/guice/provisioned/james-cli
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+java -jar /root/james-cli.jar -h 127.0.0.1 -p 9999 "$@"
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[james-project] 01/06: JAMES-1541 Remove no longer existing
TarpitHandler from configuration
Posted by bt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 2acf1f4c434463219d9607f32d441ff06135d8db
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Tue May 19 08:45:15 2020 +0700
JAMES-1541 Remove no longer existing TarpitHandler from configuration
---
server/app/src/main/resources/smtpserver.xml | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/server/app/src/main/resources/smtpserver.xml b/server/app/src/main/resources/smtpserver.xml
index a26a06a..d0a5637 100644
--- a/server/app/src/main/resources/smtpserver.xml
+++ b/server/app/src/main/resources/smtpserver.xml
@@ -247,17 +247,6 @@
<whitelistedNetworks>127.0.0.0/8</whitelistedNetworks>
</handler>
-->
-
- <!-- Tarpitting is a method to insert a small sleep after each rcpt. For more -->
- <!-- infos read this: http://www.palomine.net/qmail/tarpit.html . -->
- <!-- Default is set to 0 (disabled). -->
- <!-- You can also configure the time to sleep in milliseconds -->
- <!--
- <handler class="org.apache.james.smtpserver.fastfail.TarpitHandler">
- <tarpitRcptCount>5</tarpitRcptCount>
- <tarpitSleepTime>5000</tarpitSleepTime>
- </handler>
- -->
<!-- This handler ignore duplicated recipients per session. So the email will get only send on time even -->
<!-- if the recipient is specified more then once -->
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org