You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/06/26 01:08:39 UTC
[james-project] 01/23: JAMES-3603 Remove unmaintained Debiam/RPM
packages
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 c67eda2999dd50c3c4fa6acfab1ed8013f9b7180
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu Jun 24 10:47:41 2021 +0700
JAMES-3603 Remove unmaintained Debiam/RPM packages
https://www.mail-archive.com/server-dev@james.apache.org/msg70419.html
dockerfiles/packaging is unmaintained
It aimed at delivering Debian / RPM images for James. However:
- It uses Linagora images and not apache ones
- It is not integrated to the Apache build, not integrated as
release artifacts
- With the images reworks, it looks broken now.
---
README.adoc | 44 -------
dockerfiles/packaging/guice/cassandra/Dockerfile | 42 ------
dockerfiles/packaging/guice/cassandra/package.sh | 56 --------
.../etc/james/templates/blobstore.properties | 8 --
.../etc/james/templates/cassandra.properties | 6 -
.../package/etc/james/templates/dnsservice.xml | 29 -----
.../package/etc/james/templates/domainlist.xml | 28 ----
.../etc/james/templates/elasticsearch.properties | 43 ------
.../package/etc/james/templates/imapserver.xml | 54 --------
.../package/etc/james/templates/jmap.properties | 13 --
.../package/etc/james/templates/jmx.properties | 28 ----
.../package/etc/james/templates/jwt_publickey | 3 -
.../package/etc/james/templates/lmtpserver.xml | 41 ------
.../package/etc/james/templates/logback.xml | 31 -----
.../etc/james/templates/mailetcontainer.xml | 145 ---------------------
.../etc/james/templates/mailrepositorystore.xml | 34 -----
.../etc/james/templates/managesieveserver.xml | 65 ---------
.../package/etc/james/templates/pop3server.xml | 42 ------
.../etc/james/templates/rabbitmq.properties | 6 -
.../etc/james/templates/recipientrewritetable.xml | 26 ----
.../package/etc/james/templates/smtpserver.xml | 105 ---------------
.../etc/james/templates/usersrepository.xml | 26 ----
.../etc/james/templates/webadmin.properties | 41 ------
.../guice/cassandra/package/usr/lib/.gitkeep | 0
.../cassandra/package/usr/share/james/.gitkeep | 0
.../guice/cassandra/scripts/james.postinst | 12 --
.../guice/cassandra/scripts/james.postremove | 6 -
.../guice/cassandra/scripts/james.rpm.postinst | 13 --
.../guice/cassandra/scripts/james.rpm.postremove | 12 --
.../guice/cassandra/scripts/james.rpm.postupgrade | 5 -
.../guice/cassandra/scripts/james.service | 34 -----
.../guice/cassandra/scripts/james.service.rhel | 34 -----
.../packaging/guice/cassandra/scripts/package.sh | 62 ---------
33 files changed, 1094 deletions(-)
diff --git a/README.adoc b/README.adoc
index f69b533..2aeeb36 100644
--- a/README.adoc
+++ b/README.adoc
@@ -54,7 +54,6 @@ There is many other ways one can help us: packaging, communication, etc ...
* link:#develop-on-james[Develop on James]
** link:#how-to-run-deployment-tests[How to run deployment Tests]
** link:#how-to-check-the-merge-of-a-commit[How to check the merge of a commit]
- * link:#generating-a-package-for-james[Generating a package for James]
* link:#know-more-about-james-design[Know more about James design]
* link:#articles-for-james-community[Articles for James community]
** link:#how-to-build-and-publish-the-website[How to build and publish the website]
@@ -288,49 +287,6 @@ Where :
- SHA1: is the given git SHA1 of the james-project repository to merge.
- RESULTING_BRANCH: is the branch created when merging.
-== Generating a package for James
-
-You can generate a deb package and an RPM package for James by using the following process.
-
-First step, you have to build the Docker image used to generate the package
-
- $ docker build -t build-james-packages \
- --build-arg RELEASE=3.2.0 \
- --build-arg ITERATION=1 \
- --build-arg BASE=linagora/james-project \
- --build-arg BASE_LDAP=linagora/james-ldap-project \
- --build-arg BASE_RABBITMQ=linagora/james-rabbitmq-project \
- --build-arg TAG=latest \
- dockerfiles/packaging/guice/cassandra
-
-Where:
-
-- ITERATION is the release number used after the last hyphen (e.g. 3.0.1, 3.1.0, 3.2.0...)
-- BASE is the image jar and executable are copied from. Defaults to linagora/james-project
-- BASE_LDAP is the image jar and executable are copied from for a deployment with an LDAP user repository. Defaults to linagora/james-ldap-project
-- BASE_RABBITMQ is the image jar and executable are copied from for a deployment of linagora/james-project + RabbitMQ + S3 BlobStore.
-Defaults to linagora/james-rabbitmq-project
-- TAG is the tag of these docker images. Defaults to latest.
-
-Then, you have to run the container:
-
- $ docker run --name james-packages -v $PWD/result:/result build-james-packages
-
-Where:
-
-- $PWD/result is the folder where the deb and the RPM packages will be copied
-
-Note: A helper script is provided for the generation of packages for a specific git commit. For instance:
-
- $ sh dockerfiles/packaging/guice/cassandra/package.sh 3.2.0 1 c298195e84 $PWD/result
-
-The generated package allow you to choose between a deployment with or without LDAP using update-alternatives.
-Once installed, try:
-
- $ update-alternatives --config james
-
-By default James is configured without LDAP support.
-
== Know more about James design
James comes with a https://james.apache.org/documentation.html[Documentation] and https://github.com/linagora/james-project/tree/master/src/adr[Architectural Decision Records].
diff --git a/dockerfiles/packaging/guice/cassandra/Dockerfile b/dockerfiles/packaging/guice/cassandra/Dockerfile
deleted file mode 100644
index d05f613..0000000
--- a/dockerfiles/packaging/guice/cassandra/Dockerfile
+++ /dev/null
@@ -1,42 +0,0 @@
-ARG BASE=linagora/james-project
-ARG BASE_LDAP=linagora/james-ldap-project
-ARG BASE_RABBITMQ=linagora/james-rabbitmq-project
-ARG BASE_RABBITMQ_LDAP=linagora/james-cassandra-rabbitmq-ldap-project
-ARG TAG=latest
-FROM ${BASE}:${TAG} as source
-FROM ${BASE_LDAP}:${TAG} as sourceLdap
-FROM ${BASE_RABBITMQ}:${TAG} as sourceRabbitMQ
-FROM ${BASE_RABBITMQ_LDAP}:${TAG} as sourceRabbitMQLdap
-
-FROM debian:8.11
-
-RUN apt-get update
-RUN apt-get install -y ruby-dev ruby build-essential
-RUN gem install fpm
-RUN apt-get install -y rpm
-
-ADD scripts/ /packages
-
-COPY scripts/james.service /packages/package/usr/share/james/
-COPY --from=source /root/james-server.jar /packages/package/usr/share/james/james-withoutldap-server.jar
-COPY --from=source /root/james-cli.jar /packages/package/usr/share/james/james-cli.jar
-COPY --from=sourceLdap /root/james-server.jar /packages/package/usr/share/james/james-ldap-server.jar
-COPY --from=sourceRabbitMQ /root/james-server.jar /packages/package/usr/share/james/james-rabbitmq-withoutldap-server.jar
-COPY --from=sourceRabbitMQLdap /root/james-server.jar /packages/package/usr/share/james/james-rabbitmq-ldap-server.jar
-COPY --from=source /root/james-server-cassandra-guice.lib/ /packages/package/usr/share/james/james-server-cassandra-guice.lib/
-COPY --from=sourceLdap /root/james-server-cassandra-ldap-guice.lib/ /packages/package/usr/share/james/james-server-cassandra-ldap-guice.lib/
-COPY --from=sourceRabbitMQ /root/james-server-cassandra-rabbitmq-guice.lib/ /packages/package/usr/share/james/james-server-cassandra-rabbitmq-guice.lib/
-COPY --from=sourceRabbitMQLdap /root/james-server-cassandra-rabbitmq-ldap-guice.lib /packages/package/usr/share/james/james-server-cassandra-rabbitmq-ldap-guice.lib
-COPY --from=source /root/james-server-cli.lib/ /packages/package/usr/share/james/james-server-cli.lib/
-
-RUN mkdir -p /packages/package/var/lib/james
-RUN mkdir -p /packages/package/var/log/james
-
-ARG RELEASE
-ENV RELEASE $RELEASE
-ARG ITERATION
-ENV ITERATION $ITERATION
-
-WORKDIR /packages
-
-ENTRYPOINT [ "sh", "-c", "/packages/package.sh $RELEASE $ITERATION" ]
diff --git a/dockerfiles/packaging/guice/cassandra/package.sh b/dockerfiles/packaging/guice/cassandra/package.sh
deleted file mode 100644
index 908a0ac..0000000
--- a/dockerfiles/packaging/guice/cassandra/package.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh -e
-
-printUsage() {
- echo "Usage : "
- echo "./package.sh RELEASE ITERATION SHA1 DIRECTORY"
- echo " RELEASE : The release to be generated."
- echo " ITERATION: The iteration to give to the package."
- echo " SHA1: The SHA-1 to build packages against"
- echo " DIRECTORY: The directory where to put build results"
- exit 1
-}
-
-
-if [ "$#" -ne 4 ]; then
- printUsage
-fi
-
-RELEASE=$1
-ITERATION=$2
-SHA1=$3
-DIRECTORY=$4
-
-# Build Compiler environment
-docker build -t james/project dockerfiles/compilation/java-8
-
-# Compile James
-docker run \
- --rm \
- --volume $PWD/.m2:/root/.m2 \
- --volume $PWD:/origin \
- --volume $PWD/dockerfiles/run/guice/cassandra/destination:/cassandra/destination \
- --volume $PWD/dockerfiles/run/guice/cassandra-ldap/destination:/cassandra/destination \
- --volume $PWD/dockerfiles/run/guice/cassandra-rabbitmq/destination:/cassandra-rabbitmq/destination \
- --volume $PWD/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination:/cassandra-rabbitmq-ldap/destination \
- -t james/project -s $SHA1
-
-# Build image James with Cassandra
-docker build -t james_run dockerfiles/run/guice/cassandra
-docker build -t james_run_ldap dockerfiles/run/guice/cassandra-ldap
-
-# Build image James with Cassandra + RabbitMQ
-docker build -t james_rabbitmq_run dockerfiles/run/guice/cassandra-rabbitmq
-
-# Build image James with Cassandra + RabbitMQ + Ldap
-docker build -t james_rabbitmq_ldap_run dockerfiles/run/guice/cassandra-rabbitmq-ldap
-
-# Build packages
-docker build -t build-james-packages \
- --build-arg RELEASE=$RELEASE-$SHA1 \
- --build-arg ITERATION=$ITERATION \
- --build-arg BASE=james_run \
- --build-arg BASE_LDAP=james_run_ldap \
- --build-arg BASE_RABBITMQ=james_rabbitmq_run \
- --build-arg BASE_RABBITMQ_LDAP=james_rabbitmq_ldap_run
- dockerfiles/packaging/guice/cassandra
-docker run --rm --name james-packages -v $DIRECTORY:/result build-james-packages
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/blobstore.properties b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/blobstore.properties
deleted file mode 100644
index 0e347ec..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/blobstore.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-# Configuration for s3 BlobStore
-objectstorage.namespace=james
-implementation=s3
-objectstorage.namespace=james
-objectstorage.s3.endPoint=http://scality:8080/
-objectstorage.s3.region=eu-west-1
-objectstorage.s3.accessKeyId=accessKey1
-objectstorage.s3.secretKey=verySecretKey1
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/cassandra.properties b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/cassandra.properties
deleted file mode 100644
index 426a35c..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/cassandra.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-# Configuration file for cassandra mailbox
-cassandra.nodes=127.0.0.1
-cassandra.keyspace=apache_james
-cassandra.replication.factor=1
-cassandra.retryConnection.maxRetries=10
-cassandra.retryConnection.minDelay=5000
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/dnsservice.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/dnsservice.xml
deleted file mode 100644
index 0978a00..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/dnsservice.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
- -->
-
-<dnsservice>
- <servers>
- <server>8.8.8.8</server>
- <server>62.210.16.6</server>
- </servers>
- <autodiscover>false</autodiscover>
- <authoritative>false</authoritative>
- <maxcachesize>50000</maxcachesize>
-</dnsservice>
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/domainlist.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/domainlist.xml
deleted file mode 100644
index a9e3da7..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/domainlist.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
- -->
-
-<domainlist>
- <domainnames>
- <domainname>yourdomain.org</domainname>
- </domainnames>
- <autodetect>true</autodetect>
- <autodetectIP>true</autodetectIP>
- <defaultDomain>localhost</defaultDomain>
-</domainlist>
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/elasticsearch.properties b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/elasticsearch.properties
deleted file mode 100644
index 4848809..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/elasticsearch.properties
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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
-
-# Configuration file for ElasticSearch
-
-elasticsearch.masterHost=127.0.0.1
-elasticsearch.port=9200
-
-# You can alternatively provide a list of hosts following this format :
-# elasticsearch.hosts=host1:9200,host2:9200
-# elasticsearch.clusterName=cluster
-
-elasticsearch.nb.shards=5
-elasticsearch.nb.replica=1
-elasticsearch.retryConnection.maxRetries=7
-elasticsearch.retryConnection.minDelay=3000
-# Index or not attachments (default value: true)
-elasticsearch.indexAttachments=true
-
-# Reports for metrics into ElasticSearch
-# Defaults to elasticsearch.masterHost : on which server to publish metrics
-elasticsearch.http.host=elasticsearch
-elasticsearch.http.port=9200
-elasticsearch.metrics.reports.enabled=true
-elasticsearch.metrics.reports.period=30
-elasticsearch.metrics.reports.index=james-metrics
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/imapserver.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/imapserver.xml
deleted file mode 100644
index 64e6509..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/imapserver.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-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.
--->
-
-
-<imapservers>
- <imapserver enabled="true">
- <jmxName>imapserver</jmxName>
- <bind>0.0.0.0:143</bind>
- <connectionBacklog>200</connectionBacklog>
- <tls socketTLS="false" startTLS="true">
- <!-- To create a new keystore execute:
- keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore
- -->
- <keystore>file://conf/keystore</keystore>
- <secret>james72laBalle</secret>
- <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
- </tls>
- <connectionLimit>0</connectionLimit>
- <connectionLimitPerIP>0</connectionLimitPerIP>
- </imapserver>
- <imapserver enabled="true">
- <jmxName>imapserver-ssl</jmxName>
- <bind>0.0.0.0:993</bind>
- <connectionBacklog>200</connectionBacklog>
- <tls socketTLS="true" startTLS="false">
- <!-- To create a new keystore execute:
- keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore
- -->
- <keystore>file://conf/keystore</keystore>
- <secret>james72laBalle</secret>
- <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
- </tls>
- <connectionLimit>0</connectionLimit>
- <connectionLimitPerIP>0</connectionLimitPerIP>
- </imapserver>
-</imapservers>
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jmap.properties b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jmap.properties
deleted file mode 100644
index 6c2f219..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jmap.properties
+++ /dev/null
@@ -1,13 +0,0 @@
-# Configuration file for JMAP
-
-enabled=false
-
-tls.keystoreURL=file://conf/your_keystore
-tls.secret=your_keystore_secret
-
-#
-# If you wish to use OAuth authentication, you should provide a valid JWT public key.
-# The following entry specify the link to the URL of the public key file,
-# which should be a PEM format file.
-#
-jwt.publickeypem.url=file://conf/jwt_publickey
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jmx.properties b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jmx.properties
deleted file mode 100644
index a1dbdf8..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jmx.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# 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
-
-# This template file can be used as example for James Server configuration
-# DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
-
-# See http://james.apache.org/server/3/config.html for usage
-
-jmx.address=127.0.0.1
-jmx.port=9999
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jwt_publickey b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jwt_publickey
deleted file mode 100644
index f00e64b..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/jwt_publickey
+++ /dev/null
@@ -1,3 +0,0 @@
------BEGIN PUBLIC KEY-----
-Your JWT public key
------END PUBLIC KEY-----
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/lmtpserver.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/lmtpserver.xml
deleted file mode 100644
index ce079b0..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/lmtpserver.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
- -->
-
-<lmtpservers>
-
- <lmtpserver enabled="false">
- <jmxName>lmtpserver</jmxName>
- <!-- LMTP should not be reachable from outside your network so bind it to loopback-->
- <bind>127.0.0.1:24</bind>
- <connectionBacklog>200</connectionBacklog>
- <connectiontimeout>1200</connectiontimeout>
- <!-- Set the maximum simultaneous incoming connections for this service -->
- <connectionLimit>0</connectionLimit>
- <!-- Set the maximum simultaneous incoming connections per IP for this service -->
- <connectionLimitPerIP>0</connectionLimitPerIP>
- <!-- This sets the maximum allowed message size (in kilobytes) for this -->
- <!-- LMTP service. If unspecified, the value defaults to 0, which means no limit. -->
- <maxmessagesize>0</maxmessagesize>
- <handlerchain>
- <handler class="org.apache.james.lmtpserver.CoreCmdHandlerLoader"/>
- </handlerchain>
- </lmtpserver>
-
-</lmtpservers>
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/logback.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/logback.xml
deleted file mode 100644
index 09bcf1e..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/logback.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configuration>
-
- <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
- <resetJUL>true</resetJUL>
- </contextListener>
-
- <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <pattern>%d{HH:mm:ss.SSS} %highlight([%-5level]) %logger{15} - %msg%n%rEx</pattern>
- <immediateFlush>false</immediateFlush>
- </encoder>
- </appender>
-
- <appender name="LOG_FILE" class="ch.qos.logback.core.FileAppender">
- <file>/logs/james.log</file>
- <encoder>
- <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern>
- <immediateFlush>false</immediateFlush>
- </encoder>
- </appender>
-
- <root level="WARN">
- <appender-ref ref="CONSOLE" />
- <appender-ref ref="LOG_FILE" />
- </root>
-
- <logger name="org.apache.james" level="INFO" />
- <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
-
-</configuration>
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/mailetcontainer.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/mailetcontainer.xml
deleted file mode 100644
index dc78a59..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/mailetcontainer.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- 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.
- -->
-
-<mailetcontainer enableJmx="true">
-
- <context>
- <postmaster>postmaster@james.minet.net</postmaster>
- </context>
-
- <spooler>
- <threads>20</threads>
- </spooler>
-
- <processors>
- <processor state="root" enableJmx="true">
- <mailet match="All" class="PostmasterAlias"/>
- <mailet match="RelayLimit=30" class="Null"/>
- <mailet match="All" class="ToProcessor">
- <processor>transport</processor>
- </mailet>
- </processor>
-
- <processor state="error" enableJmx="true">
- <mailet match="All" class="MetricsMailet">
- <metricName>mailetContainerErrors</metricName>
- </mailet>
- <mailet match="All" class="Bounce"/>
- <mailet match="All" class="ToRepository">
- <repositoryPath>file://var/mail/error/</repositoryPath>
- </mailet>
- </processor>
-
- <processor state="transport" enableJmx="true">
- <mailet match="SMTPAuthSuccessful" class="SetMimeHeader">
- <name>X-UserIsAuth</name>
- <value>true</value>
- </mailet>
- <mailet match="HasMailAttribute=org.apache.james.SMIMECheckSignature" class="SetMimeHeader">
- <name>X-WasSigned</name>
- <value>true</value>
- </mailet>
- <mailet match="All" class="RemoveMimeHeader">
- <name>bcc</name>
- </mailet>
- <mailet match="All" class="RecipientRewriteTable" />
- <mailet match="RecipientIsLocal" class="org.apache.james.jmap.mailet.VacationMailet"/>
- <mailet match="RecipientIsLocal" class="Sieve"/>
- <mailet match="RecipientIsLocal" class="AddDeliveredToHeader"/>
- <mailet match="RecipientIsLocal" class="org.apache.james.jmap.mailet.filter.JMAPFiltering"/>
- <mailet match="RecipientIsLocal" class="LocalDelivery"/>
- <mailet match="HostIsLocal" class="ToProcessor">
- <processor>local-address-error</processor>
- <notice>550 - Requested action not taken: no such user here</notice>
- </mailet>
-
- <mailet match="SMTPAuthSuccessful" class="ToProcessor">
- <processor>relay</processor>
- </mailet>
- <mailet match="HasMailAttribute=org.apache.james.jmap.send.MailMetaData.messageId" class="ToProcessor">
- <processor>relay</processor>
- </mailet>
-
- <mailet match="All" class="ToProcessor">
- <processor>relay-denied</processor>
- </mailet>
- </processor>
-
- <processor state="relay" enableJmx="true">
- <mailet match="All" class="RemoteDelivery">
- <outgoingQueue>outgoing</outgoingQueue>
- <delayTime>5000, 100000, 500000</delayTime>
- <maxRetries>3</maxRetries>
- <maxDnsProblemRetries>0</maxDnsProblemRetries>
- <deliveryThreads>10</deliveryThreads>
- <sendpartial>true</sendpartial>
- <bounceProcessor>bounces</bounceProcessor>
- </mailet>
- </processor>
-
- <processor state="spam" enableJmx="true">
- <mailet match="All" class="MetricsMailet">
- <metricName>mailetContainerSpam</metricName>
- </mailet>
- <mailet match="All" class="ToRepository">
- <repositoryPath>file://var/mail/spam/</repositoryPath>
- </mailet>
- </processor>
-
- <processor state="local-address-error" enableJmx="true">
- <mailet match="All" class="MetricsMailet">
- <metricName>mailetContainerLocalAddressError</metricName>
- </mailet>
- <mailet match="All" class="Bounce">
- <attachment>none</attachment>
- </mailet>
- <mailet match="All" class="ToRepository">
- <repositoryPath>file://var/mail/address-error/</repositoryPath>
- </mailet>
- </processor>
-
- <processor state="relay-denied" enableJmx="true">
- <mailet match="All" class="MetricsMailet">
- <metricName>mailetContainerRelayDenied</metricName>
- </mailet>
- <mailet match="All" class="Bounce">
- <attachment>none</attachment>
- </mailet>
- <mailet match="All" class="ToRepository">
- <repositoryPath>file://var/mail/relay-denied/</repositoryPath>
- <notice>Warning: You are sending an e-mail to a remote server. You must be authenticated to perform such an operation</notice>
- </mailet>
- </processor>
-
- <processor state="bounces" enableJmx="true">
- <mailet match="All" class="MetricsMailet">
- <metricName>bounces</metricName>
- </mailet>
- <mailet match="All" class="DSNBounce">
- <passThrough>false</passThrough>
- </mailet>
- </processor>
-
- </processors>
-
-</mailetcontainer>
-
-
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/mailrepositorystore.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/mailrepositorystore.xml
deleted file mode 100644
index acca810..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/mailrepositorystore.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- 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.
- -->
-
-<mailrepositorystore>
- <mailrepositories>
- <!-- File based repositories. These repositories store all message data -->
- <!-- in the file system. -->
- <mailrepository class="org.apache.james.mailrepository.file.FileMailRepository">
- <protocols>
- <protocol>file</protocol>
- </protocols>
- <!-- Set if the messages should be listed sorted. False by default -->
- <config FIFO="false" CACHEKEYS="true"/>
- </mailrepository>
- </mailrepositories>
-</mailrepositorystore>
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/managesieveserver.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/managesieveserver.xml
deleted file mode 100644
index 7b0b85a..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/managesieveserver.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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
--->
-
-<!-- See http://james.apache.org/server/3/config.html for usage -->
-
-<managesieveservers>
-
- <managesieveserver enabled="false">
-
- <jmxName>managesieveserver</jmxName>
-
- <bind>0.0.0.0:4190</bind>
-
- <connectionBacklog>200</connectionBacklog>
-
- <tls socketTLS="false" startTLS="false">
- <!-- To create a new keystore execute:
- keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore
- -->
- <keystore>file://conf/keystore</keystore>
- <secret>james72laBalle</secret>
- <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
- <!-- The algorithm is optional and only needs to be specified when using something other
- than the Sun JCE provider - You could use IbmX509 with IBM Java runtime. -->
- <algorithm>SunX509</algorithm>
- </tls>
-
- <!-- connection timeout in secconds -->
- <connectiontimeout>360</connectiontimeout>
-
- <!-- Set the maximum simultaneous incoming connections for this service -->
- <connectionLimit>0</connectionLimit>
-
- <!-- Set the maximum simultaneous incoming connections per IP for this service -->
- <connectionLimitPerIP>0</connectionLimitPerIP>
- <maxmessagesize>0</maxmessagesize>
- <addressBracketsEnforcement>true</addressBracketsEnforcement>
-
- </managesieveserver>
-
-</managesieveservers>
-
-
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/pop3server.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/pop3server.xml
deleted file mode 100644
index df8fbef..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/pop3server.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
- -->
-
-
-<pop3servers>
- <pop3server enabled="false">
- <jmxName>pop3server</jmxName>
- <bind>0.0.0.0:110</bind>
- <connectionBacklog>200</connectionBacklog>
- <tls socketTLS="false" startTLS="false">
- <!-- To create a new keystore execute:
- keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore
- -->
- <keystore>file://conf/keystore</keystore>
- <secret>james72laBalle</secret>
- <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
- </tls>
- <connectiontimeout>1200</connectiontimeout>
- <connectionLimit>0</connectionLimit>
- <connectionLimitPerIP>0</connectionLimitPerIP>
- <handlerchain>
- <handler class="org.apache.james.pop3server.core.CoreCmdHandlerLoader"/>
- </handlerchain>
- </pop3server>
-</pop3servers>
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/rabbitmq.properties b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/rabbitmq.properties
deleted file mode 100644
index 43a919c..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/rabbitmq.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-uri=amqp://127.0.0.1:5672
-
-# RabbitMQ Administration Management
-management.uri=http://127.0.0.1:15672
-management.user=guest
-management.password=guest
\ No newline at end of file
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/recipientrewritetable.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/recipientrewritetable.xml
deleted file mode 100644
index 3d44578..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/recipientrewritetable.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
- -->
-
-<!-- The default table for storing James' RecipientRewriteTable mappings. -->
-<recipientrewritetable>
- <recursiveMapping>true</recursiveMapping>
- <mappingLimit>10</mappingLimit>
-</recipientrewritetable>
-
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/smtpserver.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/smtpserver.xml
deleted file mode 100644
index 2026338..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/smtpserver.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- 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.
- -->
-
-<smtpservers>
- <smtpserver enabled="true">
- <jmxName>smtpserver-global</jmxName>
- <bind>0.0.0.0:25</bind>
- <connectionBacklog>200</connectionBacklog>
- <tls socketTLS="false" startTLS="false">
- <keystore>file://conf/keystore</keystore>
- <secret>james72laBalle</secret>
- <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
- <algorithm>SunX509</algorithm>
- </tls>
- <connectiontimeout>360</connectiontimeout>
- <connectionLimit>0</connectionLimit>
- <connectionLimitPerIP>0</connectionLimitPerIP>
- <authRequired>false</authRequired>
- <authorizedAddresses>0.0.0.0/0</authorizedAddresses>
- <verifyIdentity>false</verifyIdentity>
- <maxmessagesize>0</maxmessagesize>
- <addressBracketsEnforcement>true</addressBracketsEnforcement>
- <smtpGreeting>Apache JAMES awesome SMTP Server</smtpGreeting>
- <handlerchain>
- <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
- <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
- </handlerchain>
- </smtpserver>
- <smtpserver enabled="true">
- <jmxName>smtpserver-TLS</jmxName>
- <bind>0.0.0.0:465</bind>
- <connectionBacklog>200</connectionBacklog>
- <tls socketTLS="true" startTLS="false">
- <keystore>file://conf/keystore</keystore>
- <secret>james72laBalle</secret>
- <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
- <algorithm>SunX509</algorithm>
- </tls>
- <connectiontimeout>360</connectiontimeout>
- <connectionLimit>0</connectionLimit>
- <connectionLimitPerIP>0</connectionLimitPerIP>
- <!--
- Authorize only local users
- -->
- <authRequired>true</authRequired>
- <authorizedAddresses>0.0.0.0/0</authorizedAddresses>
- <!-- Trust authenticated users -->
- <verifyIdentity>false</verifyIdentity>
- <maxmessagesize>0</maxmessagesize>
- <addressBracketsEnforcement>true</addressBracketsEnforcement>
- <smtpGreeting>Apache JAMES awesome SMTP Server</smtpGreeting>
- <handlerchain>
- <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
- <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
- </handlerchain>
- </smtpserver>
- <smtpserver enabled="true">
- <jmxName>smtpserver-authenticated</jmxName>
- <bind>0.0.0.0:587</bind>
- <connectionBacklog>200</connectionBacklog>
- <tls socketTLS="false" startTLS="true">
- <keystore>file://conf/keystore</keystore>
- <secret>james72laBalle</secret>
- <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
- <algorithm>SunX509</algorithm>
- </tls>
- <connectiontimeout>360</connectiontimeout>
- <connectionLimit>0</connectionLimit>
- <connectionLimitPerIP>0</connectionLimitPerIP>
- <!--
- Authorize only local users
- -->
- <authRequired>true</authRequired>
- <authorizedAddresses>0.0.0.0/0</authorizedAddresses>
- <!-- Trust authenticated users -->
- <verifyIdentity>false</verifyIdentity>
- <maxmessagesize>0</maxmessagesize>
- <addressBracketsEnforcement>true</addressBracketsEnforcement>
- <smtpGreeting>Apache JAMES awesome SMTP Server</smtpGreeting>
- <handlerchain>
- <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
- <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
- </handlerchain>
- </smtpserver>
-</smtpservers>
-
-
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/usersrepository.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/usersrepository.xml
deleted file mode 100644
index c745677..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/usersrepository.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
- -->
-
-<usersrepository name="LocalUsers">
- <algorithm>MD5</algorithm>
- <enableVirtualHosting>true</enableVirtualHosting>
- <enableForwarding>true</enableForwarding>
-</usersrepository>
-
diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/webadmin.properties b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/webadmin.properties
deleted file mode 100644
index 36b6f1e..0000000
--- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/webadmin.properties
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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
-
-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
\ No newline at end of file
diff --git a/dockerfiles/packaging/guice/cassandra/package/usr/lib/.gitkeep b/dockerfiles/packaging/guice/cassandra/package/usr/lib/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/dockerfiles/packaging/guice/cassandra/package/usr/share/james/.gitkeep b/dockerfiles/packaging/guice/cassandra/package/usr/share/james/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/dockerfiles/packaging/guice/cassandra/scripts/james.postinst b/dockerfiles/packaging/guice/cassandra/scripts/james.postinst
deleted file mode 100644
index a522328..0000000
--- a/dockerfiles/packaging/guice/cassandra/scripts/james.postinst
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/sh -e
-
-ln -s /etc/james /var/lib/james/conf
-
-update-alternatives --install /usr/share/james/james-server.jar james /usr/share/james/james-ldap-server.jar 10
-update-alternatives --install /usr/share/james/james-server.jar james /usr/share/james/james-withoutldap-server.jar 20
-update-alternatives --install /usr/share/james/james-server.jar james /usr/share/james/james-rabbitmq-withoutldap-server.jar 30
-update-alternatives --install /usr/share/james/james-server.jar james /usr/share/james/james-rabbitmq-ldap-server.jar 40
-
-
-systemctl enable james
-
diff --git a/dockerfiles/packaging/guice/cassandra/scripts/james.postremove b/dockerfiles/packaging/guice/cassandra/scripts/james.postremove
deleted file mode 100644
index af63d94..0000000
--- a/dockerfiles/packaging/guice/cassandra/scripts/james.postremove
+++ /dev/null
@@ -1,6 +0,0 @@
-#! /bin/sh -e
-
-update-alternatives --remove james /usr/share/james/james-ldap-server.jar
-update-alternatives --remove james /usr/share/james/james-withoutldap-server.jar
-update-alternatives --remove james /usr/share/james/james-rabbitmq-withoutldap-server.jar
-update-alternatives --remove james /usr/share/james/james-rabbitmq-ldap-server.jar
diff --git a/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postinst b/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postinst
deleted file mode 100644
index 9c65baf..0000000
--- a/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/sh -e
-
-ln -s /etc/james /var/lib/james/conf
-
-update-alternatives --install /usr/share/james/james-server.jar james /usr/share/james/james-ldap-server.jar 10
-update-alternatives --install /usr/share/james/james-server.jar james /usr/share/james/james-withoutldap-server.jar 20
-update-alternatives --install /usr/share/james/james-server.jar james /usr/share/james/james-rabbitmq-withoutldap-server.jar 30
-update-alternatives --install /usr/share/james/james-server.jar james /usr/share/james/james-rabbitmq-ldap-server.jar 40
-
-#Workaround waiting for https://github.com/jordansissel/fpm/issues/1163 to be released
-cp /usr/share/james/james.service /etc/systemd/system/
-systemctl enable james
-
diff --git a/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postremove b/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postremove
deleted file mode 100644
index aefd136..0000000
--- a/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postremove
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/sh -e
-
-#Workaround waiting for https://github.com/jordansissel/fpm/issues/1163 to be released
-systemctl stop james
-systemctl disable james
-rm /etc/systemd/system/james.service
-
-update-alternatives --remove james /usr/share/james/james-ldap-server.jar
-update-alternatives --remove james /usr/share/james/james-withoutldap-server.jar
-update-alternatives --remove james /usr/share/james/james-rabbitmq-withoutldap-server.jar
-update-alternatives --remove james /usr/share/james/james-rabbitmq-ldap-server.jar
-
diff --git a/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postupgrade b/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postupgrade
deleted file mode 100644
index 8e2c81c..0000000
--- a/dockerfiles/packaging/guice/cassandra/scripts/james.rpm.postupgrade
+++ /dev/null
@@ -1,5 +0,0 @@
-#! /bin/sh -e
-
-#Workaround waiting for https://github.com/jordansissel/fpm/issues/1163 to be released
-systemctl try-restart james
-
diff --git a/dockerfiles/packaging/guice/cassandra/scripts/james.service b/dockerfiles/packaging/guice/cassandra/scripts/james.service
deleted file mode 100644
index f5ceddc..0000000
--- a/dockerfiles/packaging/guice/cassandra/scripts/james.service
+++ /dev/null
@@ -1,34 +0,0 @@
-[Unit]
-Description=James stands for Java Apache Mail Enterprise Server! It has a modular architecture based on a rich set of modern and efficient components which provides at the end complete, stable, secure and extendable Mail Servers running on the JVM.
-Documentation=http://james.apache.org
-Wants=network-online.target cassandra.service elasticsearch.service rabbitmq.service
-After=network-online.target cassandra.service elasticsearch.service rabbitmq.service
-
-[Service]
-Environment=WORKING_DIRECTORY=/var/lib/james
-Environment=XMX=1024m
-
-User=root
-Group=root
-
-ExecStart=/usr/lib/jvm/java-8-openjdk-amd64/bin/java -Dworking.directory=${WORKING_DIRECTORY} -Xmx${XMX} -Dlogback.configurationFile=/etc/james/logback.xml -jar /usr/share/james/james-server.jar
-
-StandardOutput=journal
-StandardError=inherit
-
-# Specifies the maximum number of bytes of memory that may be locked into RAM
-# Set to "infinity" if you use the 'bootstrap.mlockall: true' option
-# in elasticsearch.yml and 'MAX_LOCKED_MEMORY=unlimited' in /etc/default/elasticsearch
-#LimitMEMLOCK=infinity
-
-# SIGTERM signal is used to stop the Java process
-KillSignal=SIGTERM
-
-# Java process is never killed
-SendSIGKILL=no
-
-# When a JVM receives a SIGTERM signal it exits with code 143
-SuccessExitStatus=143
-
-[Install]
-WantedBy=multi-user.target
diff --git a/dockerfiles/packaging/guice/cassandra/scripts/james.service.rhel b/dockerfiles/packaging/guice/cassandra/scripts/james.service.rhel
deleted file mode 100644
index d5efad5..0000000
--- a/dockerfiles/packaging/guice/cassandra/scripts/james.service.rhel
+++ /dev/null
@@ -1,34 +0,0 @@
-[Unit]
-Description=James stands for Java Apache Mail Enterprise Server! It has a modular architecture based on a rich set of modern and efficient components which provides at the end complete, stable, secure and extendable Mail Servers running on the JVM.
-Documentation=http://james.apache.org
-Wants=network-online.target cassandra.service elasticsearch.service rabbitmq.service
-After=network-online.target cassandra.service elasticsearch.service rabbitmq.service
-
-[Service]
-Environment=WORKING_DIRECTORY=/var/lib/james
-Environment=XMX=1024m
-
-User=root
-Group=root
-
-ExecStart=/usr/lib/jvm/jre-1.8.0-openjdk/bin/java -Dworking.directory=${WORKING_DIRECTORY} -Xmx${XMX} -Dlogback.configurationFile=/etc/james/logback.xml -jar /usr/share/james/james-server.jar
-
-StandardOutput=journal
-StandardError=inherit
-
-# Specifies the maximum number of bytes of memory that may be locked into RAM
-# Set to "infinity" if you use the 'bootstrap.mlockall: true' option
-# in elasticsearch.yml and 'MAX_LOCKED_MEMORY=unlimited' in /etc/default/elasticsearch
-#LimitMEMLOCK=infinity
-
-# SIGTERM signal is used to stop the Java process
-KillSignal=SIGTERM
-
-# Java process is never killed
-SendSIGKILL=no
-
-# When a JVM receives a SIGTERM signal it exits with code 143
-SuccessExitStatus=143
-
-[Install]
-WantedBy=multi-user.target
diff --git a/dockerfiles/packaging/guice/cassandra/scripts/package.sh b/dockerfiles/packaging/guice/cassandra/scripts/package.sh
deleted file mode 100755
index 58a95b5..0000000
--- a/dockerfiles/packaging/guice/cassandra/scripts/package.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh -e
-
-printUsage() {
- echo "Usage : "
- echo "./package.sh RELEASE ITERATION"
- echo " RELEASE : The release to be generated."
- echo " ITERATION: The iteration to give to the package."
- exit 1
-}
-
-if [ "$#" -ne 2 ]; then
- printUsage
-fi
-
-RELEASE=$1
-ITERATION=$2
-
-fpm -s dir -t deb \
- -n james \
- -v $RELEASE \
- -a x86_64 \
- -d openjdk-8-jre \
- -C package \
- --deb-systemd james.service \
- --after-install james.postinst \
- --after-remove james.postremove \
- --provides mail-transport-agent \
- --provides default-mta \
- --iteration $ITERATION \
- --license http://www.apache.org/licenses/LICENSE-2.0 \
- --description "$(printf "James stands for Java Apache Mail Enterprise Server!\nIt has a modular architecture based on a rich set of modern and efficient components which provides at the end complete, stable, secure and extendable Mail Servers running on the JVM.")" \
- --vendor "Apache" \
- --maintainer "Apache" \
- --url http://james.apache.org/ \
- --category web \
- .
-
-#Workaround waiting for https://github.com/jordansissel/fpm/issues/1163 to be released
-cp james.service.rhel package/usr/share/james/james.service
-
-fpm -s dir -t rpm \
- -n james \
- -v $RELEASE \
- -a x86_64 \
- -d java-1.8.0-openjdk-headless \
- -C package \
- --after-install james.rpm.postinst \
- --after-upgrade james.rpm.postupgrade \
- --after-remove james.rpm.postremove \
- --provides mail-transport-agent \
- --provides default-mta \
- --iteration $ITERATION \
- --license http://www.apache.org/licenses/LICENSE-2.0 \
- --description "$(printf "James stands for Java Apache Mail Enterprise Server!\nIt has a modular architecture based on a rich set of modern and efficient components which provides at the end complete, stable, secure and extendable Mail Servers running on the JVM.")" \
- --vendor "Apache" \
- --maintainer "Apache" \
- --url http://james.apache.org/ \
- --category web \
- .
-
-cp /packages/james*.deb /result/
-cp /packages/james*.rpm /result/
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org