chibenwa commented on code in PR #2494: URL: https://github.com/apache/james-project/pull/2494#discussion_r1837568203
########## server/apps/memory-app/src/test/resources/mailetcontainer.xml: ########## @@ -52,6 +52,22 @@ </mailet> </processor> + <!-- Dummy processor to test chaining composite matchers--> + <processor state="dummy" enableJmx="false"> + <matcher name="relay-allowed" match="org.apache.james.mailetcontainer.impl.matchers.Or"> + <matcher match="SMTPAuthSuccessful"/> + <matcher match="SMTPIsAuthNetwork"/> + <matcher match="SentByMailet"/> + <matcher match="org.apache.james.jmap.mailet.SentByJmap"/> + </matcher> + <matcher name="chaining-matcher" match="org.apache.james.mailetcontainer.impl.matchers.Not"> + <matcher match="relay-allowed"/> + </matcher> + <matcher name="chaining-not-matcher" match="org.apache.james.mailetcontainer.impl.matchers.Not"> + <matcher notmatch="relay-allowed"/> + </matcher> + <mailet notmatch="chaining-not-matcher" class="org.apache.james.transport.mailets.debug.Counter"/> Review Comment: Let's document `notmatch` into `docs/modules/servers/partials/configure/mailetcontainer.adoc` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org