You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2022/07/27 09:30:21 UTC

[james-project] branch 3.7.x updated: JAMES-3791 Remote delivery pooling supports SMTPS

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

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


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

commit e93b01572c50b5e6c402e4d1f706df922e1a4073
Author: Karsten Otto <ka...@akquinet.de>
AuthorDate: Mon Jul 25 13:45:42 2022 +0200

    JAMES-3791 Remote delivery pooling supports SMTPS
    
    (cherry picked from commit da2219b3609f2693ddbe42cf8d7a89eed16c19cd)
---
 .../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: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org