Repository: james-project
Updated Branches:
  refs/heads/master 23e0f09c8 -> 47d29f1a8


JAMES-1928 Introduce Cassandra with Ldap dockerfiles


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/1990ae65
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/1990ae65
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/1990ae65

Branch: refs/heads/master
Commit: 1990ae6585e25d9b52180a161a2930b3677fc9e8
Parents: a4d8c8e
Author: Antoine Duprat <adup...@linagora.com>
Authored: Wed Feb 8 14:02:58 2017 +0100
Committer: Antoine Duprat <adup...@linagora.com>
Committed: Thu Feb 9 14:40:19 2017 +0100

----------------------------------------------------------------------
 dockerfiles/compilation/java-8/compile.sh       |   3 +
 dockerfiles/run/guice/cassandra-ldap/Dockerfile |  31 ++
 .../destination/conf/cassandra.properties       |   6 +
 .../destination/conf/dnsservice.xml             |  29 ++
 .../destination/conf/domainlist.xml             |  28 ++
 .../destination/conf/elasticsearch.properties   |  36 +++
 .../destination/conf/fetchmail.xml              | 288 +++++++++++++++++++
 .../destination/conf/imapserver.xml             |  54 ++++
 .../cassandra-ldap/destination/conf/indexer.xml |  23 ++
 .../destination/conf/jmap.properties            |  11 +
 .../destination/conf/jmx.properties             |  28 ++
 .../destination/conf/jwt_publickey              |   9 +
 .../cassandra-ldap/destination/conf/keystore    | Bin 0 -> 2224 bytes
 .../destination/conf/lib/README.txt             |   1 +
 .../destination/conf/lmtpserver.xml             |  41 +++
 .../cassandra-ldap/destination/conf/logback.xml |  28 ++
 .../destination/conf/mailetcontainer.xml        | 187 ++++++++++++
 .../destination/conf/mailrepositorystore.xml    |  34 +++
 .../destination/conf/managesieve.help.txt       | 112 ++++++++
 .../destination/conf/managesieveserver.xml      |  65 +++++
 .../destination/conf/pop3server.xml             |  42 +++
 .../cassandra-ldap/destination/conf/quota.xml   |  53 ++++
 .../destination/conf/recipientrewritetable.xml  |  26 ++
 .../cassandra-ldap/destination/conf/smime.p12   | Bin 0 -> 4141 bytes
 .../destination/conf/smtpserver.xml             | 105 +++++++
 .../destination/conf/usersrepository.xml        |  27 ++
 .../destination/conf/webadmin.properties        |  22 ++
 27 files changed, 1289 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/compilation/java-8/compile.sh
----------------------------------------------------------------------
diff --git a/dockerfiles/compilation/java-8/compile.sh 
b/dockerfiles/compilation/java-8/compile.sh
index 23eb8aa..12d070d 100755
--- a/dockerfiles/compilation/java-8/compile.sh
+++ b/dockerfiles/compilation/java-8/compile.sh
@@ -58,6 +58,9 @@ if [ $? -eq 0 ]; then
       cp -r 
server/container/guice/cassandra-guice/target/james-server-cassandra-guice.lib 
$CASSANDRA_DESTINATION || true
       cp server/container/cli/target/james-server-cli.jar 
$CASSANDRA_DESTINATION || true
       cp -r server/container/cli/target/james-server-cli.lib 
$CASSANDRA_DESTINATION || true
+
+      cp 
server/container/guice/cassandra-ldap-guice/target/james-server-cassandra-ldap-guice.jar
 $CASSANDRA_DESTINATION || true
+      cp -r 
server/container/guice/cassandra-ldap-guice/target/james-server-cassandra-ldap-guice.lib
 $CASSANDRA_DESTINATION || true
    fi
 
    if [ -d "$JPA_DESTINATION" ]; then

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/Dockerfile
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/Dockerfile 
b/dockerfiles/run/guice/cassandra-ldap/Dockerfile
new file mode 100644
index 0000000..a44f4b7
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/Dockerfile
@@ -0,0 +1,31 @@
+# Run James
+#
+# VERSION      1.0
+
+FROM java:openjdk-8-jdk
+
+# Ports that are used
+#
+# 25   SMTP without authentication
+# 110  POP3
+# 143  IMAP with startTLS enabled
+# 465  SMTP with authentication and socketTLS enabled
+# 587  SMTP with authentication and startTLS enabled
+# 993  IMAP with socketTLS enabled
+# 8000 Web Admin interface (unsecured: expose at your own risks)
+
+EXPOSE 25 110 143 465 587 993 8000
+
+WORKDIR /root
+
+# Get data we need to run James : build results and configuration
+ADD destination/james-server-cassandra-ldap-guice.jar /root/james-server.jar
+ADD destination/james-server-cassandra-ldap-guice.lib 
/root/james-server-cassandra-ldap-guice.lib
+ADD destination/james-server-cli.jar /root/james-cli.jar
+ADD destination/james-server-cli.lib /root/james-server-cli.lib
+ADD destination/conf /root/conf
+
+VOLUME /logs
+VOLUME /root/conf
+
+ENTRYPOINT java -Dlogback.configurationFile=/root/conf/logback.xml 
-Dworking.directory=/root/ -jar james-server.jar 

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/cassandra.properties
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/cassandra.properties 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/cassandra.properties
new file mode 100644
index 0000000..6070413
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/cassandra.properties
@@ -0,0 +1,6 @@
+# Configuration file for cassandra mailbox
+cassandra.nodes=cassandra
+cassandra.keyspace=apache_james
+cassandra.replication.factor=1
+cassandra.retryConnection.maxRetries=10
+cassandra.retryConnection.minDelay=5000
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/dnsservice.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/dnsservice.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/dnsservice.xml
new file mode 100644
index 0000000..0978a00
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/domainlist.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/domainlist.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/domainlist.xml
new file mode 100644
index 0000000..fc64fd2
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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 class="org.apache.james.domainlist.jpa.JPADomainList">
+    <domainnames>
+        <domainname>james.linagora.com</domainname>
+    </domainnames>
+    <autodetect>true</autodetect>
+    <autodetectIP>true</autodetectIP>
+    <defaultDomain>localhost</defaultDomain>
+</domainlist>

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/elasticsearch.properties
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/elasticsearch.properties
 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/elasticsearch.properties
new file mode 100644
index 0000000..06e1852
--- /dev/null
+++ 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/elasticsearch.properties
@@ -0,0 +1,36 @@
+#  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=elasticsearch
+elasticsearch.port=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
+elasticsearch.http.port=9200
+elasticsearch.metrics.reports.enabled=true
+elasticsearch.metrics.reports.period=30
+elasticsearch.metrics.reports.index=james-metrics
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/fetchmail.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/fetchmail.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/fetchmail.xml
new file mode 100644
index 0000000..96aa946
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/fetchmail.xml
@@ -0,0 +1,288 @@
+<?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 -->
+
+<!-- Fetch mail block, fetches mail from message servers and inserts it into 
the incoming spool -->
+<!-- Warning: It is important to prevent mail from looping by setting the  -->
+<!-- fetched domains in the<servernames>section of the<James>block      -->
+<!-- above. This block is disabled by default.                              -->
+
+<!-- See http://james.apache.org/server/2.3.0/fetchmail_configuration.html for 
detailed -->
+<!-- configuration instructions and examples.                                  
-->
+
+<!-- I M P O R T A N T -->
+<!-- Setting markseen="true" will have no effect on many POP3 servers as the 
POP3 -->
+<!-- protocol does not require the markSeen flag to be supported. When this is 
the -->
+<!-- case, the only way to ensure that messages are fetched just once is to 
delete -->
+<!-- fetched messages from the server with leaveonserver="false". -->
+
+<!-- If you want to perform mailet processing on messages fetched by 
fetchmail, -->
+<!-- use the HasMailAttribute matcher to detect messages with the 
MailAttribute -->
+<!-- org.apache.james.fetchmail.taskName. The attribute's value is that of the 
-->
+<!-- fetch task's name parameter described below. -->
+
+<fetchmail enabled="false">
+
+    <!-- The number of threads to use for the scheduled execution -->
+    <threads>5</threads>
+
+    <!-- The JMX Name to use -->
+    <jmxName>fetchmail</jmxName>
+
+    <!-- You can have as many fetch tasks as you want, but each must have a -->
+    <!-- unique name by which it is identified. -->
+    <!-- Each task runs at the specified<interval>, tasks may run 
concurrently. -->
+
+    <fetch name="mydomain.com">
+        <!-- There must be one<accounts>entry per fetch task. An accounts 
entry can have 0 to many -->
+        <!--<account>entries and 0 or 1<alllocal>entries.<alllocal>generates 
-->
+        <!--<accounts>for every user defined to James.<accounts>run 
consecutively within the -->
+        <!-- scope of their fetch task and inherit all the properties of the 
fetch task. -->
+
+        <!-- The advantage of running consecutively is that we can avoid 
conflicting fetch tasks -->
+        <!-- operating concurrently on the same mailboxes. -->
+
+        <!-- Fetchmail attempts to deduce the correct recipient of each 
message, but sometimes there is -->
+        <!-- insufficient information in the headers to do so. When the 
correct recipient cannot be deduced, -->
+        <!-- fetchmail can be configured to leave the mail on the server or 
deliver it to a default recipient. -->
+
+        <!-- When a message server delivers mail for a single user to a 
specific INBOX you can define -->
+        <!-- each user to James (via the console) and use<alllocal>with 
ignorercpt-header="true" to deliver mail -->
+        <!-- directly from each users INBOX onto James' spool. There is no 
need to update 'config.xml' -->
+        <!-- each time you add or remove users, fetchmail checks the list of 
users at the start of each fetch. -->
+
+        <!-- When a message server provides an account that gives access to 
all mail for a domain through a single -->
+        <!-- INBOX, you can use an<account>to fetch all the mail for that 
domain, using the filter facilities -->
+        <!-- described below to reject unwanted messages. -->
+
+        <!-- When a message server supports BOTH delivery for a single user to 
a specific INBOX and access to all mail -->
+        <!-- for a domain through a single INBOX, you can 
use<alllocal>and<account>together to guarantee that all -->
+        <!-- local mail gets delivered to the correct user and all unwanted 
mail is deleted from the message -->
+        <!-- server. See 
http://james.apache.org/server/2.3.0/fetchmail_configuration.html for details. 
-->
+
+        <!-- Limitations and Future Directions -->
+        <!-- 1)<alllocal>requires the password for all accounts for a domain 
on the message server be the same. True -->
+        <!-- in many cases, but not all. A future version might work out a way 
of associating James users with a set -->
+        <!-- of account properties. -->
+        <!-- 2)<alllocal>will try to access an INBOX on the message server for 
all local users. The instance of James used -->
+        <!-- for this purpose should not have extraneous users defined. This 
is inefficient, but not fatal. -->
+        <!-- Again, a future version might work out a way of associating James 
users with message account properties. -->
+        <!-- This would allow all local users with an account on a particular 
message server to be fetched. -->
+
+        <accounts>
+            <alllocal userprefix="" usersuffix="@myaccount" 
password="password" recipientprefix="" recipientsuffix="@mydomain.com" 
ignorercpt-header="true"/>
+            <account user="myglobalaccount" password="password" 
recipient="postmaster@localhost" ignorercpt-header="false"/>
+            <!-- Custom recipient header handling -->
+            <!-- this example search an header named X-Envelope-To and use the 
recipient found in that header -->
+            <!--
+            <account customrcpt-header="X-Envelope-To" user="myglobalaccount" 
password="password" recipient="postmaster@localhost" ignorercpt-header="false"/>
+             -->
+        </accounts>
+
+        <!-- The address of the server from which to fetch the mail -->
+        <host>pop.server.com</host>
+
+        <!-- How frequently this host is checked - in milliseconds. 600000 is 
every ten minutes -->
+        <interval>600000</interval>
+
+        <!-- name of the javamail provider you wish to use -->
+        <!-- (pop3, imap, etc. -->
+        <javaMailProviderName>pop3</javaMailProviderName>
+
+        <!-- name of the folder to open -->
+        <javaMailFolderName>INBOX</javaMailFolderName>
+
+        <!-- Properties to be applied to the JavaMail Session. -->
+        <!-- Properties are specific to the selected JavaMail provider. -->
+        <!-- Any number may be specified. -->
+        <javaMailProperties>
+            <!-- Set the connection timeout to 3 minutes -->
+            <property name="mail.pop3.connectiontimeout" value="180000"/>
+            <!-- Set the I/O timeout to 3 minutes -->
+            <property name="mail.pop3.timeout" value="180000"/>
+        </javaMailProperties>
+
+        <!-- Retrieve both old (seen) and new messages from mailserver.  The 
default -->
+        <!-- is to fetch only messages the server has not marked as seen -->
+        <fetchall>false</fetchall>
+
+        <!-- If the folder javaMailFolderName contains subfolders do you -->
+        <!-- want to recurse into the subfolders as well? true = yes, false = 
no -->
+        <recursesubfolders>false</recursesubfolders>
+
+        <!-- If the From: header of a fetched message has a valid user part -->
+        <!-- but no domain part the fetch task will correct this by appending 
-->
+        <!-- a default domain. eg: 'james' becomes 'james@defaultdomain' -->
+        <!-- The default behaviour is to append the canonical host name of the 
James server.  -->
+        <!-- You can override this behaviour here by specifying the name of 
the domain -->
+        <!-- you wish to append. The name you choose must be a local server or 
you can -->
+        <!-- use the name localhost -->
+        <!-- Example using a locally served domain -->
+        <!--
+        <defaultdomain>mydomain.com</defaultdomain>
+         -->
+        <!-- Example using localhost -->
+        <!--
+        <defaultdomain>localhost</defaultdomain>
+         -->
+
+        <!-- Specify what happens to messages succesfully fetched from the 
mailserver -->
+        <!-- leaveonserver -->
+        <!--     if true, messages will be left on the server -->
+        <!--     if false, messages will be deleted from the server -->
+        <!-- markseen -->
+        <!--     if true, messages left on the server will be marked as seen 
-->
+        <!--     if false, messages left on the server will not be marked as 
seen -->
+        <fetched leaveonserver="false" markseen="true"/>
+
+        <!-- Specify the index of the RECEIVED Header used to compute the 
remote address and remote host name -->
+        <!-- and what happens to messages that contain an invalid header at 
that index. -->
+        <!-- Matchers such as InSpammerBlacklist use the remote address and/or 
remote host name to identify illegitimate -->
+        <!-- remote MTAs. -->
+        <!-- This tag is optional. If omitted, the remote address will be set 
to 127.0.0.1 and the remote domain -->
+        <!-- will be set to 'localhost'. Both are almost always considered 
legitimate. -->
+        <!-- index -->
+        <!--     The zero based index of the RECEIVED Header used to compute 
the remote address and remote host name -->
+        <!--     of the MTA that delivered a fetched message. -->
+        <!--     Typically, the first (index = 0) RECEIVED Header is for the 
local MTA that delivers mail to the message store -->
+        <!--     and the second RECEIVED Header (index = 1) is the remote 
domain delivering mail to the MTA, so the second -->
+        <!--     RECEIVED Header is the one to use. -->
+        <!--     Some configurations will differ. Look at the RECEIVED Headers 
and set the index to point to the first remote MTA. -->
+        <!--     An index of -1 is is interpreted as use 127.0.0.1 for the 
remote address and use 'localhost' for the remote host name. -->
+        <!-- reject -->
+        <!--     if true, messages whose received header at the specified 
index is invalid will be rejected -->
+        <!--     if false, messages whose received header at the specified 
index is invalid will be accepted -->
+        <!--     and the Mail Attribute 
"org.apache.james.fetchmail.isInvalidReceivedHeader" -->
+        <!--     will be added to the message. Use the HasMailAttribute 
matcher to detect them. -->
+        <!-- The following apply if reject="true" and a message is rejected... 
-->
+        <!--     leaveonserver -->
+        <!--         if true, messages will be left on the server -->
+        <!--         if false, messages will be deleted from the server -->
+        <!--     markseen -->
+        <!--         if true, messages left on the server will be marked as 
seen -->
+        <!--         if false, messages left on the server will not be marked 
as seen -->
+        <remotereceivedheader index="1" reject="true" leaveonserver="true" 
markseen="false"/>
+
+        <!-- Specify what happens to messages whose size exceeds the specified 
limit. -->
+        <!-- This tag is optional. If omitted, there is no limit. -->
+        <!-- limit -->
+        <!--     The maximum message size in Kilobytes of messages injected 
into James. -->
+        <!--     A value of 0 means no limit. -->
+        <!-- reject -->
+        <!--     if true, messages whose size exceeds the limit will be 
rejected -->
+        <!--     if false, messages whose size exceeds the limit will be 
stripped of their message bodies -->
+        <!--     prior to injection into James and the MailAttribute 
"org.apache.james.fetchmail.isMaxMessageSizeExceeded" -->
+        <!--     will be added to the message with the value set to the 
original message size in bytes. -->
+        <!--     Use the HasMailAttribute matcher to detect them. -->
+        <!-- The following apply if reject="true" and a message is rejected... 
-->
+        <!--     leaveonserver -->
+        <!--         if true, messages will be left on the server -->
+        <!--         if false, messages will be deleted from the server -->
+        <!--     markseen -->
+        <!--         if true, messages left on the server will be marked as 
seen -->
+        <!--         if false, messages left on the server will not be marked 
as seen -->
+        <maxmessagesize limit="0" reject="false" leaveonserver="true" 
markseen="false"/>
+
+        <!-- Specify what happens to undeliverable messages -->
+        <!-- leaveonserver -->
+        <!--     if true, messages will be left on the server -->
+        <!--     if false, messages will be deleted from the server -->
+        <!-- markseen -->
+        <!--     if true, messages left on the server will be marked as seen 
-->
+        <!--     if false, messages left on the server will not be marked as 
seen -->
+        <undeliverable leaveonserver="true" markseen="false"/>
+
+        <!-- Specify what happens to messages for which a recipient cannot be 
determined. -->
+        <!-- defer -->
+        <!--     if true, processing of messages for which a recipient cannot 
be determined will deferred -->
+        <!--     until the next fetch of the Account. This gives an 
opportunity for other Accounts in the -->
+        <!--     fetch task to determine the recipient and process the mail. 
-->
+        <!--     if false, messages for which a recipient cannot be determined 
are processed immediately. -->
+        <!-- reject -->
+        <!--     if true, messages for which a recipient cannot be determined 
will be rejected -->
+        <!--     if false, messages for which a recipient cannot be determined 
will be accepted, -->
+        <!--     the account recipient will be used and the MailAttribute 
"org.apache.james.fetchmail.isRecipientNotFound" -->
+        <!--     will be added to the message. Use the HasMailAttribute 
matcher to detect them. -->
+        <!-- The following apply if reject="true" and a message is rejected... 
-->
+        <!--     leaveonserver -->
+        <!--         if true, messages will be left on the server -->
+        <!--         if false, messages will be deleted from the server -->
+        <!--     markseen -->
+        <!--         if true, messages left on the server will be marked as 
seen -->
+        <!--         if false, messages left on the server will not be marked 
as seen -->
+        <recipientnotfound defer="true" reject="true" leaveonserver="true" 
markseen="false"/>
+
+        <!-- Specify a list of recipients for whom messages will be rejected 
-->
+        <!-- and what happens to rejected messages. -->
+        <!-- The list can be comma, tab or space delimited. -->
+        <!-- reject -->
+        <!--     if true, messages for users on the blacklist will be rejected 
-->
+        <!--     if false, messages for users on the blacklist will be 
accepted -->
+        <!--     and the Mail Attribute 
"org.apache.james.fetchmail.isBlacklistedRecipient" -->
+        <!--     will be added to the message. Use the HasMailAttribute 
matcher to detect them. -->
+        <!-- The following apply if reject="true" and a message is rejected... 
-->
+        <!--     leaveonserver -->
+        <!--         if true, messages will be left on the server -->
+        <!--         if false, messages will be deleted from the server -->
+        <!--     markseen -->
+        <!--         if true, messages left on the server will be marked as 
seen -->
+        <!--         if false, messages left on the server will not be marked 
as seen -->
+        <blacklist reject="true" leaveonserver="true" 
markseen="false">wibble@localhost, flobble@localhost</blacklist>
+
+        <!-- Specify if messages for users who are not defined to James should 
-->
+        <!-- be rejected and what happens to rejected messages. -->
+        <!-- reject -->
+        <!--     if true, messages for users who are not defined to James will 
be rejected -->
+        <!--     if false, messages for users who are not defined to James 
will be accepted -->
+        <!--     and the Mail Attribute 
"org.apache.james.fetchmail.isUserUndefined" -->
+        <!--     will be added to the message. Use the HasMailAttribute 
matcher to detect them. -->
+        <!-- The following apply if reject="true" and a message is rejected... 
-->
+        <!--     leaveonserver -->
+        <!--         if true, messages will be left on the server -->
+        <!--         if false, messages will be deleted from the server -->
+        <!--     markseen -->
+        <!--         if true, messages left on the server will be marked as 
seen -->
+        <!--         if false, messages left on the server will not be marked 
as seen -->
+        <userundefined reject="true" leaveonserver="true" markseen="false" />
+
+        <!-- Specify if messages for recipients on remote hosts should -->
+        <!-- be rejected and what happens to rejected messages. -->
+        <!-- reject -->
+        <!--     if true, messages for remote recipients will be rejected -->
+        <!--     if false, messages for remote recipients will be accepted -->
+        <!--     and the Mail Attribute 
"org.apache.james.fetchmail.isRemoteRecipient" -->
+        <!--     will be added to the message. Use the HasMailAttribute 
matcher to detect them. -->
+        <!-- The following apply if reject="true" and a message is rejected... 
-->
+        <!--     leaveonserver -->
+        <!--         if true, messages will be left on the server -->
+        <!--         if false, messages will be deleted from the server -->
+        <!--     markseen -->
+        <!--         if true, messages left on the server will be marked as 
seen -->
+        <!--         if false, messages left on the server will not be marked 
as seen -->
+        <remoterecipient reject="true" leaveonserver="true" markseen="false" />
+    </fetch>
+
+</fetchmail>       

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/imapserver.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/imapserver.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/imapserver.xml
new file mode 100644
index 0000000..8ccb117
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/indexer.xml
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/indexer.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/indexer.xml
new file mode 100644
index 0000000..ced1a62
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/indexer.xml
@@ -0,0 +1,23 @@
+<?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.                                           
+ -->
+
+<indexer>
+  <provider>elasticsearch</provider>
+</indexer>

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/jmap.properties
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/jmap.properties 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/jmap.properties
new file mode 100644
index 0000000..34ab451
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/jmap.properties
@@ -0,0 +1,11 @@
+# Configuration file for JMAP
+
+tls.keystoreURL=file://conf/keystore
+tls.secret=james72laBalle
+
+#
+# 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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/jmx.properties
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/jmx.properties 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/jmx.properties
new file mode 100644
index 0000000..a1dbdf8
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/jwt_publickey
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/jwt_publickey 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/jwt_publickey
new file mode 100644
index 0000000..53914e0
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/jwt_publickey
@@ -0,0 +1,9 @@
+-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtlChO/nlVP27MpdkG0Bh
+16XrMRf6M4NeyGa7j5+1UKm42IKUf3lM28oe82MqIIRyvskPc11NuzSor8HmvH8H
+lhDs5DyJtx2qp35AT0zCqfwlaDnlDc/QDlZv1CoRZGpQk1Inyh6SbZwYpxxwh0fi
++d/4RpE3LBVo8wgOaXPylOlHxsDizfkL8QwXItyakBfMO6jWQRrj7/9WDhGf4Hi+
+GQur1tPGZDl9mvCoRHjFrD5M/yypIPlfMGWFVEvV5jClNMLAQ9bYFuOc7H1fEWw6
+U1LZUUbJW9/CH45YXz82CYqkrfbnQxqRb2iVbVjs/sHopHd1NTiCfUtwvcYJiBVj
+kwIDAQAB
+-----END PUBLIC KEY-----

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/keystore
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/keystore 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/keystore
new file mode 100644
index 0000000..54528cd
Binary files /dev/null and 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/keystore differ

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/lib/README.txt
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/lib/README.txt 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/lib/README.txt
new file mode 100644
index 0000000..d536d44
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/lib/README.txt
@@ -0,0 +1 @@
+# Put every jar you want to have included in the classpath in here
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/lmtpserver.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/lmtpserver.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/lmtpserver.xml
new file mode 100644
index 0000000..ce079b0
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
new file mode 100644
index 0000000..7685591
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
@@ -0,0 +1,28 @@
+<?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} [%-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>
+
+</configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/mailetcontainer.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/mailetcontainer.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/mailetcontainer.xml
new file mode 100644
index 0000000..25d02d4
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/mailetcontainer.xml
@@ -0,0 +1,187 @@
+<?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>postmas...@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"/>
+            <!-- Hook on sievemana...@james.linagora.com
+                 Mail send to this address will get interpreted with SIEVE 
Manage -->
+            <mailet match="RecipientIs=sievemana...@james.linagora.com" 
class="ToProcessor">
+                <processor>sieve-manager-check</processor>
+            </mailet>
+            <mailet match="HasMailAttribute=spamChecked" class="ToProcessor">
+                <processor>transport</processor>
+            </mailet>
+            <mailet match="All" class="SetMailAttribute">
+                <spamChecked>true</spamChecked>
+            </mailet>
+            <mailet match="SMTPAuthSuccessful" class="ToProcessor">
+                <processor>transport</processor>
+            </mailet>
+            <mailet match="InSpammerBlacklist=query.bondedsender.org." 
class="ToProcessor">
+                <processor>transport</processor>
+            </mailet>
+            <!-- Check for delivery from a known spam server -->
+            <!-- This set of matchers/mailets redirect all emails from known 
-->
+            <!-- black holes, open relays, and spam servers to the spam 
processor -->
+            <!-- For this set to function properly, the spam processor must be 
configured. -->
+            <mailet match="InSpammerBlacklist=dnsbl.njabl.org." 
class="ToProcessor">
+                <processor>spam</processor>
+                <notice>550 Requested action not taken: rejected - see 
http://njabl.org/</notice>
+            </mailet>
+            <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="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="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>
+            <mailet match="All" class="ToProcessor">
+                <processor>relay-denied</processor>
+            </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 authentified 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>
+
+        <processor state="sieve-manager-check" enableJmx="true">
+            <!-- Only local users can manage their scripts -->
+            <mailet match="RecipientIsLocal" class="ToProcessor">
+                <processor>sieve-manager</processor>
+            </mailet>
+            <!-- Notify other people about their failure -->
+            <mailet match="All" class="Bounce">
+                <inline>heads</inline>
+                <attachment>none</attachment>
+                <passThrough>false</passThrough>
+                <prefix>[REJECTED]</prefix>
+                <notice>
+                    You can't send messages to configure SIEVE on this serveur 
unless you are the official SIEVE manager.
+                </notice>
+            </mailet>
+            <mailet match="All" class="Null"/>
+        </processor>
+
+        <processor state="sieve-manager">
+            <mailet match="All" class="SetMailAttribute">
+                
<org.apache.james.SMTPAuthUser>true</org.apache.james.SMTPAuthUser>
+            </mailet>
+            <mailet match="All" 
class="org.apache.james.transport.mailets.managesieve.ManageSieveMailet">
+                
<helpURL>file:/root/james-server-app-3.0.0-beta5-SNAPSHOT/conf/managesieve.help.txt</helpURL>
+            </mailet>
+            <mailet match="All" class="Null"/>
+        </processor>
+    </processors>
+
+</mailetcontainer>
+
+

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/mailrepositorystore.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/mailrepositorystore.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/mailrepositorystore.xml
new file mode 100644
index 0000000..acca810
--- /dev/null
+++ 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/managesieve.help.txt
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/managesieve.help.txt 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/managesieve.help.txt
new file mode 100644
index 0000000..f45c78d
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/managesieve.help.txt
@@ -0,0 +1,112 @@
+managesieve implements the commands defined by RFC 5804 
((http://tools.ietf.org/html/rfc5804) to manage sieve scripts via mail 
messages. A mail is sent to the managesieve user with the command and 
parameters in the subject header. Sieve scripts are exchanged as mail 
attachments.
+
+Consult your mail administrator for the name of the managesieve user 
configured for your installation.
+
+Users MUST be SMTP authenticated to execute all except the CAPABILITY and HELP 
commands (see note (1) below).
+
+Commands are executed and answered within the namespace of the sending user as 
denoted by the sender header of the mail. Thus, a command such as LISTSCRIPTS 
lists the scripts within namespace of the user identified by the sender header.
+
+The supported commands are summarised in "Command Summary" below. Generally 
the responses are self describing. For full details see RFC 5804 - Commands 
(http://tools.ietf.org/html/rfc5804#section-2).
+
+In these descriptions the following keywords apply:
+
+- sieve-name
+    The name of a sieve script enclosed in parentheses, eg: "my script". An 
empty name is not allowed.
+- active-sieve-name
+    As sieve-name, except an empty name, eg: "", is allowed.
+- old-sieve-name
+    As sieve-name
+- new-sieve-name
+    As sieve-name    
+- sieve-script
+    A mail attachment recognised as a sieve script. This is the first 
attachment in a mail satisfying any of these characteristics:
+        - A MIME type of "application/sieve"
+        - A filename with the suffix ".sieve"
+        - A filename with the suffix ".siv"
+    Returned sieve-scripts always have the MIME type of "application/sieve"
+
+Command Summary
+---------------
+
+CAPABILITY
+    Subject:
+        CAPABILITY
+    Attachments: 
+        none
+Answers the capabilities of the underlying sieve inplementation.
+
+CHECKSCRIPT
+    Subject:
+        CHECKSCRIPT
+    Attachments: 
+        sieve-script
+Verifies the attached sieve-script without storing it on the server.
+
+DELETESCRIPT
+    Subject: 
+        DELETESCRIPT sieve-name
+    Attachments: 
+        none
+Deletes the named sieve script.
+
+GETACTIVE
+    Subject: 
+        GETACTIVE
+    Attachments: 
+        none
+Answers the active sieve script as an attachment.
+
+GETSCRIPT
+    Subject: 
+        GETSCRIPT sieve-name
+    Attachments: 
+        none
+Answers the named sieve script as an attachment.
+
+HAVESPACE
+    Subject: 
+        HAVESPACE sieve-name number
+    Attachments: 
+        none
+Answers OK if there is available space to store a script with the given name 
of the given size, else NO.
+
+HELP
+    Subject: 
+        HELP
+    Attachments: 
+        none
+Answers this text.
+
+LISTSCRIPTS
+    Subject: 
+        LISTSCRIPTS
+    Attachments: 
+        none
+Answers a list of the sieve scripts stored on the server, indicating which, if 
any, is the active script.
+
+PUTSCRIPT
+    Subject: 
+        PUTSCRIPT sieve-name
+    Attachments: 
+        sieve-script
+Verifies the attached sieve-script and if there are no errors stores it on the 
server using the given name.
+
+RENAMESCRIPT
+    Subject: 
+        RENAMESCRIPT old-sieve-name new-sieve-name
+    Attachments: 
+        none
+Renames the script stored on the server named old-sieve-name to new-sieve-name.
+
+SETACTIVE
+    Subject: 
+        SETACTIVE active-sieve-name
+    Attachments: 
+        none
+Sets the active script on the server to the given name. Use an empty string, 
"", to deactivate all scripts.
+
+Notes
+-----
+1) Some mail servers optionally allow configurations that enable local clients 
to post without SMTP authentication, such configurations will fail as 
managesieve requires SMTP authentication in all circumstances. To repeat, users 
MUST be SMTP authenticated to execute all except the CAPABILITY and HELP 
commands.
+
+

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/managesieveserver.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/managesieveserver.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/managesieveserver.xml
new file mode 100644
index 0000000..7b0b85a
--- /dev/null
+++ 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/pop3server.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/pop3server.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/pop3server.xml
new file mode 100644
index 0000000..df8fbef
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/quota.xml
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/quota.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/quota.xml
new file mode 100644
index 0000000..70162e0
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/recipientrewritetable.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/recipientrewritetable.xml
 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/recipientrewritetable.xml
new file mode 100644
index 0000000..fde339b
--- /dev/null
+++ 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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 
class="org.apache.james.rrt.jpa.JPARecipientRewriteTable">
+  <recursiveMapping>true</recursiveMapping>
+  <mappingLimit>10</mappingLimit>
+</recipientrewritetable>
+

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/smime.p12
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/smime.p12 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/smime.p12
new file mode 100644
index 0000000..9b066d3
Binary files /dev/null and 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/smime.p12 differ

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/smtpserver.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/smtpserver.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/smtpserver.xml
new file mode 100644
index 0000000..bc609be
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/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/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/usersrepository.xml
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/usersrepository.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/usersrepository.xml
new file mode 100644
index 0000000..5912ea7
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/usersrepository.xml
@@ -0,0 +1,27 @@
+<?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.                                           
+ -->
+
+<repository name="LocalUsers" 
+    class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository" 
+    ldapHost="ldap://myldapserver:389"; 
+    principal="uid=ldapUser,ou=system" 
+    credentials="password" 
+    userBase="ou=People,o=myorg.com,ou=system" 
+    userIdAttribute="uid"/>

http://git-wip-us.apache.org/repos/asf/james-project/blob/1990ae65/dockerfiles/run/guice/cassandra-ldap/destination/conf/webadmin.properties
----------------------------------------------------------------------
diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/webadmin.properties 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/webadmin.properties
new file mode 100644
index 0000000..70a6cb9
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/webadmin.properties
@@ -0,0 +1,22 @@
+#  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
\ No newline at end of file


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

Reply via email to