Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SendMail port change 1

Status
Not open for further replies.

grnzbra

Programmer
Mar 12, 2002
1,273
US
I have developed an e-mail program that runs on my development machine. However, the production macine has been "hardened". I was told that "hardening" involves, among other things, closing ports. Is there any way to change the port that Send Mail task or SMTP Connection Manager uses, if I find that the normally used port is closed?
 
To my understanding, you will need to enable "Port Forwarding" on your routers to listen for items coming from the defined port and switching them to port 25 (SMTP standard port). Otherwise, you'll be able to send all day, but no one will hear you to receive the messages.

You may need to get with the network guys to find out more information about how they have their mail configured and what ports are used for SMTP email. If they've changed the standard port, then ideally they've already set everything else up and all you need to do is define the given port and run with no other adjustments.

And Correct me if I'm wrong, but if the port is closed, you can still send out, but not receive on that specific port. This may be what has been done on your production server. Again... more info is required.

--------------------------------------------------
Stubbornness is a virtue -- if you are right. --Chuck Noll
--------------------------------------------------
 
Thank you for the clarification. Unfortunately, no more info is available. We will not need to receive, only send once per week. We'll see what happens.

As of this morning, the "hardened" machine was up but now nothing works. >:-<
 
Ask your networking folks which of your internal hardened mail servers can be used to RELAY outbound SMTP mail from your application and what is the correct way to request adding your application and servers to the approved outbound senders.

This will be the more common practice in a hardened environment. In this type of installation there are specific servers configured to allow inbound/outbound monitored mail traffic and the administrators configure the SMTP client to ONLY Relay known (manually entered) mail sources from the internal network.

This "helps" prevent malicious software from sending email from desktops or other devices.

Thanks

John Fuhrman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top