noel 2003/08/28 09:34:15
Modified: src/conf Tag: branch_2_1_fcs james-config.xml
Log:
Added configuration entry for the mbox format repository.
Revision Changes Path
No revision
No revision
1.40.2.16 +22 -1 james-server/src/conf/james-config.xml
Index: james-config.xml
===================================================================
RCS file: /home/cvs/james-server/src/conf/james-config.xml,v
retrieving revision 1.40.2.15
retrieving revision 1.40.2.16
diff -u -r1.40.2.15 -r1.40.2.16
--- james-config.xml 24 Jul 2003 01:45:58 -0000 1.40.2.15
+++ james-config.xml 28 Aug 2003 16:34:15 -0000 1.40.2.16
@@ -84,6 +84,17 @@
</inboxRepository>
-->
+ <!-- Alternative inbox repository definition for mbox use. -->
+ <!-- This method uses UNIX standard mbox files and is meant for people using
mbox files -->
+ <!-- with systems such as mail list archive displayers -->
+ <!-- Note that dot-locking is not currently supported -->
+ <!-- so network (write) accesses may cause mbox corruption -->
+ <!-- the sample mbox URL is an absolute URL; mbox:///var/mail will put the
users mbox files in /var/mail/-->
+ <!--
+ <inboxRepository>
+ <repository destinationURL="mbox:///var/mail/" type="MAIL"/>
+ </inboxRepository>
+ -->
</James>
<!-- Fetch pop block, fetches mail from POP3 servers and inserts it into the
incoming spool -->
@@ -683,6 +694,16 @@
<filestore>file://var/dbmail</filestore>
<maxcache>1000</maxcache>
</config>
+ </repository>
+
+ <!-- The mbox repository is designed for MAIL only; SPOOL performance
would be less than ideal-->
+ <repository class="org.apache.james.mailrepository.MBoxMailRepository">
+ <protocols>
+ <protocol>mbox</protocol>
+ </protocols>
+ <types>
+ <type>MAIL</type>
+ </types>
</repository>
</repositories>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]