You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "TzeKai Lee (JIRA)" <se...@james.apache.org> on 2012/08/22 19:52:42 UTC

[jira] [Created] (JAMES-1434) Partial recipient matched mail is not processed by following matcher/mailet pair

TzeKai Lee created JAMES-1434:
---------------------------------

             Summary: Partial recipient matched mail is not processed by following matcher/mailet pair
                 Key: JAMES-1434
                 URL: https://issues.apache.org/jira/browse/JAMES-1434
             Project: JAMES Server
          Issue Type: Bug
          Components: SpoolManager & Processors
    Affects Versions: 3.0-beta5
            Reporter: TzeKai Lee


Using mailet container setting:
<mailet match="RecipientIs=test@localhost" class="LogMessage"/>
<mailet match="All" class="LogMessage">
    <passThrough>
        false
    </passThrough>
</mailet>
and SMTP command:
ehlo localhost
mail from: <fr...@localhost>
rcpt to: <te...@localhost>
rcpt to: <te...@localhost>
data

test

.
It was expected to receive 3 log messages but only 2 message received with different mail name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Updated] (JAMES-1434) Partial recipient matched mail is not processed by following matcher/mailet pair

Posted by "TzeKai Lee (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

TzeKai Lee updated JAMES-1434:
------------------------------

    Attachment: partial_match.patch

This patch should fix the problem
                
> Partial recipient matched mail is not processed by following matcher/mailet pair
> --------------------------------------------------------------------------------
>
>                 Key: JAMES-1434
>                 URL: https://issues.apache.org/jira/browse/JAMES-1434
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: SpoolManager & Processors
>    Affects Versions: 3.0-beta5
>            Reporter: TzeKai Lee
>         Attachments: partial_match.patch, routesDef.xml
>
>
> Using mailet container setting:
> <mailet match="RecipientIs=test@localhost" class="LogMessage"/>
> <mailet match="All" class="LogMessage">
>     <passThrough>
>         false
>     </passThrough>
> </mailet>
> and SMTP command:
> ehlo localhost
> mail from: <fr...@localhost>
> rcpt to: <te...@localhost>
> rcpt to: <te...@localhost>
> data
> test
> .
> It was expected to receive 3 log messages but only 2 message received with different mail name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Updated] (JAMES-1434) Partial recipient matched mail is not processed by following matcher/mailet pair

Posted by "TzeKai Lee (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

TzeKai Lee updated JAMES-1434:
------------------------------

    Attachment: routesDef.xml

The attachment is dumped using JMX operation dumpRoutesAsXml with Camel 2.10.0. 
In the definition, two split are in the same nesting level, but to my understanding of splitter in Camel, second split should be nested in first split so Camel will work as desired,  maybe there is a bug in route building code ?
                
> Partial recipient matched mail is not processed by following matcher/mailet pair
> --------------------------------------------------------------------------------
>
>                 Key: JAMES-1434
>                 URL: https://issues.apache.org/jira/browse/JAMES-1434
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: SpoolManager & Processors
>    Affects Versions: 3.0-beta5
>            Reporter: TzeKai Lee
>         Attachments: routesDef.xml
>
>
> Using mailet container setting:
> <mailet match="RecipientIs=test@localhost" class="LogMessage"/>
> <mailet match="All" class="LogMessage">
>     <passThrough>
>         false
>     </passThrough>
> </mailet>
> and SMTP command:
> ehlo localhost
> mail from: <fr...@localhost>
> rcpt to: <te...@localhost>
> rcpt to: <te...@localhost>
> data
> test
> .
> It was expected to receive 3 log messages but only 2 message received with different mail name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org