Yes Norman, many thanks. I've checked - it works for me... :)

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