Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Port Forwarding on SMTP

 
Ponnusamy Gov
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks,

Pons.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ponnusamy Gov
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.

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.

Pons.
 
Paul Clapham
Sheriff
Posts: 21137
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ponnusamy Gov
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...........

Ponnusamy G
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic