Please Ignore my email. Server started. problem is with case sensitivity I used senderHostIs instead of SenderHostIs.
Thanks, Sai On Wed, Jul 27, 2011 at 3:15 PM, Saibabu Vallurupalli < [email protected]> wrote: > Hi Norman, Sorry to come back to you. Before sending this email I tried > various options before sending you this email, but nothing worked. I am sure > I am doing some simple config mistake. Please help me. > > I am getting the error below: > > ERROR 15:10:11,257 | james.mailprocessor | Unable to init matcher null: > org.apache.mailet.MailetException: Could not load matcher (senderHostIs); > nested exception is: > java.lang.ClassNotFoundException: > org.apache.james.transport.matchers.senderHostIs > org.apache.mailet.MailetException: Could not load matcher (senderHostIs); > > mailetcontainer.xml root processor has got below: > > <mailet notmatch="senderHostIs=mydomain.net" class="Bounce"> > <attachment>none</attachment> > </mailet> > > Thanks, > Sai > > > > On Wed, Jul 27, 2011 at 2:05 PM, Norman Maurer < > [email protected]> wrote: > >> in mailetcontainer.xml in the root processor. >> >> Bye, >> Norman >> >> >> 2011/7/27 Saibabu Vallurupalli <[email protected]>: >> > Hi Norman, Under which processor we need to do this? I mean which >> > configuration file and where? >> > >> > Thanks, Sai >> > >> > On Wed, Jul 27, 2011 at 1:49 PM, Norman Maurer < >> [email protected] >> >> wrote: >> > >> >> Yeah sure.. you can use something like this: >> >> >> >> <mailet notmatch="SenderHostIs=mydomain.net" class="Bounce"> >> >> ... >> >> ... >> >> </mailet> >> >> >> >> Bye, >> >> Norman >> >> >> >> >> >> 2011/7/27 Saibabu Vallurupalli <[email protected]>: >> >> > Hi Eric and Team, >> >> > >> >> > We finally decided to restrict emails to specific domain. i.e., we >> wanted >> >> to >> >> > have our organization users to exchange emails with in the same >> domain ( >> >> > mydomain.net) and any email sent to different domain should bounce >> back. >> >> Is >> >> > there away we can achieve this functionality. >> >> > >> >> > I greatly appreciate your help on this. >> >> > >> >> > Thanks, Sai >> >> > >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected] >> >> For additional commands, e-mail: [email protected] >> >> >> >> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >
