Author: eric
Date: Sun Oct 31 08:28:57 2010
New Revision: 1029275

URL: http://svn.apache.org/viewvc?rev=1029275&view=rev
Log:
Copy existing conf in examples directory to prepare cleanup (JAMES-1079)

Added:
    james/server/trunk/container-spring/src/main/config/examples/
    
james/server/trunk/container-spring/src/main/config/examples/database.properties
    james/server/trunk/container-spring/src/main/config/examples/dnsservice.xml
    james/server/trunk/container-spring/src/main/config/examples/domainlist.xml
    james/server/trunk/container-spring/src/main/config/examples/fetchmail.xml
    james/server/trunk/container-spring/src/main/config/examples/imapserver.xml
    
james/server/trunk/container-spring/src/main/config/examples/james-listmanager.xml
    
james/server/trunk/container-spring/src/main/config/examples/jcr-repository.xml
    james/server/trunk/container-spring/src/main/config/examples/jmx.access
    james/server/trunk/container-spring/src/main/config/examples/jmx.password
    james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml
    
james/server/trunk/container-spring/src/main/config/examples/log4j.properties
    
james/server/trunk/container-spring/src/main/config/examples/mailetcontainer.xml
    james/server/trunk/container-spring/src/main/config/examples/mailserver.xml
    james/server/trunk/container-spring/src/main/config/examples/mailstore.xml
    james/server/trunk/container-spring/src/main/config/examples/miResources.xml
    james/server/trunk/container-spring/src/main/config/examples/pop3server.xml
    
james/server/trunk/container-spring/src/main/config/examples/remotemanager.xml
    james/server/trunk/container-spring/src/main/config/examples/smtpserver.xml
    
james/server/trunk/container-spring/src/main/config/examples/spring-beans.xml
    
james/server/trunk/container-spring/src/main/config/examples/sqlResources.xml
    
james/server/trunk/container-spring/src/main/config/examples/usersrepository.xml
    
james/server/trunk/container-spring/src/main/config/examples/virtualusertable.xml

Added: 
james/server/trunk/container-spring/src/main/config/examples/database.properties
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/database.properties?rev=1029275&view=auto
==============================================================================
--- 
james/server/trunk/container-spring/src/main/config/examples/database.properties
 (added)
+++ 
james/server/trunk/container-spring/src/main/config/examples/database.properties
 Sun Oct 31 08:28:57 2010
@@ -0,0 +1,19 @@
+
+# Use derby as default
+database.driverClassName=org.apache.derby.jdbc.EmbeddedDriver
+database.url=jdbc:derby:../var/derbydb;create=true
+database.username=app
+database.password=app
+
+# Supported adapters are:
+# DB2, DERBY, H2, HSQL, INFORMIX, MYSQL, ORACLE, POSTGRESQL, SQL_SERVER, 
SYBASE 
+vendorAdapter.database=DERBY
+
+# Use streaming for Blobs
+# This is only supported on a limited set of databases atm. You should check 
if its supported by your DB before enable
+# it. 
+# 
+# See:
+# 
http://openjpa.apache.org/builds/latest/docs/manual/ref_guide_mapping_jpa.html  
#7.11.  LOB Streaming 
+# 
+openjpa.streaming=false
\ No newline at end of file

