Thanks Norman, I'll get this matcher tested in a day or so.

Meanwhile I've run into one more problem. It looks like that varioius regex
matchers are missing from the snapshot build. At least neither the
classloader nor me could find them :)

Could you get them back into the build? Or give me a clue of the right way
to get hold of them?..

Thanks and best regards,
Sergey


----- Original Message ----- From: "Norman" <[email protected]>
To: <[email protected]>
Sent: Friday, April 01, 2011 9:28 AM
Subject: Re: Boolean combination of matchers for a mailet


This feature is only supported in current trunk. It would be look like:

<!-- Start of config -->
<matcher name="anyname"
match="org.apache.james.mailetcontainer.lib.matcher.And">
<matcher match="SenderIs...."/>
<matcher match="SubjectStartsWith...."/>
</matcher>

<mailet match="anyname" class="MailetX"/>
<!-- End of config -->

Let me know if it work...

Bye,
Norman

Am 01.04.2011 04:40, schrieb USHAKOV, Sergey:
Hi all,

having turned to configurling mailets I have quickly run into an issue of
combining matchers for a mailet.

What would be the right approach to implement the logics: match all
messages with ("SenderIs=..."  AND "SubjectStartsWith=...") and supply
them to mailet X?

Thanks in advance and best regards,
Sergey


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to