comparison xml/en/docs/mail/ngx_mail_smtp_module.xml @ 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 237a10fb98d2
children 48004177276d
comparison
equal deleted inserted replaced
2102:d7f34859645b 2103:3d2c4bb34e82
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_mail_smtp_module" 10 <module name="Module ngx_mail_smtp_module"
11 link="/en/docs/mail/ngx_mail_smtp_module.html" 11 link="/en/docs/mail/ngx_mail_smtp_module.html"
12 lang="en" 12 lang="en"
13 rev="5"> 13 rev="6">
14 14
15 <section id="directives" name="Directives"> 15 <section id="directives" name="Directives">
16 16
17 <directive name="smtp_auth"> 17 <directive name="smtp_auth">
18 <syntax><value>method</value> ...</syntax> 18 <syntax><value>method</value> ...</syntax>
88 <link url="http://www.iana.org/assignments/mail-parameters">www.iana.org</link>. 88 <link url="http://www.iana.org/assignments/mail-parameters">www.iana.org</link>.
89 </para> 89 </para>
90 90
91 </directive> 91 </directive>
92 92
93
94 <directive name="smtp_client_buffer">
95 <syntax><value>size</value></syntax>
96 <default>4k|8k</default>
97 <context>mail</context>
98 <context>server</context>
99
100 <para>
101 Sets the <value>size</value> of the buffer used for reading SMTP commands.
102 By default, the buffer size is equal to one memory page.
103 This is either 4K or 8K, depending on a platform.
104 </para>
105
106 </directive>
107
108
109 <directive name="smtp_greeting_delay">
110 <syntax><value>time</value></syntax>
111 <default>0</default>
112 <context>mail</context>
113 <context>server</context>
114
115 <para>
116 Allows setting a delay before sending an SMTP greeting
117 in order to reject clients who fail to wait for the greeting before
118 sending SMTP commands.
119 </para>
120
121 </directive>
122
93 </section> 123 </section>
94 124
95 </module> 125 </module>