> Well, I didn't know about that one.  I just checked
> http://james.apache.org/provided_matchers_2_1.html and didn't see that one
> listed.  Is this new for the next version of James?
> 
It has been added in v2.2.0a3.

> Anyways, I'll take a guess that RecipientIsRegex will return only those
> recipients which match a certain regular expression.  The
> WildcardAddressMatcher not only uses a regular expression for 
> matching, but
> will replace the 'user' portion of a MailAddress with the first RegEx
> matchign group.  This allows me to have 
> '[EMAIL PROTECTED]'
> be delivered to '[EMAIL PROTECTED]' when I give it the RegEx in the
> condition of '([^-]+)-' (which is applied to the user portion of the
> MailAddress).

Very good.

But a mailet would be more appropriate, as per convention a matcher should never 
modify a Mail object.

Bye,

Vincenzo


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

Reply via email to