james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick o'leary" <pj...@pjaol.com>
Subject bad documentation bug
Date Tue, 10 Jul 2012 03:48:36 GMT
Could someone update

Section "Adding Your Mailet to the Classpath" is wrong.

1a & 1b

1c. is ok Jars can be placed in the james/conf/lib directory
or james/bin/setenv.sh can be updated, where CLASSPATH_PREFIX can be
pointed to your jar files.

And remove
--- copy
2. After this is done get sure you add the mailet package to the
mailetcontainer.xml. For example:

<!-- Set the Java packages from which to load mailets and matchers -->

--- paste

The correct information is that mailetcontainer.xml is now
The mailetpackages entity is no longer required, the class attribute of
mailets and (I presume) matchers now takes a fully qualified class name
<mailet match="All" class="com.your.company.MyMailet"/>

If you want I can create Jira requests for it, a bug in the documentation
is worth 2 in the code.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message