patrick o'leary created JAMES-1424:
--------------------------------------
Summary: Documentation bug in matcher & mailets
Key: JAMES-1424
URL: https://issues.apache.org/jira/browse/JAMES-1424
Project: JAMES Server
Issue Type: Bug
Components: Matchers/Mailets (bundled)
Affects Versions: 3.0-beta4
Environment: All
Reporter: patrick o'leary
Could someone update
http://james.apache.org/server/3/dev-extend-mailet.html
Section "Adding Your Mailet to the Classpath" is wrong.
remove
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 -->
<mailetpackages>
<mailetpackage>org.apache.james.transport.mailets</mailetpackage>
<mailetpackage>org.apache.james.transport.mailets.smime</mailetpackage>
<mailetpackage>your.costum.package.transport-mailets</mailetpackage>
</mailetpackages>
--- paste
The correct information is that mailetcontainer.xml is now mailetcontainer.conf
The mailetpackages entity is no longer required, the class attribute of mailets
and (I presume) matchers now takes a fully qualified class name
e.g.
<mailet match="All" class="com.your.company.MyMailet"/>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]