Hi,
We don't have a SOCKS proxy server and we need to you want to use JavaMail to access mail servers outside the firewall.
So I am trying to use CONNECT program to tunnel TCP connections through an HTTP proxy server.
I have executed the connect command from command line as below and it was success.
/slot/ems6724/appmgr/skandepu/connect -d -H <proxyServer>:<port> <mailServer> <port>
But how to integrate javamail with CONNECT program.I have updated the ~/.ssh/config file as below.
Host *
ProxyCommandconnect -H <proxyServer>:<port> %h %p
But I am again getting the same error "java.net.NoRouteToHostException: No route to host" when running program to connect to mail server.
How do I run connect server and how can I configure my program uses CONNECT to access mail server.
Please provide details.