It needs to go into the james.sar file (which is a jar/zip file anyway). But I just put it in the SAR-INF/lib directory next to james.jar
And then you just add as many matchers as you like to config.xml inside the <spoolmanager>:


<matcherpackages>
<matcherpackage>org.apache.james.transport.matchers</matcherpackage>
<matcherpackage>...</matcherpackage>
<matcherpackage>...</matcherpackage>
<matcherpackage>...</matcherpackage>
</matcherpackages>



J Rollo --Admin wrote:


I was thinking of doing the same thing.  I grabbed the source and made a
jar. But I was not sure where to put the jar.  Where did you place the jar
when you "included that jar in the config"?

thanks.
----- Original Message -----
From: "Jason Lea" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Sunday, March 14, 2004 1:43 AM
Subject: Re: Problem with AttachmentFileNameIs matcher




It does work with the current build.  I downloaded the source for it
from CVS and whipped up a quick project in Eclipse.  Built it, made a
jar and included that jar in config.  Works fine, while I wait for the
next release.

J Rollo --Admin wrote:



thanks for clearing that up.
the docs lead one to believe AttachmentFileNameIs is available to 2.1.3

I'll grab the latest test build.
----- Original Message -----
From: "Noel J. Bergman" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Saturday, March 13, 2004 12:26 PM
Subject: RE: Problem with AttachmentFileNameIs matcher






I'm running 2.1.3




That would be the problem, as illustrated by:





org.apache.mailet.MailetException: Could not load matcher




(AttachmentFileNameIs);

AttachmentFileNameIs is a new matcher present only in the test builds.

--- Noel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------
Support Open Source,
Demand Quality Software

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Jason Lea



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------
Support Open Source,
Demand Quality Software

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Jason Lea



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to