[nginx-site] Documented max_commands in mail module.

Maxim Dounin mdounin at mdounin.ru
Tue Apr 2 01:05:19 UTC 2024


details:   http://freenginx.org/hg/nginx-site/rev/d4639ff91e10
branches:  
changeset: 3069:d4639ff91e10
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Mon Apr 01 04:08:07 2024 +0300
description:
Documented max_commands in mail module.

diffstat:

 xml/en/docs/mail/ngx_mail_core_module.xml |  18 +++++++++++++++++-
 xml/ru/docs/mail/ngx_mail_core_module.xml |  18 +++++++++++++++++-
 2 files changed, 34 insertions(+), 2 deletions(-)

diffs (70 lines):

diff --git a/xml/en/docs/mail/ngx_mail_core_module.xml b/xml/en/docs/mail/ngx_mail_core_module.xml
--- a/xml/en/docs/mail/ngx_mail_core_module.xml
+++ b/xml/en/docs/mail/ngx_mail_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_mail_core_module"
         link="/en/docs/mail/ngx_mail_core_module.html"
         lang="en"
-        rev="22">
+        rev="23">
 
 <section id="summary">
 
@@ -247,6 +247,22 @@ are specified.
 </directive>
 
 
+<directive name="max_commands">
+<syntax><value>number</value></syntax>
+<default>1000</default>
+<context>mail</context>
+<context>server</context>
+<appeared-in>1.25.5</appeared-in>
+
+<para>
+Sets the maximum number of commands allowed during authentication.
+If the limit is reached and proxying to the backend is not started yet,
+the connection is closed.
+</para>
+
+</directive>
+
+
 <directive name="max_errors">
 <syntax><value>number</value></syntax>
 <default>5</default>
diff --git a/xml/ru/docs/mail/ngx_mail_core_module.xml b/xml/ru/docs/mail/ngx_mail_core_module.xml
--- a/xml/ru/docs/mail/ngx_mail_core_module.xml
+++ b/xml/ru/docs/mail/ngx_mail_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_mail_core_module"
         link="/ru/docs/mail/ngx_mail_core_module.html"
         lang="ru"
-        rev="22">
+        rev="23">
 
 <section id="summary">
 
@@ -251,6 +251,22 @@ FreeBSD 9.0-STABLE)
 </directive>
 
 
+<directive name="max_commands">
+<syntax><value>число</value></syntax>
+<default>1000</default>
+<context>mail</context>
+<context>server</context>
+<appeared-in>1.25.5</appeared-in>
+
+<para>
+Задаёт максимальное количество команд, допускаемое в процессе аутентификации.
+Если ограничение достигнуто, а проксирование на бэкенд не началось,
+соединение закрывается.
+</para>
+
+</directive>
+
+
 <directive name="max_errors">
 <syntax><value>число</value></syntax>
 <default>5</default>


More information about the nginx-devel mailing list