Hi Rudi, I think it is the same question as here: http://www.mail-archive.com/server-dev@james.apache.org/msg48897.html
Port 465 is only for directly configured connections. The SMTP Standard always uses Port 25 (and may use STARTTLS as described). Best regards Bernd Waibel -----Ursprüngliche Nachricht----- Von: James List [mailto:james-l...@olmeca.nl] Gesendet: Sonntag, 23. Oktober 2016 21:07 An: server-user@james.apache.org Betreff: 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 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 --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org