This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have one separate Email server in which I have to configure IP and PORT from my application server to send the mails. I am having 10 Java /J2EE application servers in which only one server is having mail server communication. Sending mails from that only one server is obviously no issue. But if my java application send mails from remaining servers, what is the methodology, any PORT forwarding or Load balancing concept is available? Experts please provide me the answer.
What is special about the one app server that it can do communicate with the mail server, but the others can't? Why couldn't all app servers contact the mail server? It seems a complication to come up with an app-server-to-app-server mail protocol, not to mention the impact on scalability and failover.
There is nothing special about one particular server, due to organizational security policy all the app servers shouldn't be opened to Email server communication, means 25 port will not be enabled except one server. So that I have asked this question.
So port 25 will be enabled on the single SMTP server so that the other servers can connect to it? That sounds reasonable enough to me. I don't understand why port 25 needs to be enabled on the other servers, since they wouldn't be acting as SMTP servers. They would be connecting to the single SMTP server to send e-mail, wouldn't they? Or have I misunderstood your description of the network architecture of your system?
Joined: Feb 01, 2011
For example, If A,B and C are my applications servers and all the applications running on these servers need to send mail so that it will connect to mail server using SMTP host and port. This is common method. But my requirement is all A,B and C servers will connect to server D and D only will have connectivity to mail server. In this situation, normally TCP/IP communication will be happening via Port forwarding. But here what could be the method? Thanks in advance...........