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

commit 568c0d07a0739cb3712b25786cef711f3a6a4d98
Author: Benoit Tellier <[email protected]>
AuthorDate: Mon Dec 6 17:39:41 2021 +0700

    JAMES-3680 Remove a misleading log
---
 .../src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git 
a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
 
b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
index dd0c0f9..440c30a 100644
--- 
a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
+++ 
b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
@@ -169,12 +169,6 @@ public class SMTPServer extends 
AbstractProtocolAsyncServer implements SMTPServe
                 .map(AuthenticationAnnounceMode::parse)
                 .orElseGet(() -> 
AuthenticationAnnounceMode.parseFallback(configuration.getString("authRequired",
 "false")));
 
-            if (authRequired != NEVER) {
-                LOGGER.info("This SMTP server requires authentication.");
-            } else {
-                LOGGER.info("This SMTP server does not require 
authentication.");
-            }
-
             authorizedAddresses = 
configuration.getString("authorizedAddresses", null);
 
             // get the message size limit from the conf file and multiply

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

Reply via email to