Hi Serhii,

The current mailet implementation does not support any EL (Expression Language). It's about a simple equality.

If you want such functionality now, you can implement your own SubjectStartsNotWith matcher. It's about a few lines of code based on https://svn.apache.org/repos/asf/james/mailet/standard/trunk/src/main/java/org/apache/james/transport/matchers/SubjectStartsWith.java

Thx,

Eric

On 25/10/11 17:23, Serhii Nesteruk wrote:
Hi there!

I have small question about matcher: is it possible to exclude some mails
from mailet matchers?
For example I would like to receive all mails but with subject
"VeryBadSubject". Is it correct to write something like this:
<mailet match="SubjectStartWith != VeryBadSubject" class="LogMessage">

or:
<mailet match !="SubjectStartWith=VeryBadSubject" class="LogMessage">

Thanks,
   Serhii


--
Eric
http://about.echarles.net

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

Reply via email to