chibenwa commented on code in PR #2939:
URL: https://github.com/apache/james-project/pull/2939#discussion_r2803607093


##########
server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/SenderAuthIdentifyVerificationHook.java:
##########
@@ -74,10 +74,14 @@ public SenderAuthIdentifyVerificationHook(DomainList 
domains, UsersRepository us
     @Override
     public HookResult doCheck(SMTPSession session, MaybeSender sender) {
         ExtendedSMTPSession nSession = (ExtendedSMTPSession) session;
-        if (nSession.verifyIdentity() == 
SMTPConfiguration.SenderVerificationMode.STRICT) {
+        if (!session.isRelayingAllowed() && 
!nSession.senderVerificationConfiguration().allowUnauthenticatedSender()) {

Review Comment:
   No I have some local work adapting this that apparently is not shared in the 
right place.
   I will make sure this is adressed timely.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to