Hi Guys, I'm configuring my James server to do the following. I have a domain mydomain.org where I've installed James for a forum type website I'm creating. What I want is functionality for mail forwarding where I will have thousands of users that do posts. On those posts, I display their mydomain email address such as [EMAIL PROTECTED] This is a generated address that maps to their actual address such as [EMAIL PROTECTED] I've configured my James server to use JDBC Aliasing so that when somebody sends an email to [EMAIL PROTECTED], it will be forwarded to [EMAIL PROTECTED] However, I had to disable the smtp security feature as well as the relay denied security feature (to prevent the relay-denied 550 error).
My question is how do I know secure my James server such that it doesn't get used as an open relay server for spam, but still keep this functionality intact. What I'm looking for is being able to accept all incoming mail from anybody only as long as they are sending to something like [EMAIL PROTECTED] Otherwise, I want it to only be used as an open relay smtp server from localhost where my application will send mail using javamail, using the james server as an smtp server. What is the best way to configure James to do this? Any suggestions would be greatly appreciated. Thanks, Amarish
