2012/8/22 Tze-Kei Lee <[email protected]>:
> Hi,
>
> I assumed that when the matcher only matched partial recipients, james
> will split original mail into 2 mail with different recipients which
> are then processed by following matcher/mailet separately, is this
> correct ?
>
> Because I tested nightly building(20120821.114148) using following settings :
> <mailet match="RecipientIs=test@localhost" class="LogMessage"/>
> <mailet match="All" class="LogMessage">
>     <passThrough>
>         false
>     </passThrough>
> </mailet>
> with SMTP commands:
> ehlo localhost
> mail from: <from@localhost>
> rcpt to: <test@localhost>
> rcpt to: <test1@localhost>
> data
>
> test
>
> .
> And was expecting 3 log messages (1 from first pair, 2 from second),
> but there were only 2 log message with different mail name.

Yes, you should receive 3 log messages.

> Did i misunderstand matcher concept or configured mailets incorrectly ?

Probably you are hitting a James bug. I thought we already identified
this bug (introduced in the 3.x tree) and reported it but I can't find
it in the issue tracker (my memory is really bad).
You should file an issue here: http://issues.apache.org/jira/browse/JAMES

Stefano

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

Reply via email to