Mercurial > hg > nginx-site
changeset 2103:3d2c4bb34e82
Documented smtp_client_buffer and smtp_greeting_delay directives.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 13 Feb 2018 13:47:35 +0300 |
parents | d7f34859645b |
children | c2e3884f1a9c |
files | xml/en/docs/mail/ngx_mail_smtp_module.xml xml/ru/docs/mail/ngx_mail_smtp_module.xml |
diffstat | 2 files changed, 62 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/mail/ngx_mail_smtp_module.xml Tue Feb 13 13:47:06 2018 +0300 +++ b/xml/en/docs/mail/ngx_mail_smtp_module.xml Tue Feb 13 13:47:35 2018 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_mail_smtp_module" link="/en/docs/mail/ngx_mail_smtp_module.html" lang="en" - rev="5"> + rev="6"> <section id="directives" name="Directives"> @@ -90,6 +90,36 @@ </directive> + +<directive name="smtp_client_buffer"> +<syntax><value>size</value></syntax> +<default>4k|8k</default> +<context>mail</context> +<context>server</context> + +<para> +Sets the <value>size</value> of the buffer used for reading SMTP commands. +By default, the buffer size is equal to one memory page. +This is either 4K or 8K, depending on a platform. +</para> + +</directive> + + +<directive name="smtp_greeting_delay"> +<syntax><value>time</value></syntax> +<default>0</default> +<context>mail</context> +<context>server</context> + +<para> +Allows setting a delay before sending an SMTP greeting +in order to reject clients who fail to wait for the greeting before +sending SMTP commands. +</para> + +</directive> + </section> </module>
--- a/xml/ru/docs/mail/ngx_mail_smtp_module.xml Tue Feb 13 13:47:06 2018 +0300 +++ b/xml/ru/docs/mail/ngx_mail_smtp_module.xml Tue Feb 13 13:47:35 2018 +0300 @@ -10,7 +10,7 @@ <module name="Модуль ngx_mail_smtp_module" link="/ru/docs/mail/ngx_mail_smtp_module.html" lang="ru" - rev="5"> + rev="6"> <section id="directives" name="Директивы"> @@ -91,6 +91,36 @@ </directive> + +<directive name="smtp_client_buffer"> +<syntax><value>размер</value></syntax> +<default>4k|8k</default> +<context>mail</context> +<context>server</context> + +<para> +Задаёт <value>размер</value> буфера для чтения SMTP-команд. +По умолчанию размер одного буфера равен размеру страницы. +В зависимости от платформы это или 4K, или 8K. +</para> + +</directive> + + +<directive name="smtp_greeting_delay"> +<syntax><value>время</value></syntax> +<default>0</default> +<context>mail</context> +<context>server</context> + +<para> +Позволяет задать задержку перед отправкой SMTP-приветствия, +чтобы отклонить клиентов, не дожидающихся приветствия до +начала отправки SMTP-команд. +</para> + +</directive> + </section> </module>