Mercurial > hg > nginx-site
changeset 2722:1261698ec228
Documented the max_errors directive for mail.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 17 May 2021 12:30:21 +0100 |
parents | 7041bddec07d |
children | 61a89c4f37cf |
files | xml/en/docs/mail/ngx_mail_core_module.xml xml/ru/docs/mail/ngx_mail_core_module.xml |
diffstat | 2 files changed, 30 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="17"> + rev="18"> <section id="summary"> @@ -245,6 +245,20 @@ are specified. </directive> +<directive name="max_errors"> +<syntax><value>number</value></syntax> +<default>5</default> +<context>mail</context> +<context>server</context> +<appeared-in>1.21.0</appeared-in> + +<para> +Sets the number of protocol errors after which the connection is closed. +</para> + +</directive> + + <directive name="protocol"> <syntax> <literal>imap</literal> |
--- 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="17"> + rev="18"> <section id="summary"> @@ -249,6 +249,20 @@ FreeBSD 9.0-STABLE) </directive> +<directive name="max_errors"> +<syntax><value>число</value></syntax> +<default>5</default> +<context>mail</context> +<context>server</context> +<appeared-in>1.21.0</appeared-in> + +<para> +Задаёт число ошибок протокола, по достижении которого соединение закрывается. +</para> + +</directive> + + <directive name="protocol"> <syntax> <literal>imap</literal> |