Repository: james-project Updated Branches: refs/heads/master 7b2dc2bd3 -> 1c0dec415
JAMES-2010 Introduce debian packaging Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/1c0dec41 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/1c0dec41 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/1c0dec41 Branch: refs/heads/master Commit: 1c0dec415a4e27900e865c78495838e817439c5c Parents: 7b2dc2b Author: Antoine Duprat <[email protected]> Authored: Tue Apr 25 13:48:12 2017 +0200 Committer: benwa <[email protected]> Committed: Tue May 16 08:22:30 2017 +0700 ---------------------------------------------------------------------- README.adoc | 21 +++ dockerfiles/packaging/debian/Dockerfile | 21 +++ dockerfiles/packaging/debian/james.postinst | 11 ++ dockerfiles/packaging/debian/james.prerm | 5 + dockerfiles/packaging/debian/james.service | 36 +++++ dockerfiles/packaging/debian/package.sh | 41 ++++++ .../etc/james/templates/cassandra.properties | 6 + .../package/etc/james/templates/dnsservice.xml | 29 ++++ .../package/etc/james/templates/domainlist.xml | 28 ++++ .../james/templates/elasticsearch.properties | 42 ++++++ .../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 | 30 ++++ .../etc/james/templates/mailetcontainer.xml | 144 +++++++++++++++++++ .../etc/james/templates/mailrepositorystore.xml | 34 +++++ .../etc/james/templates/managesieveserver.xml | 65 +++++++++ .../package/etc/james/templates/pop3server.xml | 42 ++++++ .../package/etc/james/templates/quota.xml | 53 +++++++ .../james/templates/recipientrewritetable.xml | 26 ++++ .../package/etc/james/templates/smtpserver.xml | 105 ++++++++++++++ .../etc/james/templates/usersrepository.xml | 26 ++++ .../etc/james/templates/webadmin.properties | 40 ++++++ .../packaging/debian/package/usr/lib/.gitkeep | 0 .../debian/package/usr/share/james/.gitkeep | 0 .../debian/package/var/lib/james/.gitkeep | 0 .../debian/package/var/log/james/.gitkeep | 0 29 files changed, 944 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/README.adoc ---------------------------------------------------------------------- diff --git a/README.adoc b/README.adoc index 3ffe7ed..72b83be 100644 --- a/README.adoc +++ b/README.adoc @@ -344,3 +344,24 @@ Where : - SHA1: is the given git SHA1 of the james-project repository to merge. - RESULTING_BRANCH: is the branch created when merging. + +=== Generating a debian package for James + +You can generate a debian 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-deb --build-arg RELEASE=3.0-beta6 --build-arg ITERATION=1 dockerfiles/packaging/debian/ + +Where: + +- ITERATION is the release number used after the last hyphen (e.g. 3.0-beta6-1, 3.0-beta6-2, 3.0-beta6-3...) + +Then, you have to run the container: + + $ docker run --name james-deb -v $PWD/jars:/jars -v $PWD/result:/result build-james-deb + +Where: + +- $PWD/jars is the path to the folder containing the maven result (main jar and lib folder) +- $PWD/result is the folder where the debian package will be copied http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/Dockerfile ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/Dockerfile b/dockerfiles/packaging/debian/Dockerfile new file mode 100644 index 0000000..ca740e8 --- /dev/null +++ b/dockerfiles/packaging/debian/Dockerfile @@ -0,0 +1,21 @@ +FROM debian:8.1 + +RUN apt-get update +RUN apt-get install -y ruby-dev ruby build-essential +RUN gem install fpm + +ADD . /debian + +COPY package.sh /root/package.sh +COPY james.postinst /debian/james.postinst +COPY james.prerm /debian/james.prerm +COPY james.service /debian/james.service + +ARG RELEASE +ENV RELEASE $RELEASE +ARG ITERATION +ENV ITERATION $ITERATION + +WORKDIR /debian + +ENTRYPOINT [ "sh", "-c", "/root/package.sh $RELEASE $ITERATION" ] http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/james.postinst ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/james.postinst b/dockerfiles/packaging/debian/james.postinst new file mode 100644 index 0000000..0fd5d4d --- /dev/null +++ b/dockerfiles/packaging/debian/james.postinst @@ -0,0 +1,11 @@ +#! /bin/sh -e + +useradd --home-dir /var/lib/james james + +chown -R james:james /var/log/james +chown -R james:james /var/lib/james + +ln -s /etc/james /var/lib/james/conf + +systemctl enable james + http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/james.prerm ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/james.prerm b/dockerfiles/packaging/debian/james.prerm new file mode 100644 index 0000000..42cc19e --- /dev/null +++ b/dockerfiles/packaging/debian/james.prerm @@ -0,0 +1,5 @@ +#! /bin/sh -e + +deluser james +delgroup james + http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/james.service ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/james.service b/dockerfiles/packaging/debian/james.service new file mode 100644 index 0000000..d242278 --- /dev/null +++ b/dockerfiles/packaging/debian/james.service @@ -0,0 +1,36 @@ +[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 +After=network-online.target cassandra.service elasticsearch.service + +[Service] +Environment=WORKING_DIRECTORY=/var/lib/james +Environment=XMX=1024m + +User=root +Group=root + +ExecStart=/usr/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 + +# Built for Distribution: Deb-2.2.1 (deb) http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package.sh ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package.sh b/dockerfiles/packaging/debian/package.sh new file mode 100755 index 0000000..425d9b8 --- /dev/null +++ b/dockerfiles/packaging/debian/package.sh @@ -0,0 +1,41 @@ +#!/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 +cp /jars/james-server.jar /debian/package/usr/share/james/ +cp -r /jars/james-server-cassandra-guice.lib /debian/package/usr/share/james/ +cp /jars/james-cli.jar /debian/package/usr/share/james/ + +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 \ + --before-remove james.prerm \ + --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 /debian/james*.deb /result/ http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/cassandra.properties ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/cassandra.properties b/dockerfiles/packaging/debian/package/etc/james/templates/cassandra.properties new file mode 100644 index 0000000..426a35c --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/cassandra.properties @@ -0,0 +1,6 @@ +# 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 http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/dnsservice.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/dnsservice.xml b/dockerfiles/packaging/debian/package/etc/james/templates/dnsservice.xml new file mode 100644 index 0000000..0978a00 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/dnsservice.xml @@ -0,0 +1,29 @@ +<?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> http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/domainlist.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/domainlist.xml b/dockerfiles/packaging/debian/package/etc/james/templates/domainlist.xml new file mode 100644 index 0000000..a9e3da7 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/domainlist.xml @@ -0,0 +1,28 @@ +<?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> http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/elasticsearch.properties ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/elasticsearch.properties b/dockerfiles/packaging/debian/package/etc/james/templates/elasticsearch.properties new file mode 100644 index 0000000..cf1daac --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/elasticsearch.properties @@ -0,0 +1,42 @@ +# 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=9300 + +# You can alternatively provide a list of hosts following this format : +# elasticsearch.hosts=host1:9300,host2:9300 + +elasticsearch.nb.shards=1 +elasticsearch.nb.replica=0 +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 http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/imapserver.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/imapserver.xml b/dockerfiles/packaging/debian/package/etc/james/templates/imapserver.xml new file mode 100644 index 0000000..8ccb117 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/imapserver.xml @@ -0,0 +1,54 @@ +<?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> http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/jmap.properties ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/jmap.properties b/dockerfiles/packaging/debian/package/etc/james/templates/jmap.properties new file mode 100644 index 0000000..6c2f219 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/jmap.properties @@ -0,0 +1,13 @@ +# 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 http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/jmx.properties ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/jmx.properties b/dockerfiles/packaging/debian/package/etc/james/templates/jmx.properties new file mode 100644 index 0000000..a1dbdf8 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/jmx.properties @@ -0,0 +1,28 @@ +# 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 http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/jwt_publickey ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/jwt_publickey b/dockerfiles/packaging/debian/package/etc/james/templates/jwt_publickey new file mode 100644 index 0000000..f00e64b --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/jwt_publickey @@ -0,0 +1,3 @@ +-----BEGIN PUBLIC KEY----- +Your JWT public key +-----END PUBLIC KEY----- http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/lmtpserver.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/lmtpserver.xml b/dockerfiles/packaging/debian/package/etc/james/templates/lmtpserver.xml new file mode 100644 index 0000000..ce079b0 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/lmtpserver.xml @@ -0,0 +1,41 @@ +<?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> http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/logback.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/logback.xml b/dockerfiles/packaging/debian/package/etc/james/templates/logback.xml new file mode 100644 index 0000000..94a639f --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/logback.xml @@ -0,0 +1,30 @@ +<?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="INFO"> + <appender-ref ref="CONSOLE" /> + <appender-ref ref="LOG_FILE" /> + </root> + + <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> + +</configuration> http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/mailetcontainer.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/mailetcontainer.xml b/dockerfiles/packaging/debian/package/etc/james/templates/mailetcontainer.xml new file mode 100644 index 0000000..681b966 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/mailetcontainer.xml @@ -0,0 +1,144 @@ +<?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>[email protected]</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="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>25</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> + + http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/mailrepositorystore.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/mailrepositorystore.xml b/dockerfiles/packaging/debian/package/etc/james/templates/mailrepositorystore.xml new file mode 100644 index 0000000..acca810 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/mailrepositorystore.xml @@ -0,0 +1,34 @@ +<?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> http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/managesieveserver.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/managesieveserver.xml b/dockerfiles/packaging/debian/package/etc/james/templates/managesieveserver.xml new file mode 100644 index 0000000..7b0b85a --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/managesieveserver.xml @@ -0,0 +1,65 @@ +<?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> + + http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/pop3server.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/pop3server.xml b/dockerfiles/packaging/debian/package/etc/james/templates/pop3server.xml new file mode 100644 index 0000000..df8fbef --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/pop3server.xml @@ -0,0 +1,42 @@ +<?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> http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/quota.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/quota.xml b/dockerfiles/packaging/debian/package/etc/james/templates/quota.xml new file mode 100644 index 0000000..70162e0 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/quota.xml @@ -0,0 +1,53 @@ +<?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 --> + +<!-- + This configuration file allows you to customize the way quota are handled on this server. + You need to rename it in quota.xml so that it gets interpreted by James on startup. + + The different configuration options are detailed here. + + Read RFC-2087 for full details. +--> + +<quota> + <quotaRootResolver> + <provider>default</provider> + </quotaRootResolver> + <currentQuotaManager> + <provider>cassandra</provider> + </currentQuotaManager> + <maxQuotaManager> + <provider>cassandra</provider> + </maxQuotaManager> + <quotaManager> + <provider>store</provider> + </quotaManager> + <updates> + <provider>event</provider> + </updates> +</quota> http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/recipientrewritetable.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/recipientrewritetable.xml b/dockerfiles/packaging/debian/package/etc/james/templates/recipientrewritetable.xml new file mode 100644 index 0000000..3d44578 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/recipientrewritetable.xml @@ -0,0 +1,26 @@ +<?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> + http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/smtpserver.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/smtpserver.xml b/dockerfiles/packaging/debian/package/etc/james/templates/smtpserver.xml new file mode 100644 index 0000000..bc609be --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/smtpserver.xml @@ -0,0 +1,105 @@ +<?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>true</verifyIdentity> + <maxmessagesize>0</maxmessagesize> + <addressBracketsEnforcement>true</addressBracketsEnforcement> + <smtpGreeting>JAMES Linagora's SMTP awesome 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>JAMES Linagora's SMTP awesome 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>JAMES Linagora's SMTP awesome Server</smtpGreeting> + <handlerchain> + <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/> + <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/> + </handlerchain> + </smtpserver> +</smtpservers> + + http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/usersrepository.xml ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/usersrepository.xml b/dockerfiles/packaging/debian/package/etc/james/templates/usersrepository.xml new file mode 100644 index 0000000..c745677 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/usersrepository.xml @@ -0,0 +1,26 @@ +<?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> + http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/etc/james/templates/webadmin.properties ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/etc/james/templates/webadmin.properties b/dockerfiles/packaging/debian/package/etc/james/templates/webadmin.properties new file mode 100644 index 0000000..38e2ba0 --- /dev/null +++ b/dockerfiles/packaging/debian/package/etc/james/templates/webadmin.properties @@ -0,0 +1,40 @@ +# 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 + +# 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 http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/usr/lib/.gitkeep ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/usr/lib/.gitkeep b/dockerfiles/packaging/debian/package/usr/lib/.gitkeep new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/usr/share/james/.gitkeep ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/usr/share/james/.gitkeep b/dockerfiles/packaging/debian/package/usr/share/james/.gitkeep new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/var/lib/james/.gitkeep ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/var/lib/james/.gitkeep b/dockerfiles/packaging/debian/package/var/lib/james/.gitkeep new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/james-project/blob/1c0dec41/dockerfiles/packaging/debian/package/var/log/james/.gitkeep ---------------------------------------------------------------------- diff --git a/dockerfiles/packaging/debian/package/var/log/james/.gitkeep b/dockerfiles/packaging/debian/package/var/log/james/.gitkeep new file mode 100644 index 0000000..e69de29 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
