Hi, I’m trying to setup James to only use SSL when connecting to other SMTP 
servers. To this end I have added the following configuration to the 
mailetconfiguration of the RemoteDelivery mailet.


          <sslEnable>true</sslEnable>
          <mail.smtp.port>465</mail.smtp.port>
          <mail.debug>true</mail.debug>
          
<mail.smtp.socketFactory.class>javax.net.ssl.SSLSocketFactory</mail.smtp.socketFactory.class>

But when attempting remote delivery the server uses port 25. I am puzzled. Any 
clues anyone?
(PS. my server has an SSL certificate installed).

INFO  00:09:08,197 | james.mailetcontext | Attempting delivery of 
Mail1476623937182-626a1d36-e920-47be-88ee-2c7c8ece79ad-to-me.com 
<http://mail1476623937182-626a1d36-e920-47be-88ee-2c7c8ece79ad-to-me.com/> to 
host mx5.mail.icloud.com <http://mx5.mail.icloud.com/>. at 17.172.34.68 from 
r...@yplein.nl <mailto:r...@yplein.nl> for addresses [olm...@me.com 
<mailto:olm...@me.com>]
ERROR 00:10:08,256 | james.mailetcontext | Could not connect to SMTP host: 
17.172.34.68, port: 25
java.net.SocketTimeoutException: connect timed out


Rudi

Reply via email to