You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by James List <ja...@olmeca.nl> on 2016/10/23 19:06:43 UTC
Remote delivery via SSL
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 rudi@yplein.nl <ma...@yplein.nl> for addresses [olmeca@me.com <ma...@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