Re: SMTP and Port 25



HD wrote:
Hello,

We have many applications in Delphi 6 and 7 and when sending E-Mail, we use Indy's SMTP component. Lately we have had to unblocked port 25 on the Exchange server in order to make the applications work.
But now, a security consultant is telling us that Port 25 needs to be blocked again.

Can anyone give me a solution that would be relatively easy to implement on so many applications.

Thank you,

H. Dumas



You could put a SSH server on the exchange box and then add a SSH tunnel component and simply tunnel the port 25 traffic.

I have a example of using Synapse to create the tunnel right in a Delphi app. You can download it here: http://www.amsoftwaredesign.com/downloads/synapse_ssh_test.zip

By tunneling your security guy will be happy and you get full data encryption as well.

You could also use Putty's plink.exe and use a pipe via createprocess instead of the synapse solution.

--
Tony Caduto
AM Software Design
Home of Lightning Admin for PostgreSQL and MySQL
http://www.amsoftwaredesign.com
.



Relevant Pages

  • RE: Tunneling over ssh with termination by the FW
    ... I would use something like Putty (ssh client software) to open a secure ... tunnel with the firewall. ... If the firewall has the sshd running on port ...
    (SSH)
  • Re: Cannot telnet to port 25 from Windows 2003 SBS server to itself
    ... which is I cannot connect from the server on port 25 and send ... I am having this problem on two sbs installations I've done recently. ... those applications to send e-mail, ... Connecting To localhost...Could not open connection to the host, ...
    (microsoft.public.windows.server.sbs)
  • Re: reverse ssh
    ... > logged into either box) can use the tunnel for whatever connects to it. ... > I suggest you connnect back to your home system's 'sshd' port and then you ... > will have to satisfy the home box's login authorization to get access ... > password from your script. ...
    (freebsd-questions)
  • Re: VNC Through WinSSHD
    ... But you NEED to know the port ... >> number for establishing the tunnel. ... When starting the local vnc viewer, you must enter the "remote" host ... For the remote end of the tunnel you specify either the real name or the ...
    (comp.security.ssh)
  • Re: vnc over ssh
    ... > So the following line would set up the tunnel to VNC the remote machine ... am sitting in front of will now forward information from port ... unencrypted and ready for the vncServer to respond. ... Nick Williams:) ...
    (comp.security.ssh)