Author: eric
Date: Wed Nov 10 08:11:00 2010
New Revision: 1033390
URL: http://svn.apache.org/viewvc?rev=1033390&view=rev
Log:
Add README in var (sub)folder to avoid confusions and package with them.
Added:
james/server/trunk/container-spring/var/README.txt
james/server/trunk/container-spring/var/mail/
james/server/trunk/container-spring/var/mail/README.txt
james/server/trunk/container-spring/var/store/
james/server/trunk/container-spring/var/store/README.txt
Modified:
james/server/trunk/container-spring/src/assemble/bin.xml
Modified: james/server/trunk/container-spring/src/assemble/bin.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/assemble/bin.xml?rev=1033390&r1=1033389&r2=1033390&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/assemble/bin.xml (original)
+++ james/server/trunk/container-spring/src/assemble/bin.xml Wed Nov 10
08:11:00 2010
@@ -53,11 +53,8 @@
</includes>
</fileSet>
<fileSet>
- <directory>.</directory>
+ <directory>var</directory>
<outputDirectory>var</outputDirectory>
- <includes>
- <include>.dummy</include>
- </includes>
</fileSet>
<!-- include stuff from appassembler -->
Added: james/server/trunk/container-spring/var/README.txt
URL:
http://svn.apache.org/viewvc/james/server/trunk/container-spring/var/README.txt?rev=1033390&view=auto
==============================================================================
--- james/server/trunk/container-spring/var/README.txt (added)
+++ james/server/trunk/container-spring/var/README.txt Wed Nov 10 08:11:00 2010
@@ -0,0 +1,27 @@
+The $JAMES_ROOT/var folder is the place where James Server writes and reads the
+files it needs to achieve its functions.
+
+There should be two folders in var:
+
+ * mail
+
+ This folder does NOT contain the users mails
+ (look at store folder (or your external database) to find the mailboxes).
+ The mail foldercontains the mails rejected during the spooling
+ (depending on mailetcontainer.xml configuration).
+
+ * store
+
+ This folder contains the files related to database, jcr, activemq,...
needed by James.
+ James Server default settings comes with a embedded Derby database that
stores the
+ users, domains and mailboxes (the user mails) (see store/derby folder).
+ Of course, if you changed database.properties and still use a database
for the mailboxes,
+ you will have to look for the users, domains and mailboxes in your
database, whatever,
+ wherever it is.
+ You can find in store other folders such as store/activemq, store/maildir,
+ store/jackrabbit,...
+
+
+For some functions, James uses the system temporary folder (/tmp on linux).
+The system temp can be populated with some temporary files, but James should
remove
+them after a short time.
Added: james/server/trunk/container-spring/var/mail/README.txt
URL:
http://svn.apache.org/viewvc/james/server/trunk/container-spring/var/mail/README.txt?rev=1033390&view=auto
==============================================================================
--- james/server/trunk/container-spring/var/mail/README.txt (added)
+++ james/server/trunk/container-spring/var/mail/README.txt Wed Nov 10 08:11:00
2010
@@ -0,0 +1,21 @@
+$JAMES_ROOT/var/mail
+
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !!!!!! This folder does NOT contain the users mails (mailboxes). !!!!!!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+ Look at $JAMES_ROOT/var/store folder (or your external database) to find
+ the mailboxes.
+
+ This folder contains the mails rejected during the spooling
+ (depending on mailetcontainer.xml configuration).
+
+ Sub folders of var/mail can be:
+
+ * address-error
+
+ * error
+
+ * relay-denied
+
+ * spam
Added: james/server/trunk/container-spring/var/store/README.txt
URL:
http://svn.apache.org/viewvc/james/server/trunk/container-spring/var/store/README.txt?rev=1033390&view=auto
==============================================================================
--- james/server/trunk/container-spring/var/store/README.txt (added)
+++ james/server/trunk/container-spring/var/store/README.txt Wed Nov 10
08:11:00 2010
@@ -0,0 +1,33 @@
+$JAMES_ROOT/var/store
+
+ This folder contains the files related to database, jcr, activemq,...
needed by James.
+ James Server default settings comes with a embedded Derby database that
stores the
+ users, domains and mailboxes (the user mails) (see store/derby folder).
+
+ Of course, if you changed database.properties and still use a database
for the mailboxes,
+ you will have to look for the users, domains and mailboxes in your
database, whatever,
+ wherever it is.
+
+ You can find in store folder sub-folders such as:
+
+ * activemq
+ +-brokers
+ +-james
+ +-blob-transfer
+ +-outgoing
+ +-spool
+
+ The activemq component is configured to use this folder
+ for queues (and topics if any) processing.
+
+ * maildir
+
+ You can configure James to use MailDir as storage for the user
+ mailboxes. Use var/store/maildir folder to contain the user's
+ mails.
+
+ * jackrabbit
+
+ You can configure James to use JCR (Java Content Repository, based
+ on Apache Jackrabbit) as storage for the user mailboxes. Use
+ var/store/jackrabbit folder to contain the user's mails.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]