chibenwa commented on code in PR #1501:
URL: https://github.com/apache/james-project/pull/1501#discussion_r1173278941
##########
server/apps/distributed-app/docs/modules/ROOT/pages/configure/smtp-hooks.adoc:
##########
@@ -301,4 +301,21 @@ Example configuration:
<!-- ... -->
<handler
class="org.apache.james.smtpserver.fastfail.ValidSenderDomainHandler"/>
</handlerchain>
+....
+
+== FUTURERELEASE hooks
+
+The Distributed server has optional support for FUTURERELEASE
(link:https://www.rfc-editor.org/rfc/rfc4865.html[RFC-4865])
+
+....
+<smtpserver enabled="true">
+ <...> <!-- The rest of your SMTP configuration, unchanged -->
+ <handlerchain>
+ <handlerchain>
+ <handler
class="org.apache.james.smtpserver.futurerelease.FutureReleaseEHLOHook"/>
+ <handler
class="org.apache.james.smtpserver.futurerelease.FutureReleaseMailParameterHook"/>
+ <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
+ </handlerchain>
+ </handlerchain>
+</smtpserver>
Review Comment:
```suggestion
<...> <!-- The rest of your SMTP configuration, unchanged -->
<handlerchain>
<handler
class="org.apache.james.smtpserver.futurerelease.FutureReleaseEHLOHook"/>
<handler
class="org.apache.james.smtpserver.futurerelease.FutureReleaseMailParameterHook"/>
<handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
</handlerchain>
</smtpserver>
```
--
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]