Thanks. For some reason, I'm only able to get netlet to work using JRE1.4.2_05 and below. with JES 2004/Q2. After all the netlet rules are loaded properly, when trying to connect to the mail server, the java console shows:
Netlet got connection on port: 143 from port:1259 to gateway:abc.gatewayserver.ca on port:443
Socket DoConn tcpNoDelay exception: java.net.ConnectException:
connect:> Address is invalid on local machine, or port is not valid on remote machine
Socket DoConn tcpNoDelay exception: java.net.ConnectException:
connect:
Address is invalid on local machine, or port is not valid on remote machine
Socket DoConn tcpNoDelay exception: java.net.ConnectException:
connect:
Address is invalid on local machine, or port is not valid on remote machine
java.lang.NullPointerException
at NL46.<init>(NL46)
at NL04.e(NL04)
at NL04.run(NL04)
at java.lang.Thread.run(Unknown Source)