That has nothing todo with Javamail at all. Its just a "feature" they provide. You could easily write your own Matcher for that..
Bye, Norman 2009/10/16 TearsOfAllah <pawan_arora1...@yahoo.com>: > > > > Norman Maurer-3 wrote: >> >> Hi, >> >> you can't do it dynamicly from javamail. Javamail has nothing todo >> with detecting spam. >> >> Bye, >> Norman >> >> >> 2009/10/15 TearsOfAllah <pawan_arora1...@yahoo.com>: >>> >>> >>> >>> Stefano Bagnara-2 wrote: >>>> >>>> 2009/10/9 TearsOfAllah <pawan_arora1...@yahoo.com>: >>>>> >>>>> So what do I have to do in James to mark all the messages of email >>>>> address >>>>> like, r...@localhost as spam in spam folder? >>>> >>>> Sorry, I don't understand the question. >>>> If you want to put email from r...@localhost in a special repository >>>> named spam then you can use the ToRepository mailet with the >>>> IsRecipient matcher. >>>> Otherwise please explain what you think "spam folder" is and what >>>> program it is related to. >>>> >>>> Stefano >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>>> For additional commands, e-mail: server-user-h...@james.apache.org >>>> >>>> >>>> >>> >>> Now I understood how to set meesages as spam in spam folder for >>> r...@localhost. But I still don't understand how can I do this dynamically >>> from Javamail? If I set any email-address as spam, how can I enable James >>> to >>> move rest of the messages from that email address in spam folder. How >>> James >>> gonna do this without restarting? >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/configuration-problem-in-sending-spam-messages-tp25757038p25904361.html >>> Sent from the James - Users mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>> For additional commands, e-mail: server-user-h...@james.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >> For additional commands, e-mail: server-user-h...@james.apache.org >> >> >> > > So how if I set any message of any email address in mail application like > yahoo as spam, how they make it move rest of the messages of that email > address in spam folder without restarting their server. > > -- > View this message in context: > http://www.nabble.com/configuration-problem-in-sending-spam-messages-tp25757038p25931578.html > Sent from the James - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org > For additional commands, e-mail: server-user-h...@james.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org