Added: 
james/server/trunk/container-spring/src/main/config/examples/dnsservice.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/dnsservice.xml?rev=1029275&view=auto
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/dnsservice.xml 
(added)
+++ james/server/trunk/container-spring/src/main/config/examples/dnsservice.xml 
Sun Oct 31 08:28:57 2010
@@ -0,0 +1,57 @@
+<?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.                                           
+ -->
+<!-- DNS Service Block -->
+<!-- -->
+<!-- Specifies DNS Server information for use by various components inside -->
+<!-- James. -->
+<!-- -->
+<!-- If autodiscover is true, James will attempt to autodiscover the DNS 
servers configured on your underlying system.-->
+<!-- Currently, this works if the OS has a unix-like /etc/resolv.conf,-->
+<!-- or the system is Windows based with ipconfig or winipcfg.-->
+<!-- -->
+<!-- If no DNS servers are found and you have not specified any below, 
127.0.0.1 will be used-->
+<!-- If you use autodiscover and add DNS servers manually a combination of all 
the dns servers will be used  -->
+<!--  -->
+<!-- Information includes a list of DNS Servers to be used by James.  These 
are -->
+<!-- specified by the server elements, each of which is a child element of the 
-->
+<!-- servers element.  Each server element is the IP address of a single DNS 
server. -->
+<!-- The servers element can have multiple server children. -->
+<dnsservice>
+    <servers>
+        <!--Enter ip address of your DNS server, one IP address per server -->
+        <!-- element. -->
+        <!--
+        <server>127.0.0.1</server>
+        -->
+    </servers>
+    <!-- Change autodiscover to false if you would like to turn off 
autodiscovery -->
+    <!-- and set the DNS servers manually in the <servers> section -->
+    <autodiscover>true</autodiscover>
+    <authoritative>false</authoritative>
+
+    <!-- Maximum number of entries to maintain in the DNS cache -->
+    <maxcachesize>50000</maxcachesize>
+      
+    <!-- Uncomment this if you want James to try a single server for each -->
+    <!-- multihomed mx host. -->
+    <!--
+    <singleIPperMX> true </singleIPperMX>
+    -->
+</dnsservice>

Added: 
james/server/trunk/container-spring/src/main/config/examples/domainlist.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/domainlist.xml?rev=1029275&view=auto
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/domainlist.xml 
(added)
+++ james/server/trunk/container-spring/src/main/config/examples/domainlist.xml 
Sun Oct 31 08:28:57 2010
@@ -0,0 +1,68 @@
+<?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.                                           
+ -->
+ 
+ 
+<!-- Domainnames identifies the DNS namespace served by this instance of 
James. -->
+<!-- These domainnames are used for both matcher/mailet processing and SMTP 
auth -->
+<!-- to determine when a mail is intended for local delivery. -->
+<!-- -->
+<!-- If autodetect is TRUE, James wil attempt to discover its own host name 
AND -->
+<!-- use any explicitly specified servernames. -->
+<!-- If autodetect is FALSE, James will use only the specified domainnames. -->
+<!-- -->
+<!-- If autodetectIP is not FALSE, James will also allow add the IP address 
for each servername. -->
+<!-- The automatic IP detection is to support RFC 2821, Sec 4.1.3, address 
literals. -->
+<!-- -->
+<!-- To override autodetected domainames names simply add explicit domainname 
elements. -->
+<!-- In most cases this will be necessary. -->
+<!-- By default, the domainname 'localhost' is specified. This can be removed, 
if required. -->
+<!-- -->
+<!-- Warning: If you are using fetchmail it is important to include the -->
+<!-- fetched domains in the server name list to prevent looping.       -->    
+<domainlists>
+
+  <!-- XML based DomainList implementation -->
+  <domainlist class="org.apache.james.domainlist.xml.XMLDomainList">
+    <domainnames>
+      <domainname>localhost</domainname>
+    </domainnames>
+    <autodetect>true</autodetect>
+    <autodetectIP>true</autodetectIP>
+  </domainlist>
+  
+  <!-- JPA implementation for DomainList -->
+  <!-- 
+  <domainlist class="org.apache.james.domainlist.jpa.JPADomainList">
+    <autodetect>true</autodetect>
+    <autodetectIP>true</autodetectIP>
+  </domainlist>
+  -->
+  
+  <!-- JDBC implementation for DomainList. This is deprecated and should not 
be used. -->
+  <!-- Use JPADomainList if you need a db backend DomainList -->
+  <!-- 
+  <domainlist class="org.apache.james.domainlist.jdbc.JDBCDomainList">
+    <repositoryPath>db://maildb/domain</repositoryPath>
+    <sqlFile>file://conf/sqlResources.xml</sqlFile>
+    <autodetect>true</autodetect>
+    <autodetectIP>true</autodetectIP>
+  </domainlist>  
+  -->
+</domainlists>

Added: 
james/server/trunk/container-spring/src/main/config/examples/fetchmail.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/fetchmail.xml?rev=1029275&view=auto
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/fetchmail.xml 
(added)
+++ james/server/trunk/container-spring/src/main/config/examples/fetchmail.xml 
Sun Oct 31 08:28:57 2010
@@ -0,0 +1,272 @@
+<?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.                                           
+ -->
+ 
+<!-- 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">
+    <!-- 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="postmas...@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="postmas...@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 'ja...@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"> 
wib...@localhost, flob...@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>        

Added: 
james/server/trunk/container-spring/src/main/config/examples/imapserver.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/imapserver.xml?rev=1029275&view=auto
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/imapserver.xml 
(added)
+++ james/server/trunk/container-spring/src/main/config/examples/imapserver.xml 
Sun Oct 31 08:28:57 2010
@@ -0,0 +1,68 @@
+<?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.                                           
+ -->
+<!-- IMAP server is enabled by default -->
+<!-- Disabling blocks will stop them from listening, -->
+<!-- but does not free as many resources as removing them would -->
+<imapserver enabled="true">
+    <!-- port 993 is the well-known/IANA registered port for IMAPS  ie over 
SSL/TLS -->
+    <!-- port 143 is the well-known/IANA registered port for IMAP -->
+    <port>143</port>
+
+    <!-- Uncomment this if you want to bind to a specific inetaddress -->
+    <!-- Please NOTE: you should add this IP also to your 
RemoteAddrNotInNetwork -->
+    <!-- in order to avoid relay check for locallly generated bounces -->     
+    <!--
+    <bind> </bind>
+    -->
+    
+    <connectionBacklog>200</connectionBacklog>
+    
+    <!-- Set to true to use TLS for the Socket.
+         To use this you need to copy sunjce_provider.jar to /path/james/lib 
directory.
+    -->
+    <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>yoursecret</secret>
+      <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
+    </tls>
+      
+    <handler>
+        <!-- This is the name used by the server to identify itself in the 
SMTP -->
+        <!-- protocol.  If autodetect is TRUE, the server will discover its -->
+        <!-- own host name and use that in the protocol.  If discovery fails, 
-->
+        <!-- the value of 'localhost' is used.  If autodetect is FALSE, James 
-->
+        <!-- will use the specified value. -->
+        <!--
+        <helloName autodetect="true">myMailServer</helloName>
+        -->
+         
+        <!-- Connection timeout is 30 minutes and can not be changed - See 
rfc2060 5.4 for details -->
+            
+        <!-- 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>
+         
+    </handler>
+</imapserver>
\ No newline at end of file

Added: 
james/server/trunk/container-spring/src/main/config/examples/james-listmanager.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/james-listmanager.xml?rev=1029275&view=auto
==============================================================================
--- 
james/server/trunk/container-spring/src/main/config/examples/james-listmanager.xml
 (added)
+++ 
james/server/trunk/container-spring/src/main/config/examples/james-listmanager.xml
 Sun Oct 31 08:28:57 2010
@@ -0,0 +1,62 @@
+<?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.                                           
+ -->
+ <!-- Add a Manager and Processor for each list -->
+ <!-- TODO: add more examples                   -->
+ <!-- CHECKME: check the <resource> path        -->
+
+<mailet match="commandlistservmatcher=testl...@localhost" 
class="CommandListservManager">
+<!-- CHECKME! -->
+    <!--resources-->
+    <resources>/opt/james/apps/james/conf/miResources.xml</resources>
+    <!-- general information -->
+    <listName>testlist</listName>
+    <displayName>Test mailing list</displayName>
+    <listOwner>ow...@localhost</listOwner>
+    <repositoryName>list-test</repositoryName>
+    <listDomain>localhost</listDomain>
+
+    <!-- the packages where the commands can be loaded from -->
+    <commandpackages>
+        
<commandpackage>org.apache.james.transport.mailets.listservcommands</commandpackage>
+    </commandpackages>
+
+    <!-- all the available commands for this command. -->
+    <commands>
+        <command name="subscribe" class="Subscribe"/>
+        <command name="subscribe-confirm" class="SubscribeConfirm"/>
+        <command name="unsubscribe" class="UnSubscribe"/>
+        <command name="unsubscribe-confirm" class="UnSubscribeConfirm"/>
+        <command name="error" class="ErrorCommand"/>
+        <command name="owner" class="Owner"/>
+        <command name="info" class="Info"/>
+    </commands>
+</mailet>
+
+<!-- the processor for this list serv -->
+<mailet match="recipientis=testl...@localhost" 
class="CommandListservProcessor">
+    <membersonly>false</membersonly>
+    <attachmentsallowed>true</attachmentsallowed>
+    <replytolist>true</replytolist>
+    <repositoryName>list-test</repositoryName>
+    <subjectprefix>Test</subjectprefix>
+    <autobracket>true</autobracket>
+    <listOwner>ow...@localhost</listOwner>
+    <listName>testlist</listName>
+</mailet>

Added: 
james/server/trunk/container-spring/src/main/config/examples/jcr-repository.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/jcr-repository.xml?rev=1029275&view=auto
==============================================================================
--- 
james/server/trunk/container-spring/src/main/config/examples/jcr-repository.xml 
(added)
+++ 
james/server/trunk/container-spring/src/main/config/examples/jcr-repository.xml 
Sun Oct 31 08:28:57 2010
@@ -0,0 +1,145 @@
+<?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.
+-->
+
+<!DOCTYPE Repository
+          PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 2.0//EN"
+          "http://jackrabbit.apache.org/dtd/repository-2.0.dtd";>
+
+<!-- Example Repository Configuration File
+     Used by
+     - org.apache.jackrabbit.core.config.RepositoryConfigTest.java
+     -
+-->
+<Repository>
+    <!--
+        virtual file system where the repository stores global state
+        (e.g. registered namespaces, custom node types, etc.)
+    -->
+    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+        <param name="path" value="${rep.home}/repository"/>
+    </FileSystem>
+
+    <!--
+        data store configuration
+    -->
+    <DataStore class="org.apache.jackrabbit.core.data.FileDataStore"/>
+
+    <!--
+        security configuration
+    -->
+    <Security appName="Jackrabbit">
+        <!--
+            security manager:
+            class: FQN of class implementing the JackrabbitSecurityManager 
interface
+        -->
+        <SecurityManager 
class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager" 
workspaceName="security">
+            <!--
+            workspace access:
+            class: FQN of class implementing the WorkspaceAccessManager 
interface
+            -->
+            <!-- <WorkspaceAccessManager class="..."/> -->
+            <!-- <param name="config" value="${rep.home}/security.xml"/> -->
+        </SecurityManager>
+
+        <!--
+            access manager:
+            class: FQN of class implementing the AccessManager interface
+        -->
+        <AccessManager 
class="org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
+            <!-- <param name="config" value="${rep.home}/access.xml"/> -->
+        </AccessManager>
+
+        <LoginModule 
class="org.apache.jackrabbit.core.security.simple.SimpleLoginModule">
+           <!-- 
+              anonymous user name ('anonymous' is the default value)
+            -->
+           <param name="anonymousId" value="anonymous"/>
+           <!--
+              administrator user id (default value if param is missing is 
'admin')
+            -->
+           <param name="adminId" value="admin"/>
+        </LoginModule>
+    </Security>
+
+    <!--
+        location of workspaces root directory and name of default workspace
+    -->
+    <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="james"/>
+    <!--
+        workspace configuration template:
+        used to create the initial workspace if there's no workspace yet
+    -->
+    <Workspace name="${wsp.name}">
+        <!--
+            virtual file system of the workspace:
+            class: FQN of class implementing the FileSystem interface
+        -->
+        <FileSystem 
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+            <param name="path" value="${wsp.home}"/>
+        </FileSystem>
+        <!--
+            persistence manager of the workspace:
+            class: FQN of class implementing the PersistenceManager interface
+        -->
+        <PersistenceManager 
class="org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager">
+          <param name="url" value="jdbc:derby:${wsp.home}/db;create=true"/>
+          <param name="schemaObjectPrefix" value="${wsp.name}_"/>
+        </PersistenceManager>
+        <!--
+            Search index and the file system it uses.
+            class: FQN of class implementing the QueryHandler interface
+        -->
+        <SearchIndex 
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
+            <param name="path" value="${wsp.home}/index"/>
+            <param name="supportHighlighting" value="true"/>
+        </SearchIndex>
+    </Workspace>
+
+    <!--
+        Configures the versioning
+    -->
+    <Versioning rootPath="${rep.home}/version">
+        <!--
+            Configures the filesystem to use for versioning for the respective
+            persistence manager
+        -->
+        <FileSystem 
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+            <param name="path" value="${rep.home}/version" />
+        </FileSystem>
+
+        <!--
+            Configures the persistence manager to be used for persisting 
version state.
+            Please note that the current versioning implementation is based on
+            a 'normal' persistence manager, but this could change in future
+            implementations.
+        -->
+        <PersistenceManager 
class="org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager">
+          <param name="url" 
value="jdbc:derby:${rep.home}/version/db;create=true"/>
+          <param name="schemaObjectPrefix" value="version_"/>
+        </PersistenceManager>
+    </Versioning>
+
+    <!--
+        Search index for content that is shared repository wide
+        (/jcr:system tree, contains mainly versions)
+    -->
+    <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
+        <param name="path" value="${rep.home}/repository/index"/>
+        <param name="supportHighlighting" value="true"/>
+    </SearchIndex>
+</Repository>

