danny 02/02/27 14:11:00
Modified: www FAQ.html
src/xdocs FAQ.xml
Log:
something disappeared .. :-(
Revision Changes Path
1.4 +12 -8 jakarta-james/www/FAQ.html
Index: FAQ.html
===================================================================
RCS file: /home/cvs/jakarta-james/www/FAQ.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- FAQ.html 27 Feb 2002 21:57:20 -0000 1.3
+++ FAQ.html 27 Feb 2002 22:11:00 -0000 1.4
@@ -184,7 +184,8 @@
<tr>
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
<td bgcolor="#ffffff"><pre>
-<mailet match="CommandForListserv=james@localhost"
class="AvalonListservManager">
+<mailet match="CommandForListserv=james@localhost"
+ class="AvalonListservManager">
<repositoryName>list-james</repositoryName>
</mailet>
</pre></td>
@@ -215,11 +216,11 @@
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
<td bgcolor="#ffffff"><pre>
<mailet match="RecipientIs=james@localhost"
class="AvalonListserv">
- <membersonly> false </membersonly>
- <attachmentsallowed> true </attachmentsallowed>
- <replytolist> true </replytolist>
- <repositoryName>list-james</repositoryName>
- <subjectprefix>JamesList</subjectprefix>
+ <membersonly> false </membersonly>
+ <attachmentsallowed> true </attachmentsallowed>
+ <replytolist> true </replytolist>
+ <repositoryName>list-james</repositoryName>
+ <subjectprefix>JamesList</subjectprefix>
</mailet>
</pre></td>
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
@@ -243,7 +244,9 @@
<tr>
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
<td bgcolor="#ffffff"><pre>
-<repository name="list-james"
class="org.apache.james.userrepository.ListUsersJdbcRepository"
destinationURL="db://maildb/lists/list-james">
+<repository name="list-james"
+ class="org.apache.james.userrepository.ListUsersJdbcRepository"
+ destinationURL="db://maildb/lists/list-james">
<sqlFile>file://conf/sqlResources.xml</sqlFile>
</repository>
</pre></td>
@@ -268,7 +271,8 @@
<tr>
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
<td bgcolor="#ffffff"><pre>
-<repository name="list-james"
class="org.apache.james.userrepository.UsersFileRepository">
+<repository name="list-james"
+ class="org.apache.james.userrepository.UsersFileRepository">
<destination URL="file://var/lists/list-james/"/>
</repository>
</pre></td>
1.5 +14 -3 jakarta-james/src/xdocs/FAQ.xml
Index: FAQ.xml
===================================================================
RCS file: /home/cvs/jakarta-james/src/xdocs/FAQ.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- FAQ.xml 27 Feb 2002 21:57:20 -0000 1.4
+++ FAQ.xml 27 Feb 2002 22:11:00 -0000 1.5
@@ -30,7 +30,8 @@
<p>James currently (v2.0a2) includes only the most basic list functionality,
users can subscribe and unsubscribe, but there is no moderation of messages or
subscriptions</p>
<p>To enable a list you need the following in config.xml in the root processor
block and above the final mailet block -</p>
<source>
-<mailet match="CommandForListserv=james@localhost"
class="AvalonListservManager">
+<mailet match="CommandForListserv=james@localhost"
+ class="AvalonListservManager">
<repositoryName>list-james</repositoryName>
</mailet>
</source>
@@ -42,18 +43,28 @@
</p>
<p>and-</p>
<source>
+<mailet match="RecipientIs=james@localhost" class="AvalonListserv">
+ <membersonly> false </membersonly>
+ <attachmentsallowed> true </attachmentsallowed>
+ <replytolist> true </replytolist>
+ <repositoryName>list-james</repositoryName>
+ <subjectprefix>JamesList</subjectprefix>
+</mailet>
</source>
<p>Which will distribute the mail to the current subscribers</p>
<p>in addition to the above you need to have a repository configured in the
users-store block(usually near the bottom of config.xml) like so (database)-</p>
<source>
-<repository name="list-james"
class="org.apache.james.userrepository.ListUsersJdbcRepository"
destinationURL="db://maildb/lists/list-james">
+<repository name="list-james"
+ class="org.apache.james.userrepository.ListUsersJdbcRepository"
+ destinationURL="db://maildb/lists/list-james">
<sqlFile>file://conf/sqlResources.xml</sqlFile>
</repository>
</source>
<p>Database users will also need to ensure that they have configured a
data-source named to match the destination URL</p>
<p>Using the filesystem:-</p>
<source>
-<repository name="list-james"
class="org.apache.james.userrepository.UsersFileRepository">
+<repository name="list-james"
+ class="org.apache.james.userrepository.UsersFileRepository">
<destination URL="file://var/lists/list-james/"/>
</repository>
</source>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>