James repository mailets - Introduction

So far, a single mailet that supports Atlassian Crowd.

To use it,

  • download the mailet, download the dependencies.
  • unzip the dependencies and modify the crowd.properties
  • install the mailet, the crowd.properties and the dependencies inside JAMES_HOME/apps/jamess/SAR-INF/lib
  • make sure james will find the crowd.properties (verify that SAR-INF/classes is listed under the james startup classpath, inside SAR-INF/environment.xml)
      <classloaders default="default" version="1.0">
        <classloader name="default" parent="*system*">
          <entry location="./SAR-INF/classes" />
          <fileset dir="./SAR-INF/lib">
            <include name="*.jar" />
          </fileset>
        </classloader>
        <predefined name="*system*" />
      </classloaders>
  • configure james to use your mailet

    Add a mailetpackage

       <mailetpackages>
          [...]
          <mailetpackage>org.coffeebreaks.james.mailets.directory</mailetpackage>
       </mailetpackages>

    and add your mailet

        <mailet match="HostIsLocal" class="MapDirectoryMembersToEmails"/

Upcoming changes

with crowd 1.3, we hope to remove the need of using a crowd.properties file.