You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/03/18 05:42:40 UTC

[james-project] 04/07: JAMES-3509 ImapServer hello message contains a duplicated "Server" mention

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

btellier pushed a commit to annotated tag james-project-3.6.0
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit b9e0a121b163216063965ac614e6f19fd990aa05
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Sun Feb 28 22:42:51 2021 +0700

    JAMES-3509 ImapServer hello message contains a duplicated "Server" mention
    
    Example:
    
    ```
    % telnet imap.linagora.com 143
    Trying 51.83.109.124...
    Connected to imap.linagora.com.
    Escape character is '^]'.
    * OK JAMES IMAP4rev1 Server  Server 399752cb2fb2 is ready.
    ```
---
 .../src/main/java/org/apache/james/imapserver/netty/IMAPServer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServer.java b/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServer.java
index 55dfc61..3c7f8d5 100644
--- a/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServer.java
+++ b/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServer.java
@@ -94,7 +94,7 @@ public class IMAPServer extends AbstractConfigurableAsyncServer implements ImapC
         
         super.doConfigure(configuration);
         
-        hello = softwaretype + " Server " + getHelloName() + " is ready.";
+        hello = softwaretype + getHelloName() + " is ready.";
         compress = configuration.getBoolean("compress", false);
         maxLineLength = configuration.getInt("maxLineLength", DEFAULT_MAX_LINE_LENGTH);
         inMemorySizeLimit = configuration.getInt("inMemorySizeLimit", DEFAULT_IN_MEMORY_SIZE_LIMIT);


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org