You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "patrick o'leary (JIRA)" <se...@james.apache.org> on 2012/07/10 21:48:33 UTC

[jira] [Created] (JAMES-1424) Documentation bug in matcher & mailets

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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Closed] (JAMES-1424) Documentation bug in matcher & mailets

Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles closed JAMES-1424.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta5
         Assignee: Eric Charles

Doc deployed according to patrick o'leary.
Thx a bunch Patrick,
Eric
                
> 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
>            Assignee: Eric Charles
>             Fix For: 3.0-beta5
>
>
> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org