This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new da2219b360 JAMES-3791 Remote delivery pooling supports SMTPS
da2219b360 is described below

commit da2219b3609f2693ddbe42cf8d7a89eed16c19cd
Author: Karsten Otto <[email protected]>
AuthorDate: Mon Jul 25 13:45:42 2022 +0200

    JAMES-3791 Remote delivery pooling supports SMTPS
---
 .../james/transport/mailets/remote/delivery/MailDelivrerToHost.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MailDelivrerToHost.java
 
b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MailDelivrerToHost.java
index 184a8aeb3a..4f50680d35 100644
--- 
a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MailDelivrerToHost.java
+++ 
b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MailDelivrerToHost.java
@@ -159,7 +159,7 @@ public class MailDelivrerToHost {
     }
 
     private String inContext(Session session, String name) {
-        if (session.getProperties().containsKey("mail.smtps.ssl.enable")) {
+        if 
("true".equals(session.getProperties().getProperty("mail.smtps.ssl.enable"))) {
             return name.replace("smtp", "smtps");
         } else {
             return name;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to