chibenwa commented on code in PR #2939:
URL: https://github.com/apache/james-project/pull/2939#discussion_r2803623214
##########
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:
CF https://github.com/apache/james-project/pull/2941
(Sorry)
--
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]