Hi Anagha, I thought about a MatcherMessageHandler. This handler would take a standard james matcher configuration as an argument and an additional configuration could say how to reply based on the result of the matcher. E.g: <handler class="org.apache.james.smtpserver.MatcherMessageHandler"> <!-- reject the message if the sender is in fake domain --> <rule match="SenderInFakeDomain=64.55.105.9,64.94.110.11" reject="matchany" /> <!-- reject the message if match all the recipients: then only when the only recipient is [EMAIL PROTECTED] --> <rule match="[EMAIL PROTECTED]" reject="matchall" /> </handler>
What do you think? Could it be of any use? Would it be better to add a full "processor" configuration as a messagehandler? Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]