changeset 3069:d4639ff91e10

Documented max_commands in mail module.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 01 Apr 2024 04:08:07 +0300
parents 5a0725cb366b
children 619538194516
files xml/en/docs/mail/ngx_mail_core_module.xml xml/ru/docs/mail/ngx_mail_core_module.xml
diffstat 2 files changed, 34 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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>
--- 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>