This is an automated email from the ASF dual-hosted git repository.
aduprat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new 741b9fb JAMES-2714 Xdoc Blob Configuration
new 71390f1 Merge remote-tracking branch 'dtran/blob-xdoc'
741b9fb is described below
commit 741b9fb41ef076a882310c52a5137b57be00201f
Author: Tran Tien Duc <[email protected]>
AuthorDate: Fri Apr 12 15:57:54 2019 +0700
JAMES-2714 Xdoc Blob Configuration
---
src/homepage/howTo/deleted-messages-vault.html | 4 ++
src/site/xdoc/server/config-blob-export.xml | 58 ++++++++++++++++++++++++++
src/site/xdoc/server/config.xml | 6 +++
3 files changed, 68 insertions(+)
diff --git a/src/homepage/howTo/deleted-messages-vault.html
b/src/homepage/howTo/deleted-messages-vault.html
index 0cf7d0c..782278d 100644
--- a/src/homepage/howTo/deleted-messages-vault.html
+++ b/src/homepage/howTo/deleted-messages-vault.html
@@ -257,6 +257,10 @@ layout: default
<pre><code>
blob.export.implementation=localFile
</code></pre>
+
+ <p>
+ More details about configuration & example at <a
href="/server/config-blob-expor.html">Blob Export Configuration</a>
+ </p>
</div>
<footer class="major">
<ul class="actions align-center">
diff --git a/src/site/xdoc/server/config-blob-export.xml
b/src/site/xdoc/server/config-blob-export.xml
new file mode 100644
index 0000000..ac03f06
--- /dev/null
+++ b/src/site/xdoc/server/config-blob-export.xml
@@ -0,0 +1,58 @@
+<?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.
+-->
+<document>
+
+ <properties>
+ <title>Apache James Server 3 - Blob Configuration</title>
+ </properties>
+
+<body>
+
+ <section name="Blob Export Configuration">
+ <p>Consult <a
href="https://github.com/apache/james-project/blob/master/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/blob.properties">blob.properties</a>
in GIT to get some examples and hints.</p>
+
+ <p>
+ Configuration for exporting blob content
+ </p>
+ <dl>
+ <dt><strong>blob.export.implementation</strong></dt>
+ <dd>localFile: Local File Exporting Mechanism (explained below).
Default: localFile</dd>
+ </dl>
+
+ <subsection name="Local File Blob Export Configuration">
+ <p>
+ For each request, this mechanism retrieves the content of a blob
and save it to a distinct local file, then send an email containing the
absolute path of that file to the target mail address.
+ Note: that absolute file path is the file location on James
server. Therefore, if there are two or more James servers connected, it should
not be considered an option.
+ </p>
+ <dl>
+ <dt><strong>blob.export.localFile.directory</strong></dt>
+ <dd>
+ The directory URL to store exported blob data in files, and
the URL following
+ <a
href="http://james.apache.org/server/3/apidocs/org/apache/james/filesystem/api/FileSystem.html">James
File System scheme</a>.
+ Default: file://var/blobExporting
+ </dd>
+ </dl>
+ </subsection>
+ </section>
+
+</body>
+
+</document>
+
diff --git a/src/site/xdoc/server/config.xml b/src/site/xdoc/server/config.xml
index 013c4e2..97d753a 100644
--- a/src/site/xdoc/server/config.xml
+++ b/src/site/xdoc/server/config.xml
@@ -138,6 +138,12 @@
<td><a href="config-vault.html">Deleted Messages Vault
Configuration</a></td>
<td></td>
</tr>
+ <tr>
+ <td><a
href="https://github.com/apache/james-project/blob/master/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/blob.properties">blob.properties</a></td>
+ <td><a href="config-blob-export.html">Blob Export
Configuration</a></td>
+ <td></td>
+ </tr>
+
</table>
<p>For most advanced system configuration, you can configure James for the
following:</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]