Added: james/server/trunk/container-spring/src/main/config/examples/jmx.access
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/jmx.access?rev=1029275&view=auto
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/jmx.access 
(added)
+++ james/server/trunk/container-spring/src/main/config/examples/jmx.access Sun 
Oct 31 08:28:57 2010
@@ -0,0 +1,20 @@
+#  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.
+#
+#
+# root user has readwrite access
+root readwrite
\ No newline at end of file

Added: james/server/trunk/container-spring/src/main/config/examples/jmx.password
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/jmx.password?rev=1029275&view=auto
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/jmx.password 
(added)
+++ james/server/trunk/container-spring/src/main/config/examples/jmx.password 
Sun Oct 31 08:28:57 2010
@@ -0,0 +1,20 @@
+#  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.
+#
+#
+# user root with password root. This should be changed!
+root root
\ No newline at end of file

Added: 
james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml?rev=1029275&view=auto
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml 
(added)
+++ james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml 
Sun Oct 31 08:28:57 2010
@@ -0,0 +1,66 @@
+<?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 LMTP server is disabled by default -->
+<!-- Disabling blocks will stop them from listening, -->
+<!-- but does not free as many resources as removing them would -->
+<lmtpserver enabled="false">
+    <port>24</port>
+
+    <!-- LMTP should not be reachable from outside your network so bind it to 
loopback-->
+    <bind>127.0.0.1</bind>
+    
+    <connectionBacklog>200</connectionBacklog>
+      
+    <handler>
+        <!-- This is the name used by the server to identify itself in the 
LMTP -->
+        <!-- protocol.  If autodetect is TRUE, the server will discover its -->
+        <!-- own host name and use that in the protocol.  If discovery fails, 
-->
+        <!-- the value of 'localhost' is used.  If autodetect is FALSE, James 
-->
+        <!-- will use the specified value. -->
+        <!--
+        <helloName autodetect="true">myMailServer</helloName>
+        -->
+        <!-- connection timeout in secconds -->
+        <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>
+         
+                 
+         <!-- This sets the LMTPGreeting which will be used when connect to 
the lmtpserver -->
+         <!-- If none is specified a default is generated -->
+         <!--
+         <smtpGreeting> JAMES LMTP Server </smtpGreeting>
+         -->
+         
+        <handlerchain>
+            <!-- This loads the core CommandHandlers. Only remove this if you 
really -->
+            <!-- know what you are doing -->
+            <handler class="org.apache.james.lmtpserver.CoreCmdHandlerLoader"/>
+        </handlerchain>
+    </handler>
+</lmtpserver>
\ No newline at end of file

Added: 
james/server/trunk/container-spring/src/main/config/examples/log4j.properties
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/log4j.properties?rev=1029275&view=auto
==============================================================================
--- 
james/server/trunk/container-spring/src/main/config/examples/log4j.properties 
(added)
+++ 
james/server/trunk/container-spring/src/main/config/examples/log4j.properties 
Sun Oct 31 08:28:57 2010
@@ -0,0 +1,154 @@
+#  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.
+log4j.rootLogger=DEBUG
+
+log4j.appender.CONS=org.apache.log4j.ConsoleAppender
+log4j.appender.CONS.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONS.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c | %m%n
+
+log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.FILE.File=../log/james-server.log
+log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.FILE.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c | %m%n
+
+log4j.appender.MAILBOXMANAGER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.MAILBOXMANAGER.File=../log/mailboxmanager.log
+log4j.appender.MAILBOXMANAGER.DatePattern='.'yyyy-MM-dd
+log4j.appender.MAILBOXMANAGER.layout=org.apache.log4j.PatternLayout
+log4j.appender.MAILBOXMANAGER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | 
%c | %m%n
+
+
+log4j.appender.IMAPSERVER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.IMAPSERVER.File=../log/imapserver.log
+log4j.appender.IMAPSERVER.DatePattern='.'yyyy-MM-dd
+log4j.appender.IMAPSERVER.layout=org.apache.log4j.PatternLayout
+log4j.appender.IMAPSERVER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c 
| %m%n
+
+log4j.appender.MAILSERVER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.MAILSERVER.File=../log/mailserver.log
+log4j.appender.MAILSERVER.DatePattern='.'yyyy-MM-dd
+log4j.appender.MAILSERVER.layout=org.apache.log4j.PatternLayout
+log4j.appender.MAILSERVER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c 
| %m%n
+
+log4j.appender.MAILET=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.MAILET.File=../log/mailet.log
+log4j.appender.MAILET.DatePattern='.'yyyy-MM-dd
+log4j.appender.MAILET.layout=org.apache.log4j.PatternLayout
+log4j.appender.MAILET.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c | 
%m%n
+
+
+log4j.appender.SPOOLMANAGER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.SPOOLMANAGER.File=../log/spoolmanager.log
+log4j.appender.SPOOLMANAGER.DatePattern='.'yyyy-MM-dd
+log4j.appender.SPOOLMANAGER.layout=org.apache.log4j.PatternLayout
+log4j.appender.SPOOLMANAGER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | 
%c | %m%n
+
+
+log4j.appender.DNSSERVER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.DNSSERVER.File=../log/dnsserver.log
+log4j.appender.DNSSERVER.DatePattern='.'yyyy-MM-dd
+log4j.appender.DNSSERVER.layout=org.apache.log4j.PatternLayout
+log4j.appender.DNSSERVER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c | 
%m%n
+
+log4j.appender.REMOTEMANAGER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.REMOTEMANAGER.File=../log/remotemanager.log
+log4j.appender.REMOTEMANAGER.DatePattern='.'yyyy-MM-dd
+log4j.appender.REMOTEMANAGER.layout=org.apache.log4j.PatternLayout
+log4j.appender.REMOTEMANAGER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | 
%c | %m%n
+
+log4j.appender.POP3SERVER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.POP3SERVER.File=../log/pop3server.log
+log4j.appender.POP3SERVER.DatePattern='.'yyyy-MM-dd
+log4j.appender.POP3SERVER.layout=org.apache.log4j.PatternLayout
+log4j.appender.POP3SERVER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c 
| %m%n
+
+log4j.appender.SMTPSERVER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.SMTPSERVER.File=../log/smtpserver.log
+log4j.appender.SMTPSERVER.DatePattern='.'yyyy-MM-dd
+log4j.appender.SMTPSERVER.layout=org.apache.log4j.PatternLayout
+log4j.appender.SMTPSERVER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c 
| %m%n
+
+log4j.appender.LMTPSERVER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.LMTPSERVER.File=../log/lmtpserver.log
+log4j.appender.LMTPSERVER.DatePattern='.'yyyy-MM-dd
+log4j.appender.LMTPSERVER.layout=org.apache.log4j.PatternLayout
+log4j.appender.LMTPSERVER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c 
| %m%n
+
+log4j.appender.MAILSTORE=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.MAILSTORE.File=../log/mailstore.log
+log4j.appender.MAILSTORE.DatePattern='.'yyyy-MM-dd
+log4j.appender.MAILSTORE.layout=org.apache.log4j.PatternLayout
+log4j.appender.MAILSTORE.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c | 
%m%n
+
+log4j.appender.USERSREPOSITORY=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.USERSREPOSITORY.File=../log/usersrepository.log
+log4j.appender.USERSREPOSITORY.DatePattern='.'yyyy-MM-dd
+log4j.appender.USERSREPOSITORY.layout=org.apache.log4j.PatternLayout
+log4j.appender.USERSREPOSITORY.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} 
| %c | %m%n
+
+log4j.appender.OBJECTSTORAGE=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.OBJECTSTORAGE.File=../log/objectstore.log
+log4j.appender.OBJECTSTORAGE.DatePattern='.'yyyy-MM-dd
+log4j.appender.OBJECTSTORAGE.layout=org.apache.log4j.PatternLayout
+log4j.appender.OBJECTSTORAGE.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | 
%c | %m%n
+
+log4j.appender.FETCHMAIL=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.FETCHMAIL.File=../log/fetchmail.log
+log4j.appender.FETCHMAIL.DatePattern='.'yyyy-MM-dd
+log4j.appender.FETCHMAIL.layout=org.apache.log4j.PatternLayout
+log4j.appender.FETCHMAIL.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c | 
%m%n
+
+log4j.appender.DOMAINLIST=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.DOMAINLIST.File=../log/domainlist.log
+log4j.appender.DOMAINLIST.DatePattern='.'yyyy-MM-dd
+log4j.appender.DOMAINLIST.layout=org.apache.log4j.PatternLayout
+log4j.appender.DOMAINLIST.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c 
| %m%n
+
+
+
+# logger for jackrabbit
+log4j.logger.org.apache.jackrabbit=ERROR, CONS, FILE
+
+# logger for activemq
+log4j.logger.org.apache.xbean.spring=WARN, CONS, FILE
+log4j.logger.org.apache.activemq=WARN, CONS, FILE
+
+# logger for camel
+log4j.logger.org.apache.camel=WARN, CONS, FILE
+log4j.logger.org.springframework=WARN, CONS, FILE
+log4j.logger.org.apache.james=INFO, CONS, FILE
+#log4j.logger.james: set from default value WARN to INFO or even DEBUG to see 
(even) more logging
+log4j.logger.james=WARN, CONS, FILE
+log4j.logger=DEBUG, CONS, FILE
+
+log4j.logger.james.mailboxmanager=INFO, MAILBOXMANAGER
+log4j.logger.james.imapserver=INFO, IMAPSERVER
+log4j.logger.james.mailserver=INFO, MAILSERVER
+log4j.logger.james.mailetcontext=INFO, MAILET
+log4j.logger.james.spoolmanager=INFO, SPOOLMANAGER
+log4j.logger.james.dnsserver=INFO, DNSSERVER
+log4j.logger.james.remotemanager=INFO, REMOTEMANAGER
+log4j.logger.james.pop3server=INFO, POP3SERVER
+log4j.logger.james.smtpserver=INFO, SMTPSERVER
+log4j.logger.james.lmtpserver=INFO, LMTPSERVER
+log4j.logger.james.mailstore=INFO, MAILSTORE
+log4j.logger.james.usersrepository=INFO, USERSREPOSITORY
+log4j.logger.james.objectstorage=INFO, OBJECTSTORAGE
+log4j.logger.james.fetchmail=INFO, FETCHMAIL
+log4j.logger.james.domainlist=INFO, DOMAINLIST
+
+



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to