chibenwa commented on code in PR #2460: URL: https://github.com/apache/james-project/pull/2460#discussion_r1880489326
########## server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MailDelivrerToHost.java: ########## @@ -131,6 +133,9 @@ public ExecutionResult tryDeliveryToHost(Mail mail, Collection<InternetAddress> transport = (SMTPTransport) session.getTransport(outgoingMailServer); transport.setLocalHost(props.getProperty(inContext(session, "mail.smtp.localhost"), configuration.getHeloNameProvider().getHeloName())); connect(outgoingMailServer, transport); + if (!transport.getLastServerResponse().contains("STARTTLS")) { Review Comment: Wasn;t reviwing latest diff, sorry -